public void SetCrankTypeId( int end, ElementId crankTypeId )
| Exception | Condition |
|---|---|
| ArgumentException | the parameter crankTypeId is not a Rebar Crank Type. It should be an ElementType of BuiltInCategory.OST_RebarCrankType category. |
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | end must be 0 or 1. |