GetAllConstrainedHandles Method


Retrieves all handles on the Rebar that are constrained to external references.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2014

Syntax

C#
public IList<RebarConstrainedHandle> GetAllConstrainedHandles()
Visual Basic
Public Function GetAllConstrainedHandles As IList(Of RebarConstrainedHandle)
Visual C++
public:
IList<RebarConstrainedHandle^>^ GetAllConstrainedHandles()

Return Value

A collection of RebarConstrainedHandles

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException 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 →