-
Re: How to create a list of all subassemblies, parts, and toolbox items using API?
Deepak Gupta Jun 15, 2017 12:43 PM (in response to Marco Wu)Assembly Visualization OR Assembly BOM would get you the list.
-
Re: How to create a list of all subassemblies, parts, and toolbox items using API?
Marco Wu Jun 15, 2017 1:08 PM (in response to Deepak Gupta)Hi Deepak,
Thanks for your reply. I actually want to create an API to sort tree in specific order and then put those items into folder accordingly. If you see the attached pictures, I have a few folders in the tree and I need sort item based on their vendor/part no/(assembly or part), etc.
I tried the Assembly Visualization, it sorted the item, but it does not have a way to sort the actual tree and put them into the folder.
That's why I want to create a kind of array in API to store the item information, sort the item and then put them into the folder.
Marco
-
Capture2.PNG 23.4 KB
-
Capture.PNG 9.7 KB
-
Re: How to create a list of all subassemblies, parts, and toolbox items using API?
Matt Peneguy Jun 15, 2017 2:18 PM (in response to Marco Wu)I don't know your situation, but if you have too many parts to do this manually in your feature tree, you may want to look at breaking that assembly into subassemblies. Performance really suffers if you have too many mates in an assembly.
Just a bit of advice from someone who made a mess of an assembly with around 9000 parts. You don't want to deal with that animal.
-
-