algorithmic modeling for Rhino
Hello!
In GH version 0.9.75, one could use the GH_RhinoScriptInterface.LoadEditor() method to load the GH Plugin without showing the editor. Subsequent calls to GH_RhinoScriptInterface.OpenDocument(string filename) would allow the document to be opened without the editor becoming visible.
In GH version 0.9.76, GH_RhinoScriptInterface.LoadEditor() works as expected, but subsequent calls to GH_RhinoScriptInterface.OpenDocument(string filename) makes the editor visible.
Of course, calling GH_RhinoScriptInterface.HideEditor() any time after a document is opened results in the editor becoming hidden again, but I would prefer not to see the editor at all.
Is there any way to programmatically open a document without showing the editor? Refer to the code sample below for clarity.
//C#
GH_RhinoScriptInterface GHInterface = (GH_RhinoScriptInterface)RhinoApp.GetPlugInObject("Grasshopper");
GHInterface.LoadEditor();
GHInterface.OpenDocument("filename");
//In 0.9.75, the editor is still hidden at this point. In 0.9.76, the editor is shown.
Thanks!
Tom
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by