I want to get all the top level components/solids present in drawing file. I have tried to get it using below code but it gives all components but I am interested in top level. If you see the attached image I want only 3 componets
but I get all componets i.e.
3. RIGHT_WHEEL - (TOYCAR_WHEEL)
4. LEFT_WHEEL - (TOYCAR_WHEEL)
Please help me in getting top level componets present in drawing.
Output should be as Required Output image...
Sample program on the Solution Center:
If my link doesn't work, search for nx_api3114. The example is called "report all immediate component names whether open or not".