Can anybody help???
Does anybody know how to change an "IPT" files iProperty "Material" with a VBA macro?
If I have created a part (ipt) file, the iProperties "material" is set to "Default"
How can I change the material to say...."GOLD" (Example Only!!!) using a AutoDesk Inventor VBA macro?
Many thanks in advance!!!!
Please see the code lines below -
Sub test()Dim oPartDoc As PartDocumentSet oPartDoc = ThisApplication.ActiveDocument
oPartDoc.ComponentDefinition.Material = oPartDoc.Materials("Gold")
Hope it helpful for you!
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.