The number of potential bars in the set.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public int NumberOfBarPositions { get; set; }
Property Value
Int32Exceptions
| 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). -or- When setting this property: The rebar set layout does not permit changing the number of bar positions. |
