2027 Method
Changes 8
M

RebarConstraint.CreateConstraintToRebarEdge

Description:
This method creates a constraint of 'ToOtherRebar' type with target type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a Free Form Rebar, otherwise it will throw exception.
public static RebarConstraint CreateConstraintToRebarEdge(
	RebarConstrainedHandle handle,
	IList<ConstraintToRebarEdgeProperties> allEdgesProperties
)
Return Value RebarConstraint Returns the newly created RebarConstraint.
  • handle is no longer valid. -or- Constrained rebar isn't a Free Form Rebar element. -or- The RebarConstrainedHandle doesn't allow constraint of RebarConstraintType.ToOtherRebar type, where target is TargetRebarConstraintType.Edge"/>. -or- All targets(TargetRebarEdge) should be different.
  • A non-optional argument was null