Hi,
I have created a script to export the names of Geometric Sets and Bodies in the specification tree from a CATPart to a text file. Unfortunately, because of the mix of the 2 CATScript types (Bodies and HybridBodies) I have to export first the names of all of the Geometric Sets/Hybrid Bodies and then the names of the Part Bodies.
Ideally, I would like to export so that the order of the names in the text file matches the order in the CATPart but I can't find a property to identify where an object is located in the tree (first, second, third, etc.)
Does such a property exist?
Thanks,
Jeff
I have created a script to export the names of Geometric Sets and Bodies in the specification tree from a CATPart to a text file. Unfortunately, because of the mix of the 2 CATScript types (Bodies and HybridBodies) I have to export first the names of all of the Geometric Sets/Hybrid Bodies and then the names of the Part Bodies.
Ideally, I would like to export so that the order of the names in the text file matches the order in the CATPart but I can't find a property to identify where an object is located in the tree (first, second, third, etc.)
Does such a property exist?
Thanks,
Jeff