RebarFreeFormAccessor.GetShapeIdAtIndex
Description:
Gets the Rebar Shape id for the bar with index barPositionIndex.
Gets the Rebar Shape id for the bar with index barPositionIndex.
Remarks:
If this function is called for the first bar or last bar in set and this is hidden, this function will throw exception.
If this function is called for the first bar or last bar in set and this is hidden, this function will throw exception.
-
barPositionIndexAn index between 0 and (NumberOfBarPositions-1).
Return Value
ElementId
Gets the ElementId of the Rebar Shape for the bar with index barPositionIndex.
-
barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. -or- barPositionIndex is an index for the first or last bar which is hidden.