Gets the crank ratio at the indicated bar end.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public double GetCrankRatio( int end )
Parameters
- end Int32
- The bar end.
Return Value
DoubleReturns the crank ratio.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | end must be 0 or 1. |
InvalidOperationException | The bar does not have a valid Rebar Crank Type at the end. |