Rebar.SetCrankTypeId
Description:
Sets the id of the Crank Type to be applied to the rebar.
Sets the id of the Crank Type to be applied to the rebar.
public void SetCrankTypeId(
int end,
ElementId crankTypeId
)
-
Int32end0 for the start Crank, 1 for the end Crank.
-
crankTypeIdThe id of a Crank Type element, or invalidElementId if the rebar should have no crank at the specified end.
-
the parameter crankTypeId is not a Rebar Crank Type. It should be an ElementType of BuiltInCategory.OST_RebarCrankType category.
-
A non-optional argument was null
-
end must be 0 or 1.