Revit 2026 API
Rebar |
Gets the crank offset multiplier value.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static double GetCrankOffsetMultiplier( Document document, ElementId rebarCrankTypeId )
Public Shared Function GetCrankOffsetMultiplier ( document As Document, rebarCrankTypeId As ElementId ) As Double
public: static double GetCrankOffsetMultiplier( Document^ document, ElementId^ rebarCrankTypeId )
static member GetCrankOffsetMultiplier : document : Document * rebarCrankTypeId : ElementId -> float
Parameters
Return Value
DoubleReturns the crank offset multiplier value.
| Exception | Condition |
|---|---|
| ArgumentException | The rebarCrankTypeId doesn't represent a valid Rebar Crank Type. It should be an ElementType of BuiltInCategory.OST_RebarCrankType category. |
| ArgumentNullException | A non-optional argument was null |
See Also