AssemblyEvents Object
Description
The AssemblyEvents object provides notification of assembly events including change, delete and constraint.
Properties
| 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
| OnAssemblyChange |
Event that is fired after any change occurs that impacts the assembly structure. |
| OnDelete |
Event that is fired whenever an object within this events set is deleted in a document. |
| OnLoadStateChange |
Fires when an assembly document goes from lite to full or full to lite loading. |
| OnNewOccurrence |
Event that is fired whenever an occurrence is created. |
| OnNewRelationship |
The OnNewRelationship event notifies a client when a new constraint or connection is added to an assembly. |
| OnOccurrenceChange |
Event that is fired whenever an occurrence changes. |
Accessed From
Application.AssemblyEvents,
AssemblyComponentDefinition.AssemblyEvents,
InventorServer.AssemblyEvents,
InventorServerObject.AssemblyEvents,
WeldmentComponentDefinition.AssemblyEvents
Version
Introduced in version 4