Applying Constraints that Reference Other Sketches or Existing Geometries

You can select an edge from another sketch or geometry when creating a constraint in the active sketch.

The selected edge is projected onto the active sketch and is used to constrain the target entity in the active sketch. If the plane of the active sketch intersects the plane of the reference sketch, you can use the pierce constraint. See Pierce Constraint. This constraint is only available when selecting a point from the active sketch and an edge from the reference sketch, and ensures that the two sketch entities are coincident.

An example demonstrating how the projection works is shown below.

This feature gives you the ability to align sketch entities with one or more existing sketches. The same is also true for reference geometries, where the selected edge on the reference geometry is projected onto the active sketch. You can only use edges from a reference sketch/geometry to constrain an active sketch. You cannot use vertices from the reference sketch/geometry. When you modify a reference entity, the projection of that entity on the constrained sketch is also modified. This action can change the constrained sketch. If you delete a reference entity, the constraint that is based on that projection is also deleted. Using a similar method, you can pierce another sketch on a different plane, ensuring that the active sketch and the reference sketch are coincident.

In the following example, the gray geometry is used to constrain the active sketch (shown in blue).

To constrain the active sketch using a reference geometry:

  1. Select the edge that you want to use as a reference from the reference geometry. This edge highlights in purple.

  2. While holding down the <Ctrl> key, right-click the desired entity on the active sketch and select the required constraint from the right-click menu. In this case, the line that is on a diagonal must be parallel to the selected edge of the reference geometry, so Apply Parallel Constraint is selected.

The diagonal edge from the reference geometry is projected to the active sketch and the constraint operation is carried out.

Note The projection does not appear on the active sketch. This operation is internal.
A symbol denoting the type of constraint is placed on the constrained sketch entity.

The two diagonal lines are now parallel to each other.