RebarShapeDrivenAccessorSetLayoutAsCustomSpacing Method |
Sets the Layout Rule property of rebar set to Custom Spacing.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntaxpublic void SetLayoutAsCustomSpacing(
string customSpacingFormula,
double arrayLength,
bool barsOnNormalSide,
bool includeFirstBar,
bool includeLastBar
)
Public Sub SetLayoutAsCustomSpacing (
customSpacingFormula As String,
arrayLength As Double,
barsOnNormalSide As Boolean,
includeFirstBar As Boolean,
includeLastBar As Boolean
)
public:
void SetLayoutAsCustomSpacing(
String^ customSpacingFormula,
double arrayLength,
bool barsOnNormalSide,
bool includeFirstBar,
bool includeLastBar
)
member SetLayoutAsCustomSpacing :
customSpacingFormula : string *
arrayLength : float *
barsOnNormalSide : bool *
includeFirstBar : bool *
includeLastBar : bool -> unit Parameters
- customSpacingFormula String
-
The layout formula.
- arrayLength Double
-
The distribution length of rebar set. This will be used only if the formula contains percentage or it contains "?",
otherwise the array length will be calculated from the formula and will be stored in the rebar.
- barsOnNormalSide Boolean
-
Identifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal.
- includeFirstBar Boolean
-
Identifies if the first bar in rebar set is shown.
- includeLastBar Boolean
-
Identifies if the last bar in rebar set is shown.
Exceptions
See Also