RebarGetLayoutFormula Method

Gets the formula that is used to compute the spacings between bars.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public string GetLayoutFormula(
	bool formatFormula
)

Parameters

formatFormula  Boolean
If it's false the returned string will contain values that are not rounded and they are in internal Revit units (decimal feet), otherwise it will be formatted according to project units.

Return Value

String
Returns the formula that is used to compute the spacings between bars.
Exceptions
ExceptionCondition
InvalidOperationException Rebar should have CustomSpacing layout.
See Also