Documentazione API > Miscellaneous > Object ProModel > Callback ProModelRenamePreAction
Callback ProModelRenamePreAction
Description
This is the notification function called before renaming a model.
Users must supply this function by calling ProNotificationSet() with the notify type PRO_MODEL_RENAME_PRE.
If the function does not supply the model to be renamed (r_from) and the model file name to be renamed to (r_to), the system prompts interactively for this information.
If this function returns an error, the renaming action will be aborted by Creo Parametric.
Synopsis
#include <ProMdl.h>
(*ProModelRenamePreAction)
(
ProMdl* r_from
/* (Out)
The model to be renamed
*/
/* (Out)
The new name of the model
*/
)
Returns
Successful exit, proceed.
Other
An internal error was encountered, so the rename action will be stopped.
See Also
User Guide References
È stato utile?