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
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
Did you searched the forum for such kind of code?
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Macro for reorder the product graph tree
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
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?
indocti discant et ament meminisse periti
RE: Macro for reorder the product graph tree
Eric is right, try to do something and post your code here to see if we can help if you have problems.
Regards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Macro for reorder the product graph tree
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