TransactionUndo

The TransactionUndo event notifies the client when an undo operation is performed. _Pre fires before and _Post after the transaction is undone.

EventNames:

  • TransactionUndo_Pre

  • TransactionUndo_Post

Examples:

TransactionUndo_Pre:

Register-InventorEvent -EventName TransactionUndo_Pre -Action 'PreTransactionUndo'

function PreTransactionUndo() {
	#Write event code here
}

TransactionUndo_Post:

Register-InventorEvent -EventName TransactionUndo_Post -Action 'PostTransactionUndo'

function PostTransactionUndo() {
	#Write event code here
}