RebarBarType.SetAutoCalculatedLapLength
Method
Description:
Sets if the lap length is auto calculated or not for the specified Rebar Splice Type.
Sets if the lap length is auto calculated or not for the specified Rebar Splice Type.
Remarks:
If it is auto calculated, lap length value is computed based on the formula: lap length multiplier (found in splice type) * bar nominal diameter.
If it is auto calculated, lap length value is computed based on the formula: lap length multiplier (found in splice type) * bar nominal diameter.
Parameters
Parameter | Type | Description |
---|---|---|
rebarSpliceTypeId | ElementId | The Rebar Splice Type id. Interactions with Rebar Splice Types can be done with the functions in <a href="98b9e51e-cd97-954d-4a31-a5189696b27e.htm">RebarSpliceTypeUtils</a>. |
autoCalculated | Boolean | True, if the lap length is auto calculated, false otherwise. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The rebarSpliceTypeId doesn't represent a valid Rebar Splice Type. It should be an ElementType of BuiltInCategory.OST_RebarSpliceType category. |
ArgumentNullException | A non-optional argument was null |