×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Macro for reorder the product graph tree

Macro for reorder the product graph tree

Macro for reorder the product graph tree

(OP)
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

RE: Macro for reorder the product graph tree

(OP)
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

RE: Macro for reorder the product graph tree

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

RE: Macro for reorder the product graph tree

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources