RebarShapeGetHookRotationAngle Method |
Note: This API is now obsolete.
Gets the termination's (e.g hook, crank) out of plane rotation angle at the specified end.
The angle is used for both hook and crank.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd instead.")]
public double GetHookRotationAngle(
int end
)
<ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd instead.")>
Public Function GetHookRotationAngle (
end As Integer
) As Double
public:
[ObsoleteAttribute(L"This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd instead.")]
double GetHookRotationAngle(
int end
)
[<ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.GetTerminationsData().TerminationRotationAngleAtStart or RebarShape.GetTerminationsData().TerminationRotationAngleAtEnd instead.")>]
member GetHookRotationAngle :
end : int -> float
Parameters
- end Int32
-
0 for the start, 1 for the end.
Return Value
Double
Returns the termination's (e.g hook, crank) out of plane rotation angle at the specified end.
The angle is used for both hook and crank.
Exceptions
See Also