Category Creo Parametric fundamentals, Object ProMdl

Callback ProMdlRenamePreAction


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

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

If the function does not supply the model to be renamed (r_from) and the model 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>
ProError(*ProMdlRenamePreAction)(
ProModel* r_from
/* (Out)
The model to be renamed
*/
ProModel* r_to
/* (Out)
The new name of the model
*/
)
Returns
PRO_TK_NO_ERRORSuccessful exit, proceed.
OtherAn internal error was encountered, so the rename action will be stopped.
See Also
ProNotificationSet

Manual References:

  1. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Technical Summary of Changes for Creo 4.0 F000: Support for Notification Events and Callback Functions