Category Creo Parametric fundamentals, Object ProMdl

Callback ProMdlStartAction


DEPRECATED: Since Creo 10.0
SUPERSEDED BY: ProModelStartAction
Description
Note: This function is deprecated. Use ProModelStartAction instead. 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_ERRORThe Creo Parametric TOOLKIT callback successfully created the new model.
PRO_TK_CONTINUECreo Parametric should use the regular user interface for defining the model.
PRO_TK_USER_ABORTThe user quit from the interaction controlled by the callback. The File New command will terminate.
OtherSome other error prevented the Creo Parametric TOOLKIT application from creating the model. The File New command will be teminated.

Manual References:

  1. Core: Models and Model Items: Creating Models
  2. Technical Summary of Changes for Creo 11.0.0.0: Notification Functions