Sequence of UNDO/REDO events

rhinocommon
rhinocommon-v6
undo
csharp

(Sebastiano Del Gobbo) #1

Hi guys
I would like to know whats the sequence of the events in case of a UNDO/REDO operation, when a custom undo event was previously registered:

  1. Rhino performs its UNDO/REDO ops
  2. Custom UNDO method is called

or

  1. Custom UNDO method is called
  2. Rhino performs its UNDO/REDO ops

Thanks a lot! :slight_smile:


(Dale Fugier) #2

Hi @software_comas,

Your custom undo handler is the last thing to be undone.

– Dale


(Sebastiano Del Gobbo) #3

Thanks! :slight_smile: