Documentación de la API > Miscellaneous > Object ProModel > Callback ProModelSavePreAction
Callback ProModelSavePreAction
Description
This is the notification function called before saving a model.
Users must supply this function by calling ProNotificationSet() with the notify type PRO_MODEL_SAVE_PRE. If the model name is initialized by this function, the saving utility will not interactively prompt for the model name to be saved.
If this function returns an error, the saving action will be aborted by Creo Parametric.
Synopsis
#include <ProMdl.h>
(*ProModelSavePreAction)
(
ProPath r_model_path
/* (Out)
The user-supplied function should initialize this variable to the path to the model to be saved. If it is not initialized, the system prompts for the model path interactively.
*/
)
Returns
Successful exit from this function.
Other
An error was encountered. Model saving will be stopped.
See Also
User Guide References
¿Fue esto útil?