run mapkey... not valid
Hey
if I try to execute the following macro (clicking the "Switch Dimensions"-Button in Tools ribbon):
ProMacroLoad(L"~ Command `ProCmdInfoSwitchDims` ;");
ProMacroExecute();
I get "PRO_TK_NOT_VALID" - The specified macro is not valid as error. But I don't understand why?
Am I violating any of those four restrictions??
Note that this function is not supported for the following situations and tasks
1.Activating windows or setting the current model
2.Erasing the current model
3.Completing dialog commands ending with an "OK" button press. It will cancel some dialogs after showing them.
4.Executing macros during a trail file replay.
Best regards
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

