SketchDelete

The SketchDelete 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.

EventNames:

  • SketchDelete_Pre

  • SketchDelete_Post

Examples:

SketchDelete_Pre:

Register-InventorEvent -EventName SketchDelete_Pre -Action 'PreSketchDelete'

function PreSketchDelete() {
	#Write event code here
}

SketchDelete_Post:

Register-InventorEvent -EventName SketchDelete_Post -Action 'PostSketchDelete'

function PostSketchDelete() {
	#Write event code here
}