Share

StyleEvents Object


Description

The StyleEvents object provides notification of style events including new, activated, changed or deleted styles.

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
OnActivateStyle Event that is fired whenever a style is activated in a document.
OnDelete Event that is fired whenever an object within this events set is deleted in a document.
OnNewStyle Event that is fired whenever a new style is created in a document.
OnStyleChange Event that is fired whenever a style changes.

Accessed From

Application.StyleEvents, InventorServer.StyleEvents, InventorServerObject.StyleEvents

Version

Introduced in version 11

Was this information helpful?