NewRelationship

The NewRelationship event notifies the client when a new constraint or connection is added to an assembly.

EventNames:

  • NewRelationship_Pre

  • NewRelationship_Post

Examples:

NewRelationship_Pre:

Register-InventorEvent -EventName NewRelationship_Pre -Action 'PreNewRelationship'

function PreNewRelationship() {
	#Write event code here
}

NewRelationship_Post:

Register-InventorEvent -EventName NewRelationship_Post -Action 'PostNewRelationship'

function PostNewRelationship() {
	#Write event code here
}