Share

RebarCrankTypeUtils.GetCrankOffsetMultiplier Method

Gets the crank offset multiplier value.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static double GetCrankOffsetMultiplier(
	Document document,
	ElementId rebarCrankTypeId
)

Parameters

document  Document
The document.
rebarCrankTypeId  ElementId
The Rebar Crank Type id.

Return Value

Double
Returns the crank offset multiplier value.

Exceptions

ExceptionCondition
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

Reference

Was this information helpful?