Message 1 of 2

Not applicable
10-06-2016
07:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I'd like to use the iProperty of a part (or an assembly) referenced in a drawing.
But, I need to do that for all opened drawing in Inventor. I tried this, but "doc.ModelDocument" seems not to work...
Dim doc As Document Dim model As Document For Each doc In ThisApplication.Documents If doc.DocumentType = kDrawingDocumentObject Then model = doc.ModelDocument model.PropertySets.Item("Inventor User Defined Properties").Item("Size A").Value = 30 End If Next
Solved! Go to Solution.