AddConstraintChordLength Method


Rebar Shape Definition By Arc Add Constraint Chord Length Method

Specify a parameter to drive the chord length (the straight-line distance between the endpoints of the arc).

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void AddConstraintChordLength(
	ElementId paramId
)

Parameters

paramId ElementId
Id of a parameter to drive the constraint. To obtain the id of a shared parameter, call RebarShape.GetElementIdForExternalDefinition().
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
The chord length is measured on the centerline of the bar.
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 →