2027 Method
Changes 2
M

Rebar.GetBarIndexFromReference

Description:
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.
public int GetBarIndexFromReference(
	Reference barReference
)
  • barReference
    The Reference of the Rebar element.
Return Value Int32 The bar index the reference refers to.