RebarShapeDefinitionBySegments.AddBendDefaultRadius
Method
Description:
Specify a default-radius bend.
Specify a default-radius bend.
Remarks:
You must add a bend at each vertex except the first and last.
You must add a bend at each vertex except the first and last.
Syntax
public void AddBendDefaultRadius(
int vertexIndex,
RebarShapeVertexTurn turn,
RebarShapeBendAngle angle
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| vertexIndex | Int32 | Index of the vertex (1 to NumberOfVertices - 2). |
| turn | RebarShapeVertexTurn | Specify turn direction (RebarShapeVertexTurn::Left or RebarShapeVertexTurn::Right). |
| angle | RebarShapeBendAngle | Specify whether the bend is acute, obtuse, etc. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | vertexIndex is not between 0 and NumberOfVertices. |
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |