Click or drag to resize

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…"
)

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