GH_DocumentEditorScriptAccess_OpenDocument Method (String) |
Loads a specific file off the hard disk into the Canvas.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public bool ScriptAccess_OpenDocument(
string filename
)
Public Function ScriptAccess_OpenDocument (
filename As String
) As Boolean
Parameters
- filename
- Type: SystemString
File to load.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also