Undo in Rhinoscript

Is there a Rhinoscript version of Python’s RhinoDoc.BeginUndoRecord and RhinoDoc.EndUndoRecord commands?

Hi @rhorsefield,

Sorry, no. Why do you need these?

– Dale

The same reason Python coders need it. I’ve written Rhinoscript routines that make wholesale changes to the model. It makes sense to allow an undo.

Normally a Rhino Undo undoes the entire result of a script - assuming of course that the undo memory size is not exceeded by the script’s operation…

Hi @rhorsefield,

Scripts run using either the LoadScript or the RunScript commands should be undo-able. Let me know if you find otherwise.

– Dale