The OnParameterChange event notifies the client when a parameter is changed.
Name | Type | Description |
DocumentObject | Document | The Document object the parameter is contained within. |
Parameter | Parameter | The Parameter object that is being changed. |
BeforeOrAfter | EventTimingEnum | Input EventTimingEnum indicating when the event is being fired. Notification is sent before and after the value of the parameter is changed. Using the kBefore timing you can examine the parameter to determine its state before the change is applied and then compare it to the state when the timing is kAfter. |
Context | NameValueMap | Input NameValueMap object that can be used to determine the context of why the event fired. When BeforeOrAfter is kBefore one of the following values is provided depending on what information associated with the parameter is changing:
|
HandlingCode | HandlingCodeEnum | Output HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event. |