Revit 2026 API
File |
Constructs a new instance of a File Open dialog.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public FileOpenDialog( string filter )
Public Sub New ( filter As String )
public: FileOpenDialog( String^ filter )
new : filter : string -> FileOpenDialog
Parameters
- filter String
- The filter string. See the remarks for Filter for details.

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