RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ElementFilter

ElementFilter.PassesFilter(Element)

Method
Description:
Applies the filter to a given element.
Syntax
public bool PassesFilter(
	Element element
)
Parameters
Parameter Type Description
element Element The element.
Return Value
Type Description
Boolean True if the element is accepted by the filter. False if the element is rejected.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null