Revit 2025 API
Rebar |
Returns the number of the bend on the other Rebar Element to which this RebarConstraint is attached.
The RebarConstraint must be of RebarConstraintType 'ToOtherRebar,' and the TargetRebarConstraintType
must be 'BarBend'.
Rebar must be Shape Driven Rebar element.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public int GetTargetRebarBendNumber()
Public Function GetTargetRebarBendNumber As Integer
public: int GetTargetRebarBendNumber()
member GetTargetRebarBendNumber : unit -> int
Return Value
Int32
Exception | Condition |
---|---|
InvalidOperationException | RebarConstraint is no longer valid. -or- The RebarConstraint is not of RebarConstraintType 'ToOtherRebar'. -or- The RebarTargetConstraintType is not 'BarBend' -or- Constrained rebar isn't a shape driven rebar element. |
See Also