Rebar.GetCrankAngledLength Method

RebarGetCrankAngledLength Method

Gets the crank angled length at the indicated bar end. If the crank lengths are overriden will return the overriden value. Otherwise will return the value from the RebarBarType for the existing Crank Type.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public double GetCrankAngledLength(
	int end
)
Public Function GetCrankAngledLength ( 
	end As Integer
) As Double
public:
double GetCrankAngledLength(
	int end
)
member GetCrankAngledLength : 
        end : int -> float 

Parameters

end  Int32
The bar end.

Return Value

Double
Returns the crank angled length.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException end must be 0 or 1.
InvalidOperationException The bar does not have a valid Rebar Crank Type at the end.
See Also