Learn how to use the Horizontal/Vertical constraint to align sketch lines and points horizontally or vertically relative to the sketch plane.
What is the Horizontal/Vertical constraint?
You can use the Horizontal/Vertical constraint to align sketch lines or points horizontally or vertically. Horizontal and vertical directions in a sketch correspond to the axes of the sketch plane.
The Horizontal/Vertical constraint supports the following sketch geometry:
- Lines – Constrain one or more sketch lines to a horizontal or vertical direction.
- Points – Align two sketch points horizontally or vertically without creating a connecting line.
How to create a Horizontal/Vertical constraint
Constrain sketch lines
To make sketch lines horizontal or vertical:
- Select one or more lines on the same sketch plane.
- From the Constraints menu, select Horizontal/Vertical.
The selected lines align with the axis closest to their original direction.
Constrain sketch points
To align two sketch points horizontally or vertically:
- Select two points on the same sketch plane.
- From the Constraints menu, select Horizontal/Vertical.
The constraint establishes a horizontal or vertical relationship between the selected points without requiring a line connecting them.
When to use the Horizontal/Vertical constraint
The Horizontal/Vertical constraint is useful for:
- Creating orthogonal profiles – Keep sketch lines horizontal or vertical when creating rectangular or other orthogonal shapes.
- Aligning separate sketch items – Align points belonging to different sketch items without adding connecting geometry.
- Positioning circular features – Align the center points of circles or arcs along a horizontal or vertical direction.
- Maintaining sketch relationships – Preserve horizontal or vertical alignment when modifying sketch dimensions or geometry.
Best practices and troubleshooting
- Use the Horizontal/Vertical constraint on lines when you want to control their orientation.
- Apply the constraint directly to points when you want to align sketch items without creating additional geometry.
- Remember that horizontal and vertical directions are relative to the sketch plane.
- Review existing constraints if the selected geometry cannot be aligned.
| Issue | What to check |
|---|---|
| The constraint is unavailable. | Check that you have selected supported sketch geometry on the same sketch plane. |
| A line aligns in the wrong direction. | The alignment is based on the line's original direction. Undo the action, adjust the line closer to the intended direction, and apply the constraint again. |
| The selected geometry cannot be aligned. | Check for existing dimensions or constraints that conflict with the intended alignment. |
Tip
You can automatically create Horizontal/Vertical constraints while sketching when Auto-constraining is turned on. To learn more, visit Constraint Settings.