Skip to content

RebarShapeDefinitionByArc.AddConstraintChordLength

Public Class

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.