Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Ciao,
I would like to change Material selection via VBA code.
I did even in iLogic and it works, code is :
[...]
iProperties.Material = "TestMaterial"
[...]
In VBA i did:
[...]
ThisApplication.ActiveDocument.PropertySets.Item("Design Tracking Properties").Item("Material").Value = "TestMaterial"
[...]
In VBA i have no material change for the part.
I did the same for Custom iProperties and it works:
ThisApplication.ActiveDocument.PropertySets.Item("Inventor User Defined Properties").Item("InternalCode").Value = "TestCode"
Can you help me? Any tips?
Thanks.
Solved! Go to Solution.