API 文档 > Miscellaneous > Object ProModel > Callback ProModelFileOpenOKAction
Callback ProModelFileOpenOKAction
Description
This is the notification function called after the new file has been successfully selected in Creo Parametric.
This function is to be supplied by the user by calling ProNotificationSet() with the notify type PRO_MODEL_FILE_OPEN_OK.
Synopsis
#include <ProNotify.h>
(*ProModelFileOpenOKAction)
(
ProMdlType mdl_type
/* (In)
The model type (PRO_PART, PRO_ASSEMBLY, and so on)
*/
ProMdlsubtype sub_type
/* (In)
The model subtype
*/
ProMdlName model_name
/* (In)
The model name
*/
)
Returns
The user specifications are valid. Proceed with model creation.
Other
The user specifications are invalid. Do not exit the dialog.
User Guide References
这对您有帮助吗?