<Code Lib>
2026 Method
Changes 7
M

RebarCrankTypeUtils.GetCrankOffsetMultiplier

Description:
Gets the crank offset multiplier value.

public static double GetCrankOffsetMultiplier(
	Document document,
	ElementId rebarCrankTypeId
)

  • document
    The document.
  • rebarCrankTypeId
    The Rebar Crank Type id.
Return Value Double Returns the crank offset multiplier value.

  • The rebarCrankTypeId doesn't represent a valid Rebar Crank Type. It should be an ElementType of BuiltInCategory.OST_RebarCrankType category.
  • A non-optional argument was null

Loading…