barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ].
Remarks
The transform is a translation along the distribution path. It can be applied to the results of GetCenterlineCurves() to produce any bar in the rebar set. For barPositionIndex=0, the identity transform is always returned.