RebarShapeSegment.SetConstraints
Description:
Assign a new list of constraints to this segment.
Assign a new list of constraints to this segment.
Remarks:
Any existing constraints are discarded. The new constraints replace them. Any parameters driving the constraints must already be added with RebarShapeDefinition.AddParameter().
Any existing constraints are discarded. The new constraints replace them. Any parameters driving the constraints must already be added with RebarShapeDefinition.AddParameter().
The allowable constraint types are:
- RebarShapeConstraintAngleFromFixedDir
- RebarShapeConstraintSegmentLength
- RebarShapeConstraintFixedSegmentDir
- RebarShapeConstraintProjectedSegmentLength
- RebarShapeConstraint180DegreeBendArcLength
- RebarShapeConstraint180DegreeBendRadius
- RebarShapeConstraint180DegreeDefaultBend
public void SetConstraints(
IList<RebarShapeConstraint> constraints
)
-
IList<RebarShapeConstraint>constraintsA new list of constraints.
-
One or more of the constraints is of a type not supported for RebarShapeSegment.
-
A non-optional argument was null