Applying Constraints

You can quickly define constraints for sketch elements. To do so, you have two possibilities.

This task shows you how to:

Using the Sketch Tools Toolbar

The Geometrical Constraint and Dimensional  Constraints options are activated by default:

  •  Geometrical Constraint displays all detected geometrical constraints. This option is only applicable when creating an object. Creating geometric constraint is possible independently of this option.
  •  Dimensional Constraint only displays distance constraints when the option is activated.

Create a rectangle with a corner.

Geometrical Constraints

  1. Keep only Geometrical Constraint activated.

  2. Click Circle from the Profile toolbar.

  3. Select the corner center to define the one of the circle.

  4. Drag the cursor to define the circle dimensions.

  5. Click in the geometry when you are satisfied with the dimensions.

The circle is created and the geometrical constraints have been detected. These constraints can be visualized either in the geometry area or in the specification tree.


Optionally, select the circle and move it to see the tangency constraint is well applied.

  1. Right-click the construction line and select Delete.
    The construction line has been deleted as long as its associated geometry.

Dimensional Constraints

  1. Keep only Dimensional Constraint activated.

  2. Click Circle in the Profiles toolbar.

  3. Select the corner center to define the one of the circle.
    Note that this symbol is displayed by the SmartPick as a coincidence between two points is detected.


The Sketch tools toolbar expands.

  1. Enter a radius value, for instance 20mm.

  1. Press Enter.

The dimensional constraint is displayed in the geometry.

If you want to keep the dimensional constraints displayed, Dimensional Constraint must be activated.


Use the Constraints Toolbar

  1. Keep your sketch open.

  1. Select the rectangle top line.

  1. Click Constraint in the Constraints toolbar.

  1. Click in the geometry to create the constraint.

  1. Select the rectangle left hand side line.

  1. Click Constraint from the Constraints toolbar.
    The geometry color is swapped to the purple color which means that it is over constraint.

You can use the Sketch analysis to have a diagnosis the over-constraint elements. This option will be seen later on in this tutorial in the Analyzing Sketches section which comes next.
  1. Click in the geometry to create the constraint.

  1. Right-click the Radius constraint and select Delete.
    The constraint is deleted and the geometry is no longer over-constrained.

  • You can also set constraints using Constraints Defined in Dialog Box available in the Constraint toolbar. You just need to select the constraints you wish to apply.
  • You can refer to Selecting Using a Filter and Selecting Using Other Selection... Command in the
    Infrastructure User's Guide to help you select the elements that you want to constrain.