RebarShapeDefinitionBySegments.AddBendVariableRadius
Description:
Specify a variable-radius bend.
Specify a variable-radius bend.
Remarks:
You must add a bend between each two segments.
You must add a bend between each two segments.
public void AddBendVariableRadius(
int vertexIndex,
RebarShapeVertexTurn turn,
RebarShapeBendAngle angle,
ElementId paramId,
bool measureIncludingBarThickness
)
-
Int32vertexIndexIndex of the vertex (1 to NumberOfVertices - 2).
-
turnSpecify turn direction (RebarShapeVertexTurn::Left or RebarShapeVertexTurn::Right).
-
angleSpecify whether the bend is acute, obtuse, etc.
-
paramIdId of a parameter driving the radius.
-
BooleanmeasureIncludingBarThicknessIf true, the radius is measured to the outside of the bend; if false, it is measured to the inside.
-
vertexIndex is not between 0 and NumberOfVertices. -or- paramId is not the id of a shared parameter in the current document, or its unit type is not Reinforcement_Length, Angle or Number.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration