Viewer API: Any tip to code Undo/Redo buttons

If we store all parameters every update (customize()) we can implement something like versions management. There is any tip to use grasshopper capabilities and simplify this versions management? We would only store punctual versions but allow users to go forward/reward in their parameters playground.
Thanks in advance.

There is already a way in the API to undo and redo parameter changes to allow users to go forward/reward their parameters. Please check the documentation of the goBack(), goForward(), canGoBack() and canGoForward() functions of the Session object.

1 Like

Thank you very much, such a shortcut to documentation!!!