SetLayoutAsNumberWithSpacing Method


Rebar Free Form Accessor Set Layout As Number With Spacing Method

Sets the Layout Rule property of rebar set to Number With Spacing.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetLayoutAsNumberWithSpacing(
	int numberOfBars,
	double spacing
)

Parameters

numberOfBars Int32
The number of bars in set.
spacing Double
The spacing of bars in set.
Exceptions
Exception Condition
InvalidOperationException This RebarFreeFormAccessor doesn't contain a valid rebar reference. -or- This RebarFreeFormAccessor Rebar doesn't contain a valid server GUID.
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 →