Share

FilterCategoryRule Class

A filter rule that matches elements of a set of categories.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.FilterRule
    Autodesk.Revit.DB.FilterCategoryRule


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class FilterCategoryRule : FilterRule

The FilterCategoryRule type exposes the following members.

Constructors

 NameDescription
Public methodFilterCategoryRule Constructs a new instance of FilterCategoryRule.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from FilterRule)

Methods

 NameDescription
Public methodStatic memberAllCategoriesFilterable Checks that all of the given categories are filterable.
Public methodDispose
(Inherited from FilterRule)
Public methodElementPasses Derived classes override this method to implement the test that determines whether the given element passes this rule or not.
(Inherited from FilterRule)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetCategories Gets the rule's categories.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetRuleParameter 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)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetCategories Sets the rule's categories.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?