RebarFreeFormAccessorSetLayoutAsFixedNumber Method

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

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void SetLayoutAsFixedNumber(
	int numberOfBars
)

Parameters

numberOfBars  Int32
The number of bars in set.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException the number of bar positions numberOfBars is less than 1 or more than 1002.
InvalidOperationException This RebarFreeFormAccessor doesn't contain a valid rebar reference. -or- This RebarFreeFormAccessor Rebar doesn't contain a valid server GUID.
See Also