GetSpacingsBetweenBars Method


Rebar Get Spacings Between Bars 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

IList Double
Returns the spacings between all bars in set.
Exceptions
Exception Condition
InvalidOperationException Rebar should have CustomSpacing layout. -or- The Free Form Rebar doesn't have set a distribution path.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →