Category Dimensions, Object ProDim

Callback ProDimModifyValuePreAction


Description
This is the notification function called before a dimension value is modified in Creo Parametric. If the user supplied function returns anything other than PRO_TK_NO_ERROR, the value will NOT be modified by Creo Parametric. This function is to be supplied by the user by calling ProNotificationSet() with the type PRO_DIM_MODIFY_VALUE_PRE.
Synopsis
#include <ProDimension.h>
ProError(*ProDimModifyValuePreAction)(
ProDimension* dimension
/* (In)
The dimension about to be modified.
*/
)
Returns
PRO_TK_NO_ERROR/PRO_TK_GENERAL_ERROR

Manual References:

  1. Event-driven Programming: Notifications: Model and Feature Modification Events