Share

ApplicationEvents Object


Description

Inventor::ApplicationEventsSink

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Parent Gets the parent object from whom this object can logically be reached.
Type Returns an ObjectTypeEnum indicating this object's type.

Events

Name Description
OnActivateDocument Event that is fired whenever a document is activated.
OnActivateView Event that fires just after a view is activated.
OnActiveProjectChanged Fires just before and soon after the active project is changed, supplying the context in which this action is being taken.
OnApplicationOptionChange Fires just before and soon after application options are modified.
OnCloseDocument Event that is fired whenever a document is closed.
OnCloseView The OnCloseView event notifies a client when a view is closed. An API view is equivalent to an Inventor graphics window.
OnDeactivateDocument The OnDeactivateDocument event notifies a client when a document is deactivated.
OnDeactivateView Fires just after a view is deactivated.
OnDisplayModeChange The OnDisplayModeChange event notifies a client when the display mode of a view has changed.
OnDocumentChange Fires just before the document is changed, supplying the reasons for change and the context in which this action is being taken.
OnInitializeDocument Event that is fired whenever a document is initialized. At the time this event fires, the document is not open yet. Calling methods or properties on the document will force it to open.
OnMigrateDocument Event that is fired whenever a document is being explicitly migrated.
OnMoveApplicationWindow Fires after application main window is moved.
OnMoveView Fires after view window is moved.
OnNewDocument Event that is fired whenever a new document is created.
OnNewEditObject The OnNewEditObject event notifies a client when the edit object is changing.
OnNewView The OnNewView event notifies a client when a new View object is created. An API "View" object is equivalent to an Inventor graphics window.
OnOpenDocument The OnOpenDocument event notifies a client when a document is opened.
OnQuit The OnQuit event notifies a client when Inventor is being shut down.
OnReady The OnReady event notifies a client when Inventor has completely initialized and is ready for interactive use.
OnResizeApplicationWindow Fires after application main window is resized, or layout is recalculated.
OnResizeView Fires after view window is resized, or window state is changed.
OnRestart32BitHost This event is fired when the 32BitHost process is restarted. This process is used to host 32-bit processes when running 64-bit Inventor. The primary use of this is to host VBA, which is currently only a 32-bit process.
OnSaveDocument The OnSaveDocument notifies a client whenever a document is saved.
OnTerminateDocument The OnTerminateDocument event notifies a client when a document is being terminated. Termination of a document is a complete close of the document. A document terminate corresponds with a document initialize.
OnTranslateDocument The OnTranslateDocument event notifies a client whenever a file is translated into Inventor or an Inventor document is translated out to a non-Inventor file.
OnUndoOpenDocument Fires when an open document transaction is undone.

Accessed From

Application.ApplicationEvents, InventorServer.ApplicationEvents, InventorServerObject.ApplicationEvents

Version

Introduced in version 4

Was this information helpful?