How to check if a doc needs to be saved

Hi,

is there a methode in Rhino common from which I could check if the currently active document was changed and needs to be saved.

Basically like checking if a “Save changes” dialog needs to be poped up before closing a document.

Thanks
Martin

This ?
http://developer.rhino3d.com/api/RhinoCommon/html/P_Rhino_RhinoDoc_Modified.htm

1 Like

Hi Martin,

you can check if a document has been modified using this.

c.

1 Like

Hi,

works great!

Thanks
Martin