FileDialog
Description:
Base class supporting display of the dialog used to navigate to and select a file from Autodesk Revit.
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
System.Object
Autodesk.Revit.UI.FileDialog
Autodesk.Revit.UI.FileOpenDialog
Autodesk.Revit.UI.FileSaveDialog
public class FileDialog : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetSelectedModelPath() | nullNothingnullptr | Returns the selected file path chosen by the user. |
| IsValidFilterString(String) | bool | Determines if the input string is acceptable as input for a FileDialog filter string. |
| Show() | ItemSelectionDialogResult | Shows the dialog using the stored settings. |
| Name | Return Type | Description |
|---|---|---|
| DefaultFilterEntry | string | The default entry (from the filter) to be selected in the dialog. |
| Filter | string | The filter string representing a collection of extensions allowed by the dialog. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| Title | string | The title to show on the dialog. |