NewSketch3D
The NewSketch3D event notifies the client when a new 3D sketch is created. _Pre fires before and _Post after the sketch is created.
EventNames:
NewSketch3D_Pre
NewSketch3D_Post
Parameters
Type |
Name |
Description |
|---|---|---|
document |
Document object the new 3D sketch is being created within. |
Examples:
NewSketch3D_Pre:
Register-InventorEvent -EventName NewSketch3D_Pre -Action 'PreNewSketch3D'
function PreNewSketch3D($document) {
#Write event code here
}
NewSketch3D_Post:
Register-InventorEvent -EventName NewSketch3D_Post -Action 'PostNewSketch3D'
function PostNewSketch3D($document) {
#Write event code here
}