Base class supporting display of the dialog used to navigate to and select a file from Autodesk Revit.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.UI.FileDialog
Autodesk.Revit.UI.FileOpenDialog
Autodesk.Revit.UI.FileSaveDialog
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class FileDialog : IDisposable
The FileDialog type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| DefaultFilterEntry | The default entry (from the filter) to be selected in the dialog. | |
| Filter | The filter string representing a collection of extensions allowed by the dialog. | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| Title | The title to show on the dialog. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the FileDialog | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetSelectedModelPath | Returns the selected file path chosen by the user. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsValidFilterString | Determines if the input string is acceptable as input for a FileDialog filter string. | |
| Show | Shows the dialog using the stored settings. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
