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


eBook - Integrating the Engineering Ecosystem
Aras Innovator provides multiple options for integrating data between systems, depending on the scenario. Utilizing the right approach to meet specific business requirements is vital. These needs range from authoring tools, federating data from various and dissimilar databases, and triggering processes and workflows. Download Now
White Paper - Industry 4.0 and the Future of Engineering Education
With industries becoming more automated, more tech-driven and more complex, engineers need to keep their skills and knowledge up to date in order to stay on top of this wave—and to be prepared for the Industry 4.0 future. The University of Cincinnati offers two online Master of Engineering degree programs designed specifically for practicing engineers. Download Now
White Paper - Comparing Multi-Patterning at 5nm: SADP, SAQP, and SALELE
Self-aligned multi-patterning techniques such as SADP, SAQP, and SALELE are increasingly popular at advanced nodes, but each process has its pros and cons. IMEC and Mentor, a Siemens business collaborated to identify potentially less-obvious process and design limitations and trade-offs between the three SAMP techniques. Learn more in this paper. 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