NumberOfBarPositions Property


Rebar Number Of Bar Positions Property

The number of potential bars in the set.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public int NumberOfBarPositions { get; set; }

Property Value

Int32
Exceptions
Exception Condition
ArgumentOutOfRangeException When setting this property: the number of bar positions numberOfBarPositions is less than 1 or more than 1002.
InapplicableDataException When setting this property: This rebar element represents a single bar (the layout rule is Single).
Remarks
The number of positions is equal to the number of actual bars (the Quantity), plus the number of bars that are excluded.
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 →