NewView

The NewView event notifies the client when a new view is created. A view is equivalent to an Inventor graphics window. _Pre fires before and _Post after the view is created.

EventNames:

  • NewView_Pre

  • NewView_Post

Examples:

NewView_Pre:

Register-InventorEvent -EventName NewView_Pre -Action 'PreNewView'

function PreNewView() {
	#Write event code here
}

NewView_Post:

Register-InventorEvent -EventName NewView_Post -Action 'PostNewView'

function PostNewView() {
	#Write event code here
}