2022 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
M Dispose() None Releases all resources used by the
M GetSelectedModelPath() nullNothingnullptr Returns the selected file path chosen by the user.
M IsValidFilterString(String) bool Determines if the input string is acceptable as input for a FileDialog filter string.
M Show() ItemSelectionDialogResult Shows the dialog using the stored settings.
Name Return Type Description
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 bool Specifies whether the .NET object represents a valid Revit entity.
P Title string The title to show on the dialog.