Is there a Rhinoscript version of Python’s RhinoDoc.BeginUndoRecord and RhinoDoc.EndUndoRecord commands?
Sorry, no. Why do you need these?
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…
Scripts run using either the
LoadScript or the
RunScript commands should be undo-able. Let me know if you find otherwise.