Constructs a filter to match elements which intersect the given element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public ElementIntersectsElementFilter(
Element element
)
Parameters
- element Element
-
The element to check for intersection.
Exceptions
| Exception | Condition |
|---|
| ArgumentException |
The category of the element is not supported for element intersection filters.
-or-
The element is not supported for element intersection filters.
|
| ArgumentNullException |
A non-optional argument was null
|
See Also
Reference