CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 3469

CAD tip CAD tip # 12451:

Question CAD 
 %  platform  category 
Q - question

How to fill a material or appearance name into part's iProperties?

A - answer You can directly use appearance and material name also in the BOM. But if you need to fill in these properties as custom iProperties, you can use the following simple iLogic macro:

iProperties.Value("Custom","myMaterial") = ThisDoc.Document.ActiveMaterial.DisplayName
iProperties.Value("Custom", "myAppearance") = ThisDoc.Document.ActiveAppearance.DisplayName
100% *  CAD 
27.12.2019    3088×  
Prices - CAD eShop:
applies to: Inventor ·

See also:
Tip 13536:iLogic: How to find if a document is a sheet metal part and if it contains holes?
Tip 13211:Automatic numbering/renaming of multi-volume bodies in a part.
Tip 13197:How to transfer a model or sketch parameter to iProperties?
Tip 12644:How to identify parts and assemblies imported from STEP/IGES?
Tip 12432:Parse/replace Inventor iProperties using regular expressions.

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Automatic nesting of 2D parts on rectangular sheets in AutoCAD
AutoNEST 2008 More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.