Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATIA V5 - CATScript - Identify Order of Geometric Sets and Bodies in CATPart 1

Status
Not open for further replies.

jmarkus

Mechanical
Joined
Jul 11, 2001
Messages
377
Location
CA
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
 
Thanks Ferdo!

I tried it and it worked!

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top