Category Creo Parametric fundamentals, Object ProMdl

Callback ProMdlRetrievePreAction


DEPRECATED: Since Creo 3.0
SUPERSEDED BY: ProModelRetrievePreAction
Description
Note: This function is deprecated. Use ProModelRetrievePreAction instead. This is the notification function called before retrieving a model.

Users must supply this function by calling ProNotificationSet() with the notify type PRO_MDL_RETRIEVE_PRE.

NOTE: This function is not called on retrieval of models using drag or double click in browser window. It gets called only when user clicks File -> Open button.

Warning: This notification blocks Creo Parametric's standard file open dialog. It is developer's responsibility to substitute it with his own dialog through this function.

Synopsis
#include <ProMdl.h>
ProError(*ProMdlRetrievePreAction)(
ProPath path
/* (Out)
The full path to the file
*/
ProFileName file_name
/* (Out)
The complete file name (name + extension + version)
*/
ProFileRetrieveOpt** p_retr_options_arr
/* (Out)
The retrieval options
*/
)
Returns
Return values are not interpreted by Creo Parametric.
See Also
ProNotificationSet

Manual References:

  1. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Event-driven Programming: Notifications: File Management Events
  3. Technical Summary of Changes for Creo 4.0 F000: Support for Notification Events and Callback Functions