Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graph Tree Reorder in Product/Assembly

SKimi

Mechanical
Feb 27, 2020
30
Hello, I am trying to write a method to reorder the graph tree in CATIA using CAA & VBA, (using .idl) So is there any way someone can tell me from where to begin with. I already check the existing tool "Graph Tree Reodering" but i don't find any help from it to build my own api/method. Any leads would help.
 
Replies continue below

Recommended for you

Hello, I am trying to write a method to reorder the graph tree in CATIA using CAA & VBA, (using .idl) So is there any way someone can tell me from where to begin with. I already check the existing tool "Graph Tree Reodering" but i don't find any help from it to build my own api/method. Any leads would help.
Hello @SKimi, Any luck with this? Even I am trying to figure out if there is a way to do the same. Been looking at CATIDescendants and checking can something be done.
 
CATIDescendants::ChangePosition works fine with features inside CATPart, but not with products inside CATProduct.
There's a specific interface for reordering products, unfortunately it's not a part of CAA client's installation.

Another option is to automate reodering via "Reorder Tree" command with WinAPI. Works pretty reliable.
 
Yes, unfortunately CATIDescendants did not add any help for me. May be using WinAPI is better option.
 

Part and Inventory Search

Sponsor