FilterCategoryRule
Description:
A filter rule that matches elements of a set of categories.
A filter rule that matches elements of a set of categories.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.FilterCategoryRule
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.FilterCategoryRule
public class FilterCategoryRule : FilterRule
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FilterCategoryRule(ICollection<ElementId>) | None | Constructs a new instance of FilterCategoryRule. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AllCategoriesFilterable(ICollection<ElementId>) | bool | Checks that all of the given categories are filterable. | |
| GetCategories() | ICollection<ElementId> | Gets the rule's categories. | |
| SetCategories(ICollection<ElementId>) | bool | Sets the rule's categories. | |
| Dispose() | None | Releases all resources used by the | FilterRule |
| ElementPasses(Element) | bool | Derived classes override this method to implement the test that determines whether the given element passes this rule or not. | FilterRule |
| GetRuleParameter() | ElementId | Returns the ElementId of the parameter associated to this FilterRule if there is one, or invalidElementId if there is no associated parameter. | FilterRule |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | FilterRule |