//Find a parameter and assign some persistent data.
//Parameters:
// parameterID: Instance ID of parameter or parameter name.
// data: Data to assign.
// Returns:
// True on success, false on failure.
public bool AssignDataToParameter(string parameterID, object data);
//Find an object and bake all geometry inside of it.
//Parameters:
// objectID: Object InstanceID or name.
// Returns:
// An array of Rhino object IDs, or null on failure.
public object BakeDataInObject(string objectID);
//Close all Grasshopper documents.
// Returns:
// True on success, false on failure.
public bool CloseAllDocuments();
// Close the currently active Grasshopper document. If there is not active document,
// nothing will happen.
// Returns:
// True on success, false on failure.
public bool CloseDocument();
// 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 void DisableBanner();
// 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 void DisableSolver();
// 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 void EnableBanner();
// Enables the Grasshopper Solver. If the Solver is enabled, expired components
// and parameter will be recomputed.
public void EnableSolver();
// Hide the main Grasshopper Editor. If the editor hasn't been loaded or if
// the Editor is already hidden, nothing will happen.
public void HideEditor();
// Returns the loaded state of the Grasshopper Main window.
// Returns:
// True if the Main Grasshopper Window has been loaded.
public bool IsEditorLoaded();
// Returns the visible state of the Grasshopper Main window.
// Returns:
// True if the Main Grasshopper Window has been loaded and is visible.
public bool IsEditorVisible();
// Returns the state of the Grasshopper Solver.
// Returns:
// True if the Grasshopper Solver is enabled.
public bool IsSolverEnabled();
// Load the main Grasshopper Editor. If the editor has already been loaded nothing
// will happen.
public void LoadEditor();
// Open a Grasshopper document. The editor will be loaded if necessary, but
// it will not be automatically shown.
// Parameters:
// filename: Path of file to open (must be a *.gh or *.ghx extension).
// Returns:
// True on success, false on failure.
public bool OpenDocument(string filename);
// Runs the solver once, even if the global solver lock is on.
// Parameters:
// expireAllObjects: If true, will expire all objects in the current document.
public void RunSolver(bool expireAllObjects);
// 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.
// Returns:
// True on success, false on failure.
public bool SaveDocument();
// Save the currently active Grasshopper document in a specific location. If
// there is no active document, nothing will happen.
// Parameters:
// filename: Path of file to save to (must be a *.gh or *ghx extension).
// Returns:
// True on success, false on failure.
public bool SaveDocumentAs(string filename);
// Show the main Grasshopper Editor. The editor will be loaded first if needed.
// If the Editor is already on screen, nothing will happen.
public void ShowEditor();