Object ProModel

Callback ProModelSavePreAllAction


Description
This is the notification function called before saving each model.

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

If this function returns an error, the saving action will be aborted by Creo Parametric for this model. This is called for kinds of user actions (Save A Copy, Checkin) which do NOT call ProModelSavePreAction. May be called more than once due to conflict resolution.

Synopsis
#include <ProMdl.h>
ProError(*ProModelSavePreAllAction)(
ProMdl p_mdl
/* (In)
The model being saved.
*/
)
Returns
PRO_TK_NO_ERRORSuccessful exit from this function.
OtherAn error was encountered. Model saving will be stopped.
See Also
ProNotificationSet

Manual References:

  1. Event-driven Programming: Notifications: File Management Events