Grasshopper API
GH_RhinoScriptInterfaceCloseAllDocuments Method |
Close all Grasshopper documents.
Namespace: Grasshopper.Plugin
Assembly: Grasshopper (in Grasshopper.dll)
VBScript
Call GrasshopperExampleScript() Sub GrasshopperExampleScript() Dim GH Set GH = Rhino.GetPlugInObject("Grasshopper") Call GH.CloseAllDocuments() Set GH = Nothing End Sub