RebarGetCrankRatio Method |
Gets the crank ratio at the indicated bar end.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic double GetCrankRatio(
int end
)
Public Function GetCrankRatio (
end As Integer
) As Double
public:
double GetCrankRatio(
int end
)
member GetCrankRatio :
end : int -> float
Parameters
- end Int32
-
The bar end.
Return Value
Double
Returns the crank ratio.
Exceptions
Remarks
The crank slope is 1/crankRatio.
If the crank lengths are overriden will return the overriden value. Otherwise will return the value from the RebarBarType for the existing Crank Type.
See Also