API 설명서 > Creo Parametric fundamentals > Object ProMdl > Callback ProMdlStartAction
Callback ProMdlStartAction
DEPRECATED:
Since Creo 10.0
SUPERSEDED BY:
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>
(*ProMdlStartAction)
(
ProName name
/* (In)
The name of the new model entered by the user on the New dialog.
*/
/* (In)
The type of the new model
*/
/* (In)
The subtype of the new model
*/
)
Returns
The Creo Parametric TOOLKIT callback successfully created the new model.
Creo Parametric should use the regular user interface for defining the model.
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.
User Guide References
도움이 되셨나요?