SketchEvents.OnNewSketch3D Event
Parent Object: SketchEventsDescription
The OnNewSketch3D event notifies the client when a new 3D sketch is being created.
Syntax
SketchEvents.OnNewSketch3D( DocumentObject As Document, Sketch3D As Sketch3D, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )Parameters
Name | Type | Description |
DocumentObject | Document | The Document object the new 3D sketch is being created within. |
Sketch3D | Sketch3D | The new 3D sketch just created. When the BeforeOrAfter argument is kBefore, the value of this argument is Nothing since the sketch has not yet been created. |
BeforeOrAfter | EventTimingEnum | Input EventTimingEnum indicating when the event is being fired. Notification is sent before and after the sketch is created. |
Context | NameValueMap | Input NameValueMap 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 HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event. |