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


Product reordering in CATIA V5 VBA

Product reordering in CATIA V5 VBA

Product reordering in CATIA V5 VBA

Hello all,
if you have already tried to find a way how to reorder specification tree in CATIA V5 VBA, you know that it is almost impossible. Functions for reordering of CATIA tree has not yet been exposed to CATIA API. There are a few tools available on the internet and maybe you already use some of them. If you want to know how they work, you may find your answer here:


http://scripts4all.eu/txtoncurve/ - Text along a curve for Catia V5

RE: Product reordering in CATIA V5 VBA

Thanks Tesak, I did not know this way to interact with windows... Learned something today :)

a full code version is available from weagan22 is here

for COE member, my (humble) presentation about win API is here


Eric N.
indocti discant et ament meminisse periti

RE: Product reordering in CATIA V5 VBA

Hi All

I have downloaded the exe from weagan22 link
and checked I have the .dll linked in CATIA V5 R21 but I get an error message
Failed to run graph tree reordering command

I have also Extracted the full Project Code but only have CATIA Internal VBA and this
does not load the Forms etc....

Can you help - as this is such a needed utility

RE: Product reordering in CATIA V5 VBA

People are still looking for this, huh? That was some garbage code I wrote back then; first thing I ever programmed, haha.

RE: Product reordering in CATIA V5 VBA

Although I do have English V5 R21 I also get an error running the exe 😣

RE: Product reordering in CATIA V5 VBA

That code was written for R25. They changed the name of the reorder tool command slightly (not sure exactly the change as I don't have R21) I think it was something like "Graph tree Reorder" to "Graph tree reordering" which I think is why you are getting the error. The code isn't running the reorder tool in CATIA and thus isn't finding the reorder window that opens.

RE: Product reordering in CATIA V5 VBA

Thanks for the explanation

RE: Product reordering in CATIA V5 VBA

I modified the code line
CATIA.StartCommand("Graph tree Reordering")
to have Capital Letter 'R' on the word Reordering and the exe now works smile

RE: Product reordering in CATIA V5 VBA


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! Already a Member? Login


White Paper – Data Security and Know-How Protection
Our data is constantly exposed to the danger of being intercepted or stolen as it wends its way over global data networks. Data security measures and measures for protecting intellectual property should not, however, first be implemented when data is exchanged – companies must lay the foundation for these measures within their own organization. Download Now
White Paper – Collaboration in the PLM Context
The influence exerted by the Internet of Things (IoT) means that there is a steadily growing need for collaboration in industry. Partners from new industries and areas of application need to be integrated in cross-company business processes to ensure that the lifecycle of smart, connected products can be managed from end to end. Download Now
White Paper – The Challenges of PLM Collaboration
There is cross-company collaboration - and then there is cross-company collaboration. Large-scale corporations and joint ventures need different mechanisms to protect intellectual property from those required for communication between different company locations with heterogeneous IT landscapes. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close