Revit 2025 API
Rebar |
Sets the rotation angle in radians for the bending detail relative to its view.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static void SetRotation( Element bendingDetail, double rotation )
Public Shared Sub SetRotation ( bendingDetail As Element, rotation As Double )
public: static void SetRotation( Element^ bendingDetail, double rotation )
static member SetRotation : bendingDetail : Element * rotation : float -> unit
Parameters

Exception | Condition |
---|---|
ArgumentException | -or- The given value for rotation is not a number -or- The given value for rotation is not finite |
ArgumentNullException | A non-optional argument was null |
See Also