Returns the angular increment along a bar or hook bend to which the RebarConstraint is attached.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public int GetTargetRebarAngleOnBarOrHookBend()
Return Value
Int32The angular increment relative to the reference bar edge.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToOtherRebar'. -or- The RebarTargetConstraintType is not 'HookBend' or 'BarBend'. -or- Constrained rebar isn't a shape driven rebar element. |