ZBrushCentral

Can a script be made so that pressing Undo undoes the whole script?

I have found that if I undo my scripts, I have to undo back through every step of the script. Any way to write it so that Undo knows to undo the whole thing at once?

thanks!

Hi Ryan,

There’s no magic command for this, I’m afraid. What you could do is store the Edit:Tool:UndoCounter value when you start and then have a special “Undo” button that simply resets the slider.

HTH,