12-21-2021
12:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-21-2021
12:35 AM
@WCrihfield Are you sure that AssemblyDocument.ReferencedDocuments set is equal to (component documents) set?
Because when I create an empty Assembly (with no components) and link some parameter from external file, this file document is returned in AssemblyDocument.ReferencedDocuments although it is not definitely a component!
Consider this code:
Dim AsDoc As AssemblyDocument = ThisDoc.Document
For Each Doc In AsDoc.ReferencedDocuments
Logger.Info(Doc.DisplayName)
Next DocAnd it's output in an empty Assembly with linked parameter
Inventor 2022, Windows 10 Pro
Sorry for bad English.