2021 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
M Dispose() None Releases all resources used by the
M ElementPasses(Element) bool Derived classes override this method to implement the test that determines whether the given element passes this rule or not.
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.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.