ApplicationOptionChange

The ApplicationOptionChange event notifies the client when the application options are modified. _Pre fires before and _Post after the change, so the values of the options of interest can be read in both events and compared.

EventNames:

  • ApplicationOptionChange_Pre

  • ApplicationOptionChange_Post

Examples:

ApplicationOptionChange_Pre:

Register-InventorEvent -EventName ApplicationOptionChange_Pre -Action 'PreApplicationOptionChange'

function PreApplicationOptionChange() {
	#Write event code here
}

ApplicationOptionChange_Post:

Register-InventorEvent -EventName ApplicationOptionChange_Post -Action 'PostApplicationOptionChange'

function PostApplicationOptionChange() {
	#Write event code here
}