Undo Stack

Undo Stack

Anonymous
Not applicable
347 Views
0 Replies
Message 1 of 1

Undo Stack

Anonymous
Not applicable
I am wondering if there is any way to read from the undo stack. What I'm trying to accomplish is a repeat last tool similar to the <EditablePoly>.RepeatLastOperation() function, but works outside of poly. My thought on how to do this is to watch the undo stack since it is already recording most actions that are happening in a scene to help me accomplish this. The closest thing I found in the max script documentation was using the #sceneUndo callback function and notificationParam() function, but it only returns a string name of the basic operation such as, "Create Selection Set" or "Add Modifier" and not the actual operation.


callbacks.addScript #sceneUndo "format \"Undo: %\\n\" (callbacks.notificationParam())" id:#test



Any help with the undo stack, or suggestions on other venues that I should be looking at rather than the undo stack to accomplish this are appreciated.
0 Likes
348 Views
0 Replies
Replies (0)