Skip to content

FileDialog

Public Class

Base class supporting display of the dialog used to navigate to and select a file from Autodesk Revit.

Inheritance Hierarchy

System.Object
Autodesk.Revit.UI.FileDialog
Autodesk.Revit.UI.FileOpenDialog
Autodesk.Revit.UI.FileSaveDialog

Namespace: Autodesk.Revit.UI

Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class FileDialog : IDisposable

The FileDialog type exposes the following members.

Properties

Name

Description


Public Property

The default entry (from the filter) to be selected in the dialog.


Public Property

The filter string representing a collection of extensions allowed by the dialog.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The title to show on the dialog.


Methods

Name

Description


Public Method

Releases all resources used by the FileDialog


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

Returns the selected file path chosen by the user.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method
Static Member

Determines if the input string is acceptable as input for a FileDialog filter string.


Public Method

Shows the dialog using the stored settings.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)