RVTDocs.com

RebarShapeVertex.SetConstraints

Method
Description:
Assign a new list of constraints to this vertex.
Remarks:
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:

  • RebarShapeConstraintRadius
  • RebarShapeConstraintArcLength
Any number of constraints may be specified. With no constraints, the bend radius will default to the appropriate bend radius from the RebarBarType element.

Syntax
public void SetConstraints(
	IList<RebarShapeConstraint> constraints
)
Parameters
Parameter Type Description
constraints IList A new list of constraints.
Return Value
Exceptions
Exception Condition
ArgumentException One or more of the constraints is of a type not supported for RebarShapeVertex.
ArgumentNullException A non-optional argument was null