FilterRule
Description:
Defines a boolean operation that can be used to cull elements from a document.
Defines a boolean operation that can be used to cull elements from a document.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.FilterCategoryRule
Autodesk.Revit.DB.FilterInverseRule
Autodesk.Revit.DB.FilterValueRule
Autodesk.Revit.DB.ParameterValuePresenceRule
Autodesk.Revit.DB.SharedParameterApplicableRule
System.Object
Autodesk.Revit.DB.FilterRule
Autodesk.Revit.DB.FilterCategoryRule
Autodesk.Revit.DB.FilterInverseRule
Autodesk.Revit.DB.FilterValueRule
Autodesk.Revit.DB.ParameterValuePresenceRule
Autodesk.Revit.DB.SharedParameterApplicableRule
public class FilterRule : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| ElementPasses(Element) | bool | Derived classes override this method to implement the test that determines whether the given element passes this rule or not. |
| GetRuleParameter() | ElementId | Returns the ElementId of the parameter associated to this FilterRule if there is one, or invalidElementId if there is no associated parameter. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |