Rebar.SetCrankRatioOverride
Description:
Sets the crank ratio at the indicated bar end as an override value.
Sets the crank ratio at the indicated bar end as an override value.
Remarks:
The crank slope is 1/crankRatio. When the crank ratio is set, the crank offset length is keeping the same value. The angled length and straight length are adjusted.
The crank slope is 1/crankRatio. When the crank ratio is set, the crank offset length is keeping the same value. The angled length and straight length are adjusted.
public void SetCrankRatioOverride(
int end,
double crankRatio
)
-
Int32endThe bar end.
-
DoublecrankRatioThe crank ratio.
-
end must be 0 or 1.
-
The bar does not have a valid Rebar Crank Type at the end. -or- The ability to override crank lengths is not enabled for this rebar instance. Use enableCrankLengthOverride(true) to enable it.