Documentação da API > Miscellaneous > Object ProModel > Callback ProModelRetrievePreAction
Callback ProModelRetrievePreAction
Description
This is the notification function called before retrieving a model.
Users must supply this function by calling ProNotificationSet() with the notify type PRO_MODEL_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>
(*ProModelRetrievePreAction)
(
ProPath path
/* (Out)
Specify the full path to the model file to be retrieved. This must be a valid path that includes the filename, extension, and version of the model.Do not use this argument if you do not want the Creo Parametric Toolkit application to retrieve any model.
*/
ProFileRetrieveOpt** p_retr_options_arr
/* (Out)
ProArray that contains the options to retrieve the model. The Creo Parametric Toolkit application should allocate the memory for the retrieval options.
*/
)
Returns
The Toolkit application will send a request to Creo Parametric to retrieve the model specified by the arguments.
Other
Creo Parametric will not retrieve the model.
See Also
User Guide References
Isto foi útil?