RebarSetLayoutFormula Method

Sets the specified formula for custom spacing.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public void SetLayoutFormula(
	string customSpacingFormula
)

Parameters

customSpacingFormula  String
The formula that will be set.
Exceptions
ExceptionCondition
ArgumentException The specified formula is not valid (doesn't have a valid syntax). -or- The formula determines an array length of the Rebar set that is not between (0, 10000] feet.
ArgumentNullException A non-optional argument was null
InvalidOperationException Rebar should have CustomSpacing layout.
See Also