← All days ◀ Day 2Day 4 ▶
28-Day SolidWorks Course · Week 1 · Day 03

Sketch Relations and Smart Dimensions

Relations carry design intent: "these holes are equal", "this line stays horizontal", "this arc is tangent". Learn every common relation and how Smart Dimension behaves.

⏱ about 2–3 hours🧪 Lab: Relation playground❓ 5-question quiz

1Today's goals

  • Add and delete relations with Add Relations and Display/Delete Relations
  • Use horizontal, vertical, parallel, perpendicular, collinear, equal, coincident, midpoint, tangent, concentric
  • Dimension lines, angles, diameters and arcs (min/max)
  • Recognise and repair conflicts

2Relations are rules

A dimension says how big. A relation says how things relate. Relations survive changes: if two holes are Equal, changing one changes both — that is design intent.

RelationSelectEffect
Horizontal / Verticalone or more lines, or two pointsLine runs along sketch X / Y; points line up
Parallel / Perpendiculartwo linesSame direction / 90°
Collineartwo linesOn the same infinite line
Equallines, or arcs/circlesSame length, or same radius
Coincidentpoint + point, line or arcPoint lies on the other entity
Midpointpoint + linePoint at the middle of the line
Tangentarc/circle + line or arcTouching smoothly
Concentric / Coradialtwo arcs/circlesSame centre / same centre and radius
Symmetriccentreline + two points or entitiesMirror-image about the centreline
Piercesketch point + curve from another sketchPoint sits where the curve passes through the sketch plane (sweeps, Day 9)
FixanyLocks in place — use sparingly, it hides missing intent

Smart Dimension behaviour

  • Click a line → its length. Click two parallel lines → distance between them. Click two non-parallel lines → angle.
  • Click a circle → diameter. Click an arc → radius. To dimension to the edge of an arc instead of its centre, hold Shift while clicking the arc (or set Arc Condition Min/Max in the dimension PropertyManager).
  • In the Modify box you can type maths: =120/2 gives 60, and ="Width"/2 links to a global variable (Day 12).
  • Tools ▸ Dimensions ▸ Fully Define Sketch adds the missing relations and dimensions for you — useful for checking, but review its choices.

3Do it in SolidWorks

  1. Sketch on the Front Plane: a rough line (A) and a second rough line (B) away from it.
  2. Display/Delete Relations ▸ Add Relation (or select both lines and use the context toolbar) → Parallel.
  3. Add Equal between A and B. Dimension only A — B follows.
  4. Draw a circle and make it Tangent to line A. Draw a second circle and add Concentric.
  5. Add a centreline through the origin and two points, then Symmetric about it.
  6. Turn on View ▸ Hide/Show ▸ Sketch Relations to see the green relation icons; click an icon and press Delete to remove a relation.
  7. Deliberately add Horizontal to a line already Parallel to an angled line. Read the over-defined message, then open SketchXpert ▸ Diagnose and accept a solution.

4Lab: relation playground

Line A and circle C2 are fixed. Apply relations and watch line B and circle C1 move to obey. Combine them — when two relations cannot both be true, the lab refuses, just as SolidWorks would flag the sketch as over defined. Try Parallel then Horizontal, or Tangent then Concentric.

5Pro tips and common mistakes

  • Watch the cursor while sketching: the little yellow icons are relations SolidWorks will add automatically. Hold Ctrl while sketching to stop automatic relations.
  • Prefer Equal and Symmetric over repeating dimensions — one change then updates everything.
  • Use Midpoint to centre features on edges instead of half-dimensions.
  • Fix is a shortcut that bites later — when the model changes, a fixed entity does not follow.

6Practice: link profile

Fully define a connecting-link outline using relations wherever possible:

  • Two circles, centres 100 apart on a horizontal centreline through the origin (left centre at the origin): outer R20 and R15.
  • Two straight lines tangent to both outer arcs (top and bottom). Trim to a closed outline.
  • Holes Ø16 and Ø12 concentric with the arcs.

Count: how many dimensions did you need? (A good answer is 5: 100, R20, R15, Ø16, Ø12.)

7Quick quiz

Five questions. Click an answer — you get the explanation straight away.

Progress is kept in this browser only.