RebarConstraint.CreateConstraintToCustomTarget
Description:
This method creates a constraint of 'ToCustomTarget' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Free Form Rebar should allow constrains to custom target.
This method creates a constraint of 'ToCustomTarget' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Free Form Rebar should allow constrains to custom target.
public static RebarConstraint CreateConstraintToCustomTarget(
RebarConstrainedHandle handle,
double distanceToCustomTarget
)
-
handleThe handle of the rebar that will be constrained.
-
DoubledistanceToCustomTargetThe distance to the custom target.
-
handle is no longer valid. -or- The RebarConstrainedHandle doesn't allow constraint of RebarConstraintType.ToCustomTarget type.
-
A non-optional argument was null
-
The given value for distanceToCustomTarget must be no more than 30000 feet in absolute value.