Grasshopper API
GH_DocumentIOOpenDocumentDialog Method |
Display the Open GH/GHX dialog.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public string OpenDocumentDialog( string path = null, string title = "Open…" )
Public Function OpenDocumentDialog ( Optional path As String = Nothing, Optional title As String = "Open…" ) As String
Parameters
- path (Optional)
- Type: SystemString
Optional default path. - title (Optional)
- Type: SystemString
Title of dialog.
Return Value
Type: StringFileName specified via the Open dialog or null if the dialog was cancelled.
