RebarBarTypeGetAutoCalculatedStaggerLength Method |
Identifies if the stagger length is auto calculated for the specified Rebar Splice Type.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool GetAutoCalculatedStaggerLength(
ElementId rebarSpliceTypeId
)
Public Function GetAutoCalculatedStaggerLength (
rebarSpliceTypeId As ElementId
) As Boolean
public:
bool GetAutoCalculatedStaggerLength(
ElementId^ rebarSpliceTypeId
)
member GetAutoCalculatedStaggerLength :
rebarSpliceTypeId : ElementId -> bool
Parameters
- rebarSpliceTypeId ElementId
-
The Rebar Splice Type id.
Interactions with Rebar Splice Types can be done with the functions in RebarSpliceTypeUtils.
Return Value
Boolean
Returns true if the stagger length is auto calculated for the specified rebar bar type and Rebar Splice Type, false otherwise.
ExceptionsException | 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
|
Remarks
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