GetCurrentConstraintOnHandle Method


Rebar Constraints Manager Get Current Constraint On Handle Method

Retrieves the RebarConstraint that acts on the specified RebarConstraintHandle.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public RebarConstraint GetCurrentConstraintOnHandle(
	RebarConstrainedHandle handle
)

Parameters

handle RebarConstrainedHandle

Return Value

RebarConstraint
Exceptions
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.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →