SetBarIncluded Method


Rebar Set Bar Included Method

Sets if the bar at the desired index is included or not.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetBarIncluded(
	bool include,
	int barPositionIndex
)

Parameters

include Boolean
True to include the bar, false to exclude the bar.
barPositionIndex Int32
The bar index.
Exceptions
Exception Condition
ArgumentOutOfRangeException barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ].
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →