Gets the RebarHandleBehavior of the handle of the other Rebar Element to which this RebarConstraint is attached.
The RebarConstraintType of the RebarConstraint must be 'ToOtherRebar'.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public RebarHandleBehavior GetTargetRebarHandleBehavior()
Return Value
RebarHandleBehavior
Returns the RebarHandleBehavior of the handle of the other Rebar Element to which this RebarConstraint is attached.
Exceptions
| Exception | Condition |
|---|
| InvalidOperationException |
RebarConstraint is no longer valid.
-or-
The RebarConstraint is not of RebarConstraintType 'ToOtherRebar'.
-or-
Constrained rebar isn't a shape driven rebar element.
|
See Also
Reference