Hello,
I know that you can open Grasshopper from the RhinoScript COM object using, for instance, something like:
rhinoApp.RunScript("-Grasshopper", 0);
But… How does one close then the open Grasshopper window using the SDK functions?
It could either be using the RhinoScript COM object (say, sending a Rhino command) or using the Grasshopper Plugin COM interface methods: https://developer.rhino3d.com/api/grasshopper/html/Methods_T_Grasshopper_Plugin_GH_RhinoScriptInterface.htm
Thank you very much for your assistance.