Function ProMacroExecute
Description
Executes a macro from within a Creo Parametric TOOLKIT application, and returns the control back to Creo Parametric TOOLKIT. It executes the macros previously loaded using the function
ProMacroLoad().
Note that this function is not supported for the following situations and tasks
Activating windows or setting the current model
Erasing the current model
Completing dialog commands ending with an "OK" button press. It will cancel some dialogs after showing them.
Executing macros during a trail file replay.
Replacement in Object TOOLKIT: | |
Synopsis
Returns
| The function successfully loaded the command sequence. |
| The specified macro is not valid. |