SetLayoutAsFixedNumber Method


Sets the Layout Rule property of rebar set to Fixed Number.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2018

Syntax

C#
public void SetLayoutAsFixedNumber(
	int numberOfBars
)
Visual Basic
Public Sub SetLayoutAsFixedNumber ( _
	numberOfBars As Integer _
)
Visual C++
public:
void SetLayoutAsFixedNumber(
	int numberOfBars
)

Parameters

numberOfBars
Type: SystemInt32
The number of bars in set.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException 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 →