ApplicationEvents.OnNewView Event
Parent Object: ApplicationEventsDescription
The OnNewView event notifies a client when a new View object is created. An API "View" object is equivalent to an Inventor graphics window.
Syntax
ApplicationEvents.OnNewView( ViewObject As View, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )Parameters
Name | Type | Description |
ViewObject | View | The View object that was created. When the BeforeOrAfter argument is kBefore this argument will be Nothing because the view does not yet exist. |
BeforeOrAfter | EventTimingEnum | Input EventTimingEnum indicating if the event is being fired before (kBefore) or after (kAfter) the view is created. Notification is sent before and after the view is created. |
Context | NameValueMap | Input 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 that indicates how you are handling the event. The value of this argument is currently ignored for this event. |