M

RebarBarType.SetCrankLength

Description:
Sets the crank length for the specified Rebar Crank Type.
public void SetCrankLength(
	ElementId rebarCrankTypeId,
	double length
)
  • rebarCrankTypeId
    The Rebar Crank Type id. Interactions with Rebar Crank Types can be done with the functions in RebarCrankTypeUtils.
  • Double
    length
    The new value of the crank length.
  • The rebarCrankTypeId doesn't represent a valid Rebar Crank Type. It should be an ElementType of BuiltInCategory.OST_RebarCrankType category. -or- For the specified Rebar Crank Type is auto calculated and the cannot be manually set.
  • A non-optional argument was null
  • The given value for length must be positive.