The Grasshopper main window.
Constructors
GH_DocumentEditor
#public GH_DocumentEditor()
Properties
Methods
FixCanvasToolbarState
#Enabled/Disables the appropriate buttons depending on whether there is a document loaded on the canvas.
public void FixCanvasToolbarState()
ScriptAccess_CloseAllDocuments
#Closes all documents in the Document Queue.
Returns: True on success, false on failure.
ScriptAccess_CloseDocument
#Closes the currently active document and loads the next available document into the canvas. Changes will not be saved.
Returns: True on success, false on failure.
ScriptAccess_IsDocumentModified
#Gets the modified flag of the currently loaded document.
Returns: True if the document has been modified, false if not or if there is no document.
ScriptAccess_OpenDocument
#Displays a command line interface for File Open... then loads that file into the Canvas.
Returns: True on success, false on failure.
ScriptAccess_OpenDocument
#Loads a specific file off the hard disk into the Canvas.
Returns: True on success, false on failure.
ScriptAccess_SaveDocument
#Saves the document currently loaded in the Canvas. If the document hasn't been saved before then a Save... dialog box will be shown.
Returns: True on success, false on failure.
ScriptAccess_SaveDocumentAs
#Saves the currently active document to disk.
Returns: True on success, false on failure.
ScriptAccess_SaveDocumentAs
#Saves the currently active document to disk.
Returns: True on success, false on failure.
ToggleForm
#Collapses the form if it's currently expanded or expands the form if it's currently collapsed.
public void ToggleForm()