Documentation de l'API > Miscellaneous > Object ProModel > Callback ProModelPurgePreAction
Callback ProModelPurgePreAction
Description
This is the notification function called before purging a model.
Users must supply this function by calling ProNotificationSet() with the notify type PRO_MODEL_PURGE_PRE.
If the model name is initialized by this function, the purging utility will not interactively prompt for the model name to be purged.
If this function returns an error, the purging action will be aborted by Creo Parametric.
Synopsis
#include <ProMdl.h>
(*ProModelPurgePreAction)
(
ProMdlName r_model_name
/* (Out)
The user-supplied function should initialize this variable to the model name to be purged. If this is not initialized, the system prompts for the model name interactively.
*/
/* (Out)
The model type extension
*/
)
Returns
Successful exit from this function.
Other
An error was encountered. Model purging will be stopped.
See Also
User Guide References
Est-ce que cela a été utile ?