RebarBarType.SetAutoCalculatedStaggerLength
Description:
Sets if the stagger length is auto calculated or not for the specified Rebar Splice Type.
Sets if the stagger length is auto calculated or not for the specified Rebar Splice Type.
Remarks:
If it is auto calculated, stagger length value is computed based on the formula: stagger length multiplier (found in splice type) * lap length.
If it is auto calculated, stagger length value is computed based on the formula: stagger length multiplier (found in splice type) * lap length.
public void SetAutoCalculatedStaggerLength(
ElementId rebarSpliceTypeId,
bool autoCalculated
)
-
rebarSpliceTypeIdThe Rebar Splice Type id. Interactions with Rebar Splice Types can be done with the functions in RebarSpliceTypeUtils.
-
autoCalculatedTrue, if the stagger length is auto calculated, false otherwise.
-
The rebarSpliceTypeId doesn't represent a valid Rebar Splice Type. It should be an ElementType of BuiltInCategory.OST_RebarSpliceType category.
-
A non-optional argument was null