RVTDocs.com

RebarUpdateCurvesData.GetBarGeometry

Method
Description:
Returns the geometry for a bar at the specified index currently in the Rebar.
Syntax
public IList<Curve> GetBarGeometry(
	int barIndex
)
Parameters
Parameter Type Description
barIndex Int32 The index of the bar. Should be a number between 0 and GetNumberOfBars() - 1.
Return Value
Type Description
IList Returns an array of curves that defines the bar at the specified index.
Exceptions
Exception Condition
ArgumentOutOfRangeException barIndex is not in the range [ 0, GetNumberOfBars()-1 ].