Share

SketchEvents Object


Description

The SketchEvents object provides notification of sketch events including new, changed, solved or deleted sketches.

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
OnDelete The OnDelete event notifies the client when a 2d or 3d sketch is being deleted. This notification is not sent when the contents of the sketch is deleted, but only when the sketch itself is deleted.
OnNewSketch Event that is fired whenever a sketch is created.
OnNewSketch3D The OnNewSketch3D event notifies the client when a new 3D sketch is being created.
OnSketch3DChange The OnSketch3DChange event notifies the client when the geometry of a 3D sketch is changed.
OnSketchChange The OnSketchChange event notifies the client when the geometry of a 2D sketch is changed.

Accessed From

Application.SketchEvents, InventorServer.SketchEvents, InventorServerObject.SketchEvents

Version

Introduced in version 11

Was this information helpful?