RebarShapeDrivenAccessor.SetLayoutAsCustomSpacing
Description:
Sets the Layout Rule property of rebar set to Custom Spacing.
Sets the Layout Rule property of rebar set to Custom Spacing.
public void SetLayoutAsCustomSpacing(
string customSpacingFormula,
double arrayLength,
bool barsOnNormalSide,
bool includeFirstBar,
bool includeLastBar
)
-
StringcustomSpacingFormulaThe layout formula.
-
DoublearrayLengthThe 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.
-
BooleanbarsOnNormalSideIdentifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal.
-
BooleanincludeFirstBarIdentifies if the first bar in rebar set is shown.
-
BooleanincludeLastBarIdentifies if the last bar in rebar set is shown.
-
The specified formula is not valid (doesn't have a valid syntax).
-
A non-optional argument was null
-
the set length arrayLength isn't acceptable.
-
This RebarShapeDrivenAccessor is an instance of a spiral or multiplanar shape.
-
This RebarShapeDrivenAccessor doesn't contain a valid rebar reference.