RebarConstraint.CreateConstraintToSurface
Description:
This method creates a constraint of 'ToSurface' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Shape Driven Rebar, otherwise it will throw exception.
This method creates a constraint of 'ToSurface' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Shape Driven Rebar, otherwise it will throw exception.
public static RebarConstraint CreateConstraintToSurface(
RebarConstrainedHandle handle,
Surface surface
)
-
handleThe handle of the rebar that will be constrained.
-
surfaceThe surface that will be used by the constraint.
-
handle is no longer valid. -or- -or- The RebarConstrainedHandle doesn't allow constraint of RebarConstraintType.ToSurface type.
-
A non-optional argument was null