RebarShapeDrivenAccessor.SetLayoutAsFixedNumber
Description:
Sets the Layout Rule property of rebar set to FixedNumber.
Sets the Layout Rule property of rebar set to FixedNumber.
Remarks:
When changing the layout rule to FixedNumber, you must also simultaneously set NumberOfBarPositions, SetLength, BarsOnNormalSide, IncludeFirstBar, and IncludeLastBar properties.
When changing the layout rule to FixedNumber, you must also simultaneously set NumberOfBarPositions, SetLength, BarsOnNormalSide, IncludeFirstBar, and IncludeLastBar properties.
public void SetLayoutAsFixedNumber(
int numberOfBarPositions,
double arrayLength,
bool barsOnNormalSide,
bool includeFirstBar,
bool includeLastBar
)
-
numberOfBarPositionsThe number of bar positions in rebar set
-
arrayLengthThe distribution length of rebar set
-
barsOnNormalSideIdentifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal
-
includeFirstBarIdentifies if the first bar in rebar set is shown
-
includeLastBarIdentifies if the last bar in rebar set is shown
-
the number of bar positions numberOfBarPositions is less than 1 or more than 1002. -or- 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.