SetCrankOffsetMultiplier Method


Rebar Crank Type Utils Set Crank Offset Multiplier Method

Sets 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 void SetCrankOffsetMultiplier(
	Document document,
	ElementId rebarCrankTypeId,
	double crankOffsetMultiplier
)

Parameters

document Document
The document.
rebarCrankTypeId ElementId
The Rebar Crank Type id.
crankOffsetMultiplier Double
The crank offset multiplier value.
Exceptions
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
ArgumentOutOfRangeException The given value for crankOffsetMultiplier must be positive.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →