RebarConstraint.CreateConstraintToHostEdgeCover
Description:
This method creates a constraint of 'ToHostEdgeCover' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Free Form Rebar and must be allowed to constrain to host edges.
This method creates a constraint of 'ToHostEdgeCover' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Free Form Rebar and must be allowed to constrain to host edges.
public static RebarConstraint CreateConstraintToHostEdgeCover(
RebarConstrainedHandle handle,
IList<Reference> targetReferences
)
-
handleThe handle of the rebar that will be constrained.
-
IList<Reference>targetReferencesThe references to which the rebar handle will be constrained. This collection must contain one or more references to edges of an element that can host rebar.
-
handle is no longer valid. -or- targetReferences is empty. -or- The RebarConstrainedHandle doesn't allow constraint of RebarConstraintType.ToHostEdgeCover type. -or- targetReferences do not represent edges from the same structural that can host rebar.
-
A non-optional argument was null