Category Creo Parametric fundamentals, Object ProMdl

Callback ProMdlErasePreAction


Description
This is the notification function called before erasing a model.

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

If this function returns an error, the erasing action will be aborted by Creo Parametric.

Synopsis
#include <ProMdl.h>
ProError(*ProMdlErasePreAction)(void)
Returns
PRO_TK_NO_ERRORSuccessful exit from this function.
OtherAn error was encountered. Model erasing will be stopped.
See Also
ProNotificationSet

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Event-driven Programming: Notifications: File Management Events