Get bodies in components
Get bodies in components
(OP)
Is there a way to get bodies in a component directly?I want to get a list that holds all the boides in an assembly in it.
My current solution is to walk through the entire assembly and set each compoent as workpart and use workPart.Bodies.This is not convenient if been operated in a large assembly.Changing workpart this quick makes my computer "lag"-i dont know if this word is proper.I want to find a better way to solve this.
I use .net but any suggestion would help,thanks
My current solution is to walk through the entire assembly and set each compoent as workpart and use workPart.Bodies.This is not convenient if been operated in a large assembly.Changing workpart this quick makes my computer "lag"-i dont know if this word is proper.I want to find a better way to solve this.
I use .net but any suggestion would help,thanks





RE: Get bodies in components
Tty getallchildren function from the
Above link.
It used cycle object in part may be is fastest.
RE: Get bodies in components
I never encounter a large assembly in my hand.
Please if you try it tell me the outcome.
Thank you.