RebarConstraintsManager.SetPreferredConstraintsToSurfaceForHandles
Description:
For ShapeDriven Rebar it will set a preferred 'ToSurface' RebarConstraint for each input handle. The surface that will be used by the constraint is the current surface that is used to compute the position of the handle.
For ShapeDriven Rebar it will set a preferred 'ToSurface' RebarConstraint for each input handle. The surface that will be used by the constraint is the current surface that is used to compute the position of the handle.
public void SetPreferredConstraintsToSurfaceForHandles(
IList<RebarConstrainedHandle> handles
)
-
IList<RebarConstrainedHandle>handlesThe RebarConstrainedHandles for which the 'ToSurface' RebarConstraint will be applied.
-
One of the RebarConstrainedHandle is no longer valid.
-
A non-optional argument was null
-
The RebarConstraintsManager does not manage a valid Rebar element. -or- The RebarConstraintsManager does not manage a shape driven Rebar element.