Revit 2026 API
Rebar |
Specify a parameter to drive the radius of the shape.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void AddConstraintRadius( ElementId paramId, RebarShapeArcReferenceType arcRefType )
Public Sub AddConstraintRadius ( paramId As ElementId, arcRefType As RebarShapeArcReferenceType )
public: void AddConstraintRadius( ElementId^ paramId, RebarShapeArcReferenceType arcRefType )
member AddConstraintRadius : paramId : ElementId * arcRefType : RebarShapeArcReferenceType -> unit
Parameters
- paramId ElementId
- Id of a parameter to drive the constraint. To obtain the id of a shared parameter, call RebarShape.GetElementIdForExternalDefinition().
- arcRefType RebarShapeArcReferenceType
- Specify how the radius should be measured--to the interior of the bend, the centerline of the bar, or the exterior.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
See Also