Continue to Site

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!

Macro for reorder the product graph tree

Status
Not open for further replies.

Paulizx

Mechanical
Jun 21, 2013
5
IT
Hi all,
I'm trying to do a macro to reorder in alphabetical order the graph tree.
Could you help me to do this macro, I want reorder the graph tree in alphabetical order in function of istance name of parts.

Thanks in advance

Paul
 
Replies continue below

Recommended for you

Hi,
yes I have seen on search, but I haven't found the macro to automatic reorder of graph tree.
I have searched also in your CATIA Portable Script Center, but there are a macro in VBA where you can reorder the tree, but manually with graphic interface.
I want to do a macro only to move the component position on the tree with alphabetical order criterion.

Thanks

Regards,
Paolo

 
Paolo,

if you have the script to access tree, then with a bit more code, you can reorder. If we give you the script you don't learn much. If you try then you'll learn.

Do you know about VBA? Did you try to change the code to your needs?

Eric N.
indocti discant et ament meminisse periti
 
Ok,
You are right, I will try in catscript because i don't know VBA. If I can do something I will post.
Thank you for support in advance
Paolo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top