2027 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 Inherited From
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 Inherited From
M Dispose() None Releases all resources used by the FilterDialog
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 GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M Show() None Shows the FilterDialog editing dialog to the user.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P FilterToSelect ElementId The filter element to be selected once Show is invoked.
P IsValidObject Boolean 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.