Tiny issue with Grasshopper.Plugin.GH_RhinoScriptInterface.SaveDocumentAs

Hi Guys (@DavidRutten ??)

For daily version control of my Rhino/GH designs I have my own save icon directed to the attached Python Script.

It simply saves a new version of the open Rhino file to my DeskTop with a new prefix in the YYMMDD_ format.

Recently I added code to check if there was an open GH canvas and save that at the same time.

Everything works FINE and I’m very happy.

EXCEPT - After calling the Grasshopper.Plugin.GH_RhinoScriptInterface.SaveDocumentAs the open Grasshopper Document doesn’t not update its name in the top left of the window. It has actually been saved with the new name, and doing a manual SaveAs confirms this.

Tiny tiny issue that isn’t even a real problem - but if someone has a couple of minutes to at it…



190910_save with date format to desktop.py (815 Bytes)