Category Parameters and relations, Object ProParameter

Callback ProParameterCreateWithUnitsPreAction


Description
This is the notification function called before a parameter is created.

This function is to be supplied by the user by calling ProNotificationSet() with the notify type PRO_PARAM_CREATE_W_UNITS_PRE.

Synopsis
#include <ProParameter.h>
ProError(*ProParameterCreateWithUnitsPreAction)(
ProModelitem* param_owner
/* (In)
The model item handle of the parameter owner
*/
ProName param_name
/* (In)
The name of the parameter to be created
*/
ProUnititem* units
/* (In)
The units of the value to be set
*/
ProParamvalue* param_value
/* (In)
The value of this parameter
*/
)
Returns
PRO_TK_NO_ERRORProceed with parameter creation.
OtherError encountered. Abort parameter creation.
See Also
ProNotificationSet

Manual References:

  1. Event-driven Programming: Notifications: Model and Feature Modification Events
  2. Core: Parameters: Notification Functions
  3. Core: Parameters: Notification Functions