Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey
Is there a way to check if a part is at top level or in a sub assembly? I need to process any part in the top level assembly that is not in a sub assembly, and only process those directly at top level, ignoring any part in a sub assembly. Im currently using
Dim oRefDocs As DocumentsEnumerator = CurrDoc.AllReferencedDocuments
For Each oRefDoc As Inventor.Document In oRefDocs
'do my things here
Next
,
Thanks
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Solved! Go to Solution.