IsRebarInSection Method


Rebar Is Rebar In Section Method

Identifies if this Rebar is cut by the view plane of the given view.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsRebarInSection(
	View dBView
)

Parameters

dBView View
The view.

Return Value

Boolean
True if this Rebar is cut by the view plane, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
This method applies only for elevations and sections. For any other view types will return false.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →