Object ProModel

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>
ProError(*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
PRO_TK_NO_ERRORThe user specifications are valid. Proceed with model creation.
OtherThe user specifications are invalid. Do not exit the dialog.

Manual References:

  1. Event-driven Programming: Notifications: File Management Events
  2. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  3. Technical Summary of Changes for Creo 11.0.0.0: Notification Functions