Modifying Constraints

You can modify the constraint using the Constraint Definition dialog box or just by dragging constrained geometry. To activate or deactivate the constraint use the contextual menu commands.

This task shows you how to:


Before you begin: Create a simple profile similar to the one below (with a circle and an offset) and apply constraints to it.
Related Topics
More About Modifying Constraints

Edit Sketcher Constraints

You can modify the constraint using the Constraint Definition dialog box.

  1. Double-click the radius constraint.



    The Constraint Definition dialog box appears.

  2. Select the Reference check box to make the constraint a reference .

    The Radius field is deactivated, indicating that the value is now driven by modifications to the sketch.

    Using the Reference mode, the offset value is displayed between brackets indicating this mode and measured from the component locations. When the offset constraint supporting elements are two non-parallel lines or the offset constraint is over-constrained, the offset value cannot be measured, the constraint is invalid, any value is displayed and two pound signs are displayed between the brackets (##).

  3. Click OK to confirm.

    The radius value is displayed in brackets in the geometry area.

  4. Double-click the angle constraint corresponding to 110 degrees.

    The Constraint Definition dialog box appears.

  5. Type 125 deg and click OK.

    The new value is displayed in the geometry area. It affects the angle. The sketch shape is also modified due to the radius previously converted into a measure.

  6. Double-click the Offset.xxx constraint.

    The Constraint Definition dialog box appears.

  7. Click the More button to access additional information.



  8. Click the Line.xxx component.

    The related geometry is highlighted.

  9. Click Reconnect... to redefine the constraint component.

  10. Select Line.6 and type 52mm in the Value field.

  11. Click OK.

    The position of the profile is modified accordingly.

  12. Exit the Sketcher.

    The application has integrated the modifications to the sketch.

    Important: When you are in the Repeat mode (you double-clicked on the command for creating a constraint), if you try to edit an existing constraint while creating another constraint, the modification will only be taken into account when you have finished creating this other constraint.

Modify Constraint Values by Using the Shift Key

It is possible to edit dimensional constraint values just by dragging constrained geometry. This is a quick way of editing constraints without launching dialog boxes.

  1. Press the Shift key and drag the vertical line to the right as shown below.

    You can notice that the value of the angle constraint is not only modified as you are dragging the cursor, but it is also displayed between parentheses, meaning that it is temporarily converted into a reference. In other words, you can move the geometry freely, with respect to geometric constraints.

  2. Press the Shift key and drag the vertical line to the right as shown below.

    The modified angle value is displayed (137.913), and is no longer a reference:

    If Snap to Point is active, the geometry is moved according to the spacing you defined for the grid. For more information, see the customization section of the Sketcher.

Deactivate or Activate Constraints

To deactivate a constraint, right-click the constraint and select xxx.N.object > Deactivate.

  1. Right-click the constraint and select xxx.N.object > Deactivate. This constraint will still appear on the sketch but will not behave as such.

    Deactivated constraints appear preceded by an open-close brackets symbol in the geometry and in the specification tree.

  2. Right-click the constraint and select Activate to activate a constraint.