Category Creo Parametric fundamentals, Object ProFile

Callback ProFileOpenOKAction


DEPRECATED: Since Creo 10.0
SUPERSEDED BY: ProModelFileOpenOKAction
Description
Note: This function is deprecated. Use ProModelFileOpenOKAction instead. 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_FILE_OPEN_OK.

Synopsis
#include <ProNotify.h>
ProError(*ProFileOpenOKAction)(
ProMdlType mdl_type
/* (In)
The model type (PRO_PART, PRO_ASSEMBLY, and so on)
*/
int sub_type
/* (In)
The model subtype
*/
ProName 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. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Technical Summary of Changes for Creo 11.0.0.0: Notification Functions