×
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

Product reordering in CATIA V5 VBA
4

Product reordering in CATIA V5 VBA

Product reordering in CATIA V5 VBA

(OP)
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/graph-tree-reordering-vba/


Tesak
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

enjoy

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

Sweet!

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

eBook - Efficient and Effective Production Support with 3D Printed Jigs and Fixtures
Jigs and fixtures offer manufacturers a reliable process for delivering accurate, high-quality outcomes, whether for a specific part or feature, or for consistency across multiples of parts. Although the methodologies and materials for producing jigs and fixtures have evolved beyond the conventional metal tooling of years past, their position as a manufacturing staple remains constant due to the benefits they offer. Download Now
Overcoming Cutting Tool Challenges in Aerospace Machining
Aerospace manufacturing has always been on the cutting edge, from materials to production techniques. However, these two aspects of aerospace machining can conflict, as manufacturers strive to maintain machining efficiency with new materials by using new methods and cutting tools. 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