2025.3 Class
Changes 0
C

FilterRule

Description:
Defines a boolean operation that can be used to cull elements from a document.
public class FilterRule : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the FilterRule
M ElementPasses(Element) Boolean Derived classes override this method to implement the test that determines whether the given element passes this rule or not.
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 GetRuleParameter() ElementId Returns the ElementId of the parameter associated to this FilterRule if there is one, or invalidElementId if there is no associated parameter.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.