ActiveProjectChanged

The ActiveProjectChanged event notifies the client when the active project is changed.

EventNames:

  • ActiveProjectChanged_Pre

  • ActiveProjectChanged_Post

Parameters

Type

Name

Description

String

project

Full file name of the project that has changed

Examples:

ActiveProjectChanged_Pre:

Register-InventorEvent -EventName ActiveProjectChanged_Pre -Action 'PreActiveProjectChanged'

function PreActiveProjectChanged($project) {
	#Write event code here
}

ActiveProjectChanged_Post:

Register-InventorEvent -EventName ActiveProjectChanged_Post -Action 'PostActiveProjectChanged'

function PostActiveProjectChanged($project) {
	#Write event code here
}