| Description |
| Type for callback function for notification option PRO_MDL_START. The function is called after the user selects OK on the New dialog, if the option "Use default template" is unselected, and the notification has been defined by a call to ProNotificationSet(). The callback replaces Creo Parametric's interaction by which the user selects the start-part and defines its parameters. |
| Synopsis |
| #include <ProMdl.h> |
| ProError | (*ProMdlStartAction) | ( |
| ProName name | |
| /*
(In) |
| The name of the new model entered by the user on the New dialog. |
| */ |
| ProMdlType type | |
| /*
(In) |
| The type of the new model |
| */ |
| ProMdlsubtype subtype | |
| /*
(In) |
| The subtype of the new model |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The Creo Parametric TOOLKIT callback successfully created the new model. |
| PRO_TK_CONTINUE | | Creo Parametric should use the regular user interface for defining the model. |
| PRO_TK_USER_ABORT | | The user quit from the interaction controlled by the callback. The File New command will terminate. |
| Other | | Some other error prevented the Creo Parametric TOOLKIT application from creating the model. The File New command will be teminated. |
|