We can receive notifies by using ' "AI Command Notifier: Before/After " + menu identifier text'.
I intend to programming rejecting "Undo/Redo".
I want to know how to describe for rejecting Undo/Redo commands.
As far as I know you can't 'reject' an Undo or Redo. That's simply not in our control.
The closest you could do would be to call AIUndoSuite::PurgeAllUndos() but that will blow away all undos, so that's kind of overkill. Also, its deprecated, so who knows how long it will work.
Retrieving data ...