Return a transform representing the relative position of any
individual bar in the set.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public Transform GetBarPositionTransform( int barPositionIndex )
Parameters
- barPositionIndex Int32
- An index between 0 and (NumberOfBarPositions-1).
Return Value
TransformThe position of a bar in the set relative to the first position.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. |
InvalidOperationException | This RebarShapeDrivenAccessor doesn't contain a valid rebar reference. |