Category Creo Parametric fundamentals, Object ProMdl

Callback ProMdlPurgePreAction


DEPRECATED: Since Creo 10.0
SUPERSEDED BY: ProModelPurgePreAction
Description
Note: This function is deprecated. Use ProModelPurgePreAction instead. This is the notification function called before purging a model.

Users must supply this function by calling ProNotificationSet() with the notify type PRO_MDL_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>
ProError(*ProMdlPurgePreAction)(
ProModel* 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.
*/
)
Returns
PRO_TK_NO_ERRORSuccessful exit from this function.
OtherAn error was encountered. Model purging will be stopped.
See Also
ProNotificationSet

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Technical Summary of Changes for Creo 11.0.0.0: Notification Functions