RepresentationDelete
The RepresentationDelete event notifies the client when any representation related objects are deleted. These include positional representations and design views.
EventNames:
RepresentationDelete_Pre
RepresentationDelete_Post
Examples:
RepresentationDelete_Pre:
Register-InventorEvent -EventName RepresentationDelete_Pre -Action 'PreRepresentationDelete'
function PreRepresentationDelete() {
#Write event code here
}
RepresentationDelete_Post:
Register-InventorEvent -EventName RepresentationDelete_Post -Action 'PostRepresentationDelete'
function PostRepresentationDelete() {
#Write event code here
}