Unsaved model state pop-up (Dialog)

Any ideas how to suppress the “Unsaved Model State” pop-up through API, Thanks a lot!

It happened when call the below script.

RhinoApp.RunScript("-_SnapShots _Restore “” + snapshotName + “” _Enter _Enter", false);

even if we only need to manually suppress it once, but we do want to suppress it programmly, any ideas how to do that? Thanks a lot!

Hi @Robin3,

This is a bug. I’ve logged the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-68986

– Dale

Cool, Thanks Dale!