RebarBarType.SetLapLength
Method
Description:
Sets the lap length for the specified Rebar Splice Type.
Sets the lap length for the specified Rebar Splice Type.
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>. |
lapLength | Double | The new value of the lap length. |
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. -or- For the specified Rebar Splice Type the lap length is auto calculated and the lap length cannot be manually set. Its value is computed based on the formula splice type: lap length multiplier * bar nominal diameter. |
ArgumentNullException | A non-optional argument was null |