Rebar.GetBarIndexFromReference
Description:
Given a reference that represents a part of a bar, this method will return the bar index.
Given a reference that represents a part of a bar, this method will return the bar index.
Remarks:
The method returns an index between 0 and NumberOfBarPositions - 1 if it the given reference represents a part of a bar. Otherwise will return -1.
The method returns an index between 0 and NumberOfBarPositions - 1 if it the given reference represents a part of a bar. Otherwise will return -1.
public int GetBarIndexFromReference(
Reference barReference
)
-
barReferenceThe Reference of the Rebar element.
Return Value
Int32
The bar index the reference refers to.
-
A non-optional argument was null