CanBeIntersectionElement Method


Checks if the element can be an intersection reference.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2011

Syntax

C#
public bool CanBeIntersectionElement(
	ElementId id
)
Visual Basic
Public Function CanBeIntersectionElement ( _
	id As ElementId _
) As Boolean
Visual C++
public:
bool CanBeIntersectionElement(
	ElementId^ id
)

Parameters

id
Type: Autodesk.Revit.DB ElementId
The element to be checked.

Return Value

True if the element can be an intersection reference., false otherwise.

Remarks

The element must be a level, grid, reference plane, or a curve element whose category is lines and reference lines.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also