The OnNewParameter event notifies the client when a new parameter is created.
Name | Type | Description |
DocumentObject | Document | The Document object the parameter is contained within. |
Parameter | Parameter | The Parameter object that has just been created. When the BeforeOrAfter argument is kBefore, the value of this argument is Nothing since the Parameter does not yet exist. |
BeforeOrAfter | EventTimingEnum | Input EventTimingEnum indicating when the event is being fired. Notification is sent before and after the parameter has been created. Generally, you should only perform query operations in Inventor when the value of this argument is kBefore. Inventor is not in a state to correctly handle edit operations after that point. |
Context | NameValueMap | Input NameValueMap object that can be used to determine the context of why the event fired. No context information is provided for this event. |
HandlingCode | HandlingCodeEnum | Output HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event. |