Highlights the specified RebarConstrainedHandle and RebarConstraint in all views.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public void HighlightHandleConstraintPairInAllViews( Document aDoc, RebarConstrainedHandle handle, RebarConstraint constraint )
Parameters
- aDoc Document
- handle RebarConstrainedHandle
- The RebarConstrainedHandle to be highlighted in all views.
- constraint RebarConstraint
- The RebarConstraint to be highlighted in all views.
Exceptions
Exception | Condition |
---|---|
ArgumentException | constraint is no longer valid. -or- handle is no longer valid. -or- The handle should have the default behavior. -or- The constraint should be for handle with default behavior. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The RebarConstraintsManager does not manage a valid Rebar element. |