Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Jul 11, 2001
377
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
 
Replies continue below

Recommended for you

Thanks Ferdo!

I tried it and it worked!

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top