2025.3 Class
Changes 0
C

FileDialog

Description:
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
public class FileDialog : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the FileDialog
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetSelectedModelPath() ModelPath Returns the selected file path chosen by the user.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsValidFilterString(String) Boolean Determines if the input string is acceptable as input for a FileDialog filter string.
M Show() ItemSelectionDialogResult Shows the dialog using the stored settings.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P DefaultFilterEntry string The default entry (from the filter) to be selected in the dialog.
P Filter string The filter string representing a collection of extensions allowed by the dialog.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Title string The title to show on the dialog.