RhinoCommon SaveAs works like export

Hi All,

I have a question regarding the RhinoDoc.SaveAs method.
Typically when using save as, you continue in the newly saved file.
However when calling this method you remain in the “old” file.
(its kind of like described here: Bug, save new document with SaveAs doesn't set document name. It acts as Export - #9 by Holo )
Is this the expected behavior? Because now it seems to work more like an export.

For the time being I can make do with RhinoApp.Runscript , but for my purposes it’s ideal if I could use a SaveFileDialog to suggest a file name to supply the SaveAs method with.

1 Like

Hi Mick,

Use RhinoDoc.WriteFile.

– Dale