FileDialog
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 : IDisposableThe FileDialog type exposes the following members.
Properties
Name
Description
Public Property
DefaultFilterEntry
The default entry (from the filter) to be selected in the dialog.
Public Property
Filter
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
Title
The title to show on the dialog.
Methods
Name
Description
Public Method
Dispose
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
GetSelectedModelPath
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
IsValidFilterString
Determines if the input string is acceptable as input for a FileDialog filter string.
Public Method
Show
Shows the dialog using the stored settings.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)