- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @Lars_Greft. No, you can not do much at all with a suppressed assembly component, other than check the component's name. If you need to read or write to the iProperties of the document which that component represents, you may have to access that document directly through the main assembly's ReferencedDocuments (top level document references only), or its AllReferencedDocuments (all document references from all levels of the assembly), instead of through the component. To do so, you could loop through each oRefDoc As Document In ThisAssembly.AllReferencedDocuments, for example, then use the oRefDoc variable's properties to access its iProperties.
You can either get to its iProperties using API route:
oRefDoc.PropertySets.Item("Inventor Summary Information").Item("Keywords").Value
or extract the document's file name (without path, but with file extension) to use as the first input variable in the iProperties.Value(docName, setName, propname) method.
Wesley Crihfield
(Not an Autodesk Employee)