RebarGetSpacingsBetweenBars Method

Gets the spacings between all bars in set that have CustomSpacing layout. It will consider that there are no moved or removed bars from the set.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public IList<double> GetSpacingsBetweenBars()

Return Value

IListDouble
Returns the spacings between all bars in set.
Exceptions
ExceptionCondition
InvalidOperationException Rebar should have CustomSpacing layout. -or- The Free Form Rebar doesn't have set a distribution path.
See Also