GetCustomConstraints Method


Gets all rebar constraints that are attached to custom handles for this rebar.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2018

Syntax

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

Return Value

Returns all rebar constraints that are attached to custom handles for this rebar. This array does not contains the start and end constraints.

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 →