Retrieves the RebarConstraint that acts on the specified RebarConstraintHandle.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public RebarConstraint GetCurrentConstraintOnHandle( RebarConstrainedHandle handle )
Parameters
- handle RebarConstrainedHandle
Return Value
RebarConstraintExceptions
Exception | Condition |
---|---|
ArgumentException | handle is no longer valid. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | The RebarConstraintsManager does not manage a valid Rebar element. |