FileOpenDialog Constructor


File Open Dialog Constructor

Constructs a new instance of a File Open dialog.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public FileOpenDialog(
	string filter
)

Parameters

filter String
The filter string. See the remarks for Filter for details.
Exceptions
Exception Condition
ArgumentException The input filter string does not meet the minimal requirements for a valid filter string.
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →