AddConstraintArcLength Method


Specify a parameter to drive the arc length of the shape.

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

Syntax

C#
public void AddConstraintArcLength(
	ElementId paramId
)
Visual Basic
Public Sub AddConstraintArcLength ( _
	paramId As ElementId _
)
Visual C++
public:
void AddConstraintArcLength(
	ElementId^ paramId
)

Parameters

paramId
Type: Autodesk.Revit.DBElementId
Id of a parameter to drive the constraint. To obtain the id of a shared parameter, call RebarShape.GetElementIdForExternalDefinition().

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null

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 →