Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
j.pavlicek
in reply to: j.pavlicek

 

@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 Doc

And it's output in an empty Assembly with linked parameter

jpavlicek_0-1640075719642.png

 

 



Inventor 2022, Windows 10 Pro
Sorry for bad English.