<Code Lib>
2024 Method
Changes 2
M

RebarInSystem.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
)

Return Value int The bar index the reference refers to.

Loading…