ModelingDelete
The ModelingDelete notifies the client when a modeling entity is deleted.
Remarks
Currently the notification is limited to features and parameters. Notification for parameters is only sent when a parameter is explicitly deleted, not when it is deleted as a result of its owner being deleted. For example if you delete a fillet feature, the notification will be sent for the fillet feature, but not for the parameter that controls the fillet radius, even though the parameter is deleted as a result of the feature delete. The type of entities supported for this event may be expanded in the future.
EventNames:
ModelingDelete_Pre
ModelingDelete_Post
Examples:
ModelingDelete_Pre:
Register-InventorEvent -EventName ModelingDelete_Pre -Action 'PreModelingDelete'
function PreModelingDelete() {
#Write event code here
}
ModelingDelete_Post:
Register-InventorEvent -EventName ModelingDelete_Post -Action 'PostModelingDelete'
function PostModelingDelete() {
#Write event code here
}