2024 Method
Changes 0
M

RebarShapeDefinitionByArc.SetConstraints

Description:
Assign a new list of constraints to this definition.
Remarks:
Any existing constraints are discarded. The new constraints replace them. Any parameters driving the constraints must already be added with AddParameter().

If the Type is Arc or LappedCircle, the allowable constraint types are:

  • RebarShapeConstraintArcLength
  • RebarShapeConstraintRadius
  • RebarShapeConstraintDiameter
  • RebarShapeConstraintCircumference
  • RebarShapeConstraintSagittaLength
  • RebarShapeConstraintChordLength
At least two independent constraints must be specified. Overconstraining is supported.

If the Type is Spiral, the allowable constraints are:

  • RebarShapeConstraintRadius
  • RebarShapeConstraintDiameter
  • RebarShapeConstraintCircumference
At least one constraint must be specified.

public void SetConstraints(
	IList<RebarShapeConstraint> constraints
)