BIM

Object snap in AutoCAD: turning it on, tuning it, and fixing snaps that fail

Object snap in AutoCAD switches on with F3. This guide covers picking the right modes, one-off overrides, and fixing snaps that fail on hatches and dimensions.

  • Assoc. Prof. Tran Anh Binh
  • 10 min read
A new drawing turns on only four object snaps, and misses the one building work needs most Photo: Diagram by the Institute of Information Technology in Civil Engineering

Object snap in AutoCAD decides whether a drawing is actually accurate. The human eye cannot place a crosshair exactly on the end of a line, so without snapping every line lands a few units out — the drawing looks right and measures wrong.

This article is written so you can follow along at the machine: how to switch snapping on, which modes a building drawing needs, how to call one mode for a single pick, and above all how to fix it when the program refuses to snap. To learn modelling and documentation end to end, see the AutoCAD for construction course.

Turning object snap on: F3 and the settings dialog

The quickest way is to press F3. Press it again to switch snapping off. The status bar at the bottom of the screen carries the matching button.

To choose which modes are active, open the settings dialog:

  1. Type OS and press Enter, or type DSETTINGS and press Enter.
  2. The Drafting Settings dialog opens on the Object Snap tab.
  3. Tick the modes you need and click OK.
The Object Snap tab of the Drafting Settings dialog Photo: The Object Snap tab: the master switch at the top, fourteen modes in two columns below
No.ItemWhat it does
1Object Snap OnMaster switch for the whole group. The label names the shortcut, F3
2Object Snap Tracking OnSwitches tracking from acquired points. Shortcut F11
3Left-hand columnEndpoint, Midpoint, Center, Geometric Center, Node, Quadrant, Intersection
4Right-hand columnExtension, Insertion, Perpendicular, Tangent, Nearest, Apparent intersection, Parallel

Four function keys belong together, so learn all four:

KeyModeWhat it does
F3OsnapObject snap — endpoints, midpoints, intersections
F8OrthoLocks the cursor to horizontal and vertical
F10PolarTracks the angles you declared, every 45 degrees for instance
F11OtrackTracks along lines through points you have acquired

A new drawing turns on four modes, and misses the one you need

Here is something few people notice. AutoCAD has fourteen object snap modes, but a new drawing switches on only four: Endpoint, Center, Intersection and Extension.

Check it on your own machine: type OSMODE and press Enter. On a fresh 2027 install the value comes back as 4133. That is the sum of four numbers: 1 for Endpoint, 4 for Center, 32 for Intersection and 4096 for Extension.

The trouble is that those four are not enough for building work. The critical gap is Midpoint, because wall centrelines and door centrelines all need the middle of a line. Switch on Midpoint and Perpendicular from the start.

Equally, do not switch on all fourteen. With too many active the cursor jumps about, because too many candidate points sit close together. Around six everyday modes is right; call the special ones as you need them. Tuning object snap in AutoCAD is mostly this one judgement: enough modes to work quickly, few enough that the cursor stays predictable.

Nearest deserves its own warning: leave it on and every pick lands on the nearest line, masking every other mode.

Read the marker to see where the snap will land

Each mode draws its own marker at the point it is about to snap to, with the mode name beside it. Recognise the marker and you know where the pick will land without reading the command line.

Markers for the six most used object snap modes Photo: Six common markers: a square for endpoint, a triangle for midpoint, a circle for centre, a cross for intersection

One thing confuses nearly every beginner, and Autodesk states it plainly: object snaps only work while a command is asking for a point. The wording is "Object snaps work only when you are prompted for a point", on the About Using Object Snaps page.

So moving the cursor around with no command running shows no marker at all, and that is correct behaviour. Many people assume snapping is off and keep toggling it.

An Endpoint marker while the LINE command asks for a point Photo: The square marker and the Endpoint label appear at a column corner while the command line still reads Specify first point

Calling one mode for a single pick

When you need a mode you do not want running permanently, call it once. A one-time override applies only to the next point you pick; it never changes the running settings.

Method one — the menu. Hold Shift and right-click.

The object snap menu from Shift and right-click Photo: The menu in four groups: special tools at the top, then thirteen ordinary modes, with None and Osnap Settings at the bottom

The first group holds four special tools, and the first two are the ones worth learning for building work:

ItemWhat it does
FromTakes a base point then an offset. This is the tool for placing a door in a wall: snap to the wall corner, then type the offset to the door reveal
Mid Between 2 PointsThe midpoint of any two points, even with no line joining them. Use it to find the centre of a room
Temporary track pointA temporary reference point for tracking, when you need to line up from two directions
NoneSuppresses snapping for exactly one pick, when you want a free point right beside an existing line

Method two — type the first three letters. Faster than the menu, and it leaves a trace on the command line: MID, CEN, END, INT, PER, TAN, NEA.

Try it now: draw a rectangle with a circle inside it, then join the middle of the bottom edge to the centre of the circle.

  1. Type L and press Enter. At the first point prompt, type MID and press Enter. The program replies of and waits for you to pick a line. Pick near the middle of the bottom edge.
  2. At the next point prompt, type CEN and press Enter, then click anywhere on the circle. The point captured is the centre, not where you clicked. Press Enter to finish.
  3. Check it with LIST: the line runs from the exact midpoint of the bottom edge to the exact centre. Clicking a few hundred units off makes no difference, because the snap pulls the point to the right place.
Before and after drawing the centreline with MID and CEN Photo: Left: no line yet. Right: a line from the midpoint of the bottom edge to the centre of the circle

With PER and TAN the prompt changes from of to to. PER drops the foot of a perpendicular, so a line drawn from any point to a vertical line using PER always comes out horizontal.

To list the modes currently running, type -OSNAP, the command-line form of the dialog. On a fresh install it prints Current osnap modes: End,Cen,Int,Ext — matching the value 4133.

Snaps that fail: the real cause is OSOPTIONS

This is what people search for most, and where the worst advice circulates. Plenty of sites suggest saving to DXF and reopening, or resetting the UCS to World. Those rarely address the actual cause.

The real cause is usually the OSOPTIONS system variable. Autodesk documents its default as 7, and 7 is the sum of the three values below — meaning AutoCAD suppresses snapping by default in all three places:

ValueAutoCAD ignores snaps on
1hatch objects
2geometry with a negative Z while a dynamic UCS is in use
4the endpoints of dimension extension lines

That answers the common question about hatches: nothing is broken, it is the default setting. Type OSOPTIONS and press Enter, then set a new value — subtract 1 to snap to hatches, subtract 4 to snap to extension-line ends, or set 0 to allow all three. The detail sits on the OSOPTIONS (System Variable) page.

If OSOPTIONS is already right and snapping still fails, work down this list:

  1. Is F3 on? The status bar button is lit when it is.
  2. Is the mode you want ticked? Snapping to a midpoint never works while Midpoint is unticked.
  3. Is a command actually asking for a point? No command means no marker, exactly as Autodesk describes.
  4. Is the target box too small? Its size comes from the APERTURE variable, measured in pixels and set on the Drafting tab of the OPTIONS dialog. A small box forces you to hover very close.
  5. Are too many modes on? The cursor hops between candidate points, which looks like snapping to the wrong thing.

Tracking and polar: a point at the crossing of two directions

These two work alongside snapping and do something snapping alone cannot.

Polar tracking switches on with F10. It draws a faint guide whenever the cursor approaches one of the declared angles. By default only multiples of 90 degrees are declared — horizontal and vertical.

The Polar Tracking tab of the Drafting Settings dialog Photo: The Polar Tracking tab with Increment angle set to 90 and the tracking settings on the right

Object snap tracking switches on with F11. To use it, move the cursor over a snap point and pause there without clicking. A small cross appears to confirm the point is acquired, and a guide runs from it.

Combining the two places a point at the crossing of two directions without drawing a single guide line: acquire the midpoint of the top edge, acquire the midpoint of the left edge, then move into the middle. Where the two guides cross is the centre of the shape.

Frequently asked questions

What is the object snap command in AutoCAD?

Type OS and press Enter for the dialog, or press F3 to toggle it. The command-line form is -OSNAP, useful for declaring a list of modes without opening the dialog.

How do I turn object snap off?

Press F3. To suppress it for a single pick only, hold Shift, right-click and choose None.

Why can I not snap to a hatch?

Because OSOPTIONS defaults to 7, and the value 1 within it tells AutoCAD to ignore hatch objects. Type OSOPTIONS and set a value with 1 subtracted.

My snapping jumps around — how do I stop it?

Usually too many modes are running at once, Nearest especially. Cut back to about six everyday modes and call the rest one pick at a time.

How do I see which modes are currently on?

Type OSMODE and press Enter to read the number, or type -OSNAP to have the program print the mode names.

About the author

Assoc. Prof. Tran Anh Binh — Director of the Institute of Information Technology in Civil Engineering – Hanoi University of Civil Engineering