Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

CATIA Command ID

Status
Not open for further replies.

xxlluuoo33556622

Electrical
Apr 6, 2017
4
US
Hello Guys,
I have some macros which contains Catia.StartCommand "xxx", "xxx"="Expand Selection" or "xxx"="Graph tree Reordering" or "xxx"="Open in New Window". However all of a sudden when macro comes to these line of code, Catia seems getting into endless loop, like dead.
Did some search, found that for "Expand Selection", the Catia command ID is "SpecificationsLevelSelect". So change Catia.StartCommand "Expand Selection" to Catia.StartCommand "SpecificationsLevelSelect", all works fine again.
Hope you understand the description. so 2 questions here:
1) Why the English command "Expand Selection" or the like doesn't work suddenly (no change to my computer, system, Catia version )?
2) Anybody can share a list of the Catia command ID, if not complete, at least for "Graph tree Reordering","Open in New Window"? I have to use them in my macro

Thanks in advance!
 
Replies continue below

Recommended for you

Hello Ferdo,

Thanks for your quick feedback.

1. "Open in New Window" = "OpenInNewWnd" truly solve the issue, works fine now.
2. Yes tested before.A single line of "Catia.StartCommand "XXX" can't work.
3. Is there the similar for "Graph tree Reordering"

Regards,
Louis
 
Yes it was strange enough ---why it worked but all of a sudden it doesn't anymore.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top