Sets the relationship between two RebarConstrainedHandles.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:
2020.1
Syntax
| C# |
|---|
public void SetToBindHandleWithTarget(
bool bindsHandleWithTarget
) |
| Visual Basic |
|---|
Public Sub SetToBindHandleWithTarget ( _
bindsHandleWithTarget As Boolean _
) |
| Visual C++ |
|---|
public:
void SetToBindHandleWithTarget(
bool bindsHandleWithTarget
) |
Parameters
- bindsHandleWithTarget
- Type: System..::..Boolean
False if only the constrained RebarConstrainedHandle follows the target. True if the constrained RebarConstrainedHandle and the target bar handle will be bound and move together.
Remarks
Exceptions
| Exception | Condition |
|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException |
RebarConstraint is no longer valid.
-or-
The RebarConstraint is not of RebarConstraintType 'ToOtherRebar.'
-or-
The RebarTargetConstraintType is 'HookBend' or 'BarBend'.
-or-
The RebarTargetConstraintType is 'OutOfPlaneExtent' and the rebar target layout is 'Number with Spacing'.
|
See Also