RebarShapeConstraint180DegreeBendRadius Constructor


Create a 180-degree bend constraint driven by radius.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2012

Syntax

C#
public RebarShapeConstraint180DegreeBendRadius(
	ElementId paramId,
	RebarShapeArcReferenceType refType
)
Visual Basic
Public Sub New ( _
	paramId As ElementId, _
	refType As RebarShapeArcReferenceType _
)
Visual C++
public:
RebarShapeConstraint180DegreeBendRadius(
	ElementId^ paramId, 
	RebarShapeArcReferenceType refType
)

Parameters

paramId
Type: Autodesk.Revit.DB ElementId
The Id of a Rebar Shape parameter.
refType
Type: Autodesk.Revit.DB.Structure RebarShapeArcReferenceType
A choice of rule for measuring the radius.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException paramId is not a valid Element identifier.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null
Autodesk.Revit.Exceptions ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

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 →