RVTDocs.com
Namespace: Autodesk.Revit.DB

FilterElementIdRule

Class
Description:
A filter rule that operates on ElementId values in a Revit project.
Remarks:
When GetRuleParameter() returns a parameter that UsesLevelFiltering(Document, ElementId), then the comparisons will first compare the values of the levels' elevations, then compare the levels' names, and finally the levels' element ids to rank and sort the levels.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.FilterRule
    Autodesk.Revit.DB.FilterValueRule
      Autodesk.Revit.DB.FilterNumericValueRule
        Autodesk.Revit.DB.FilterElementIdRule
Syntax
FilterElementIdRule Class Members:
Name Description Inherited From
FilterElementIdRule Constructs an instance of FilterElementIdRule.
Name Description Inherited From
IsValidObject Specifies whether the .NET object represents a valid Revit entity. (Inherited from FilterRule ) FilterRule
RuleValue The user-supplied value against which values from a Revit document will be tested.
Name Description Inherited From
Dispose (Inherited from FilterRule ) FilterRule
ElementPasses Derived classes override this method to implement the test that determines whether the given element passes this rule or not. (Inherited from FilterRule ) FilterRule
Equals Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
GetEvaluator Gets the evaluator that implements the test for this rule. (Inherited from FilterNumericValueRule ) FilterNumericValueRule
GetHashCode Serves as the default hash function. (Inherited from Object ) Object
GetRuleParameter Returns the ElementId of the parameter associated to this FilterRule if there is one, or invalidElementId if there is no associated parameter. (Inherited from FilterRule ) FilterRule
GetType Gets the Type of the current instance. (Inherited from Object ) Object
SetEvaluator Sets the evaluator that implements the test for this rule. (Inherited from FilterNumericValueRule ) FilterNumericValueRule
ToString Returns a string that represents the current object. (Inherited from Object ) Object
UsesLevelFiltering This function checks if a parameter uses level filtering.