How do I traverse the elements of a custom content center library?

How do I traverse the elements of a custom content center library?

JBEDsol
Collaborator Collaborator
316 Views
0 Replies
Message 1 of 1

How do I traverse the elements of a custom content center library?

JBEDsol
Collaborator
Collaborator

 

So I came across this sample code which will help me tremendously in creating up an error checking drawing.   It puts a copy of every element in a library into an Assembly.  What I need to do is traverse all the elements of a custom library and repeat the operation.

 

https://help.autodesk.com/view/INVNTOR/2020/ENU/?guid=GUID-57915C88-FF59-4ED6-9A67-47E55DD62639

 

In using this code I'd need to find the tree node of every item in the library.  While that would still be quicker I'd have to redo the operation a few hundred times.  So how can I get a collection of all the items in a library so I can repeat this code for each item in the library?  

0 Likes
317 Views
0 Replies
Replies (0)