Skip to content

GH_RhinoScriptInterface

Public Class

Plugin Interface object that is exposed via the RhinoScript layer.

Inheritance Hierarchy

System.Object
Grasshopper.Plugin.GH_RhinoScriptInterface

Namespace: Grasshopper.Plugin

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public class GH_RhinoScriptInterface

The GH_RhinoScriptInterface type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the GH_RhinoScriptInterface class


Methods

Name

Description


Public Method

Find a parameter and assign some persistent data.


Public Method

Find an object and bake all geometry inside of it.


Public Method
Code Example

Close all Grasshopper documents.


Public Method
Code Example

Close the currently active Grasshopper document. If there is not active document, nothing will happen.


Public Method
Code Example

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.


Public Method
Code Example

Disables the Grasshopper Solver. If the Solver is disabled, expired components and parameter will not be recomputed, though any existing solution will remain intact.


Public Method
Code Example

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.


Public Method
Code Example

Enables the Grasshopper Solver. If the Solver is enabled, expired components and parameter will be recomputed.


Public Method
Code Example

Hide the main Grasshopper Editor. If the editor hasn’t been loaded or if the Editor is already hidden, nothing will happen.


Public Method
Code Example

Returns the loaded state of the Grasshopper Main window.


Public Method
Code Example

Returns the visible state of the Grasshopper Main window.


Public Method
Code Example

Returns the state of the Grasshopper Solver.


Public Method
Code Example

Load the main Grasshopper Editor. If the editor has already been loaded nothing will happen.


Public Method
Code Example

Open a Grasshopper document. The editor will be loaded if necessary, but it will not be automatically shown.


Public Method

Obsolete.


Public Method

Public Method

Public Method

Runs the solver once, even if the global solver lock is on.


Public Method
Code Example

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.


Public Method
Code Example

Save the currently active Grasshopper document in a specific location. If there is no active document, nothing will happen.


Public Method

Find a slider and assign a new value.


Public Method

Find a slider and assign a new value.


Public Method
Code Example

Show the main Grasshopper Editor. The editor will be loaded first if needed. If the Editor is already on screen, nothing will happen.