# GH_RhinoScriptInterface class

Namespace: [Grasshopper.Plugin](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.plugin.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[ComVisible(true)]
public class GH_RhinoScriptInterface
```

Plugin Interface object that is exposed via the RhinoScript layer.

## Methods

- [AssignDataToParameter](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/assigndatatoparameter.md): Find a parameter and assign some persistent data.
- [BakeDataInObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/bakedatainobject.md): Find an object and bake all geometry inside of it.
- [CloseAllDocuments](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/closealldocuments.md): Close all Grasshopper documents.
- [CloseDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/closedocument.md): Close the currently active Grasshopper document. If there is not active document, nothing will happen.
- [DisableBanner](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/disablebanner.md): Disables the display of the Grasshopper banner during Component loading. The banner is typically only shown once during a Grasshopper session, namely when the Editor is first loaded.
- [DisableSolver](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/disablesolver.md): Disables the Grasshopper Solver. If the Solver is disabled, expired components and parameter will not be recomputed, though any existing solution will remain intact.
- [EnableBanner](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/enablebanner.md): Enables the display of the Grasshopper banner during Component loading. The banner is typically only shown once during a Grasshopper session, namely when the Editor is first loaded.
- [EnableSolver](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/enablesolver.md): Enables the Grasshopper Solver. If the Solver is enabled, expired components and parameter will be recomputed.
- [HideEditor](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/hideeditor.md): Hide the main Grasshopper Editor. If the editor hasn't been loaded or if the Editor is already hidden, nothing will happen.
- [IsEditorLoaded](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/iseditorloaded.md): Returns the loaded state of the Grasshopper Main window.
- [IsEditorVisible](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/iseditorvisible.md): Returns the visible state of the Grasshopper Main window.
- [IsSolverEnabled](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/issolverenabled.md): Returns the state of the Grasshopper Solver.
- [LoadEditor](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/loadeditor.md): Load the main Grasshopper Editor. If the editor has already been loaded nothing will happen.
- [LoadedPluginGuids](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/loadedpluginguids.md): Gets an array of the IDs of all loaded plugins.
- [LoadedPluginNames](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/loadedpluginnames.md): Gets an array of the names and versions (if known) of all loaded plugins.
- [OpenDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/opendocument.md): Open a Grasshopper document. The editor will be loaded if necessary, but it will not be automatically shown.
- [RunAsCommand](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/runascommand.md): (obsolete)
- [RunHeadless](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/runheadless.md)
- [RunInCommandContext](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/runincommandcontext.md)
- [RunSolver](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/runsolver.md): Runs the solver once, even if the global solver lock is on.
- [SaveDocument](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/savedocument.md): Save the currently active Grasshopper document. If the active document has never been saved, a Save... dialog will be shown. If there is no active document, nothing will happen.
- [SaveDocumentAs](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/savedocumentas.md): Save the currently active Grasshopper document in a specific location. If there is no active document, nothing will happen.
- [SetSliderRangeAndValue](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/setsliderrangeandvalue.md): Find a slider and assign a new value.
- [SetSliderValue](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/setslidervalue.md): Find a slider and assign a new value.
- [ShowEditor](https://developer.rhino3d.com/api/gh1/type/grasshopper.plugin.gh-rhinoscriptinterface/showeditor.md): Show the main Grasshopper Editor. The editor will be loaded first if needed. If the Editor is already on screen, nothing will happen.
