Function ProMacroLoad
Description
Loads a sequence of Creo Parametric commands. A command sequence is placed on the stack and is executed once control returns to Creo Parametric.
The sequence correctness is the user's responsibility; it is not guaranteed that a sequence will be valid from one revision of Creo Parametric to another. It may be possible that a certain macro cannot be executed because a command specified in the macro is currently inaccessible in the menus (dimmed).
This function only uses the "original" menu item name in a command sequence. The alternate item name, if present, is not recognized by this function.
Synopsis
| ProMacroLoad |
| ( /* (In) A wide string representation of the command macro */ ) |
Returns
| The function successfully loaded the command sequence. |
| A general error occurred and the function failed. |
Sample Code References
User Guide References