CATIA Command ID
CATIA Command ID
(OP)
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!
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!





RE: CATIA Command ID
Be aware that some commands are not even in Commands List Panel, see case of FrmActivate . It's not what you need but might be helpful in some cases. Did you test separate the behavior of CATIA data just with StartCommand and not mixed with another code?
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU
RE: CATIA Command ID
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU
RE: CATIA Command ID
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
RE: CATIA Command ID
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU
RE: CATIA Command ID
RE: CATIA Command ID
RE: CATIA Command ID
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU