RebarShapeDefinitionByArc.AddConstraintRadius
Method
Description:
Specify a parameter to drive the radius of the shape.
Specify a parameter to drive the radius of the shape.
Parameters
Parameter | Type | Description |
---|---|---|
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. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |