GH_DocumentIO.OpenDocumentDialog Method

GH_DocumentIOOpenDocumentDialog Method

Display the Open GH/GHX dialog.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
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: String
FileName specified via the Open dialog or null if the dialog was cancelled.
See Also