Revit 2025.3 API
Rebar |
Sets if the stagger length is auto calculated or not for the specified Rebar Splice Type.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetAutoCalculatedStaggerLength( ElementId rebarSpliceTypeId, bool autoCalculated )
Public Sub SetAutoCalculatedStaggerLength ( rebarSpliceTypeId As ElementId, autoCalculated As Boolean )
public: void SetAutoCalculatedStaggerLength( ElementId^ rebarSpliceTypeId, bool autoCalculated )
member SetAutoCalculatedStaggerLength : rebarSpliceTypeId : ElementId * autoCalculated : bool -> unit
Parameters
- rebarSpliceTypeId ElementId
- The Rebar Splice Type id. Interactions with Rebar Splice Types can be done with the functions in RebarSpliceTypeUtils.
- autoCalculated Boolean
- True, if the stagger length is auto calculated, false otherwise.

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 |

If it is auto calculated, stagger length value is computed based on the formula: stagger length multiplier (found in splice type) * lap length.
See Also