2022 Class
Changes 0
C

FilterDialog

Description:
Allows display of the dialog used to create and edit FilterElements in Autodesk Revit.
Remarks:
The class provides the option to launch the dialog by selecting an existing FilterElement, or automatically creating a new ParameterFilterElement. In both cases the affected element will be selected for editing. Note that the user may opt to add, delete or edit any of the available filter elements (or make no changes at all).
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.FilterDialog
public class FilterDialog : IDisposable
Name Return Type Description
C FilterDialog(Document, ElementId) None Constructs a new instance of the FilterDialog class, while setting the id of the FilterElement to be selected when the dialog is shown.
C FilterDialog(Document, String) None Constructs a new instance of the FilterDialog class, while setting the name of the new ParameterFilterElement to be created and selected for editing.
Name Return Type Description
M Dispose() None Releases all resources used by the
M Show() None Shows the FilterDialog editing dialog to the user.
Name Return Type Description
P FilterToSelect ElementId The filter element to be selected once Show is invoked.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P NewFilterId ElementId The ElementId of the new filter created. The value is populated after Show method is executed.
P NewFilterName string The name of the new ParameterFilterElement to be created and selected once Show is invoked.