Skip to content
Tutorials Center
My learning

Topics

Lesson 7 of 38 ยท Interface and Setup

Zoom, Pan, Regen and Named Views in AutoCAD

Navigate drawings efficiently in AutoCAD: mouse wheel zoom and pan, ZOOM options, REGEN, named views, viewports, ViewCube and the math behind the view window.

A drawing may be a few millimetres or several kilometres across. You will constantly change the part you see. Moving the view does not change the geometry; it only changes the window onto your model. This lesson covers every navigation tool, plus a small amount of math that explains why zooming is just a coordinate transform.

Mouse navigation

  • Scroll wheel: zoom in and out around the cursor.
  • Hold the wheel and drag: pan.
  • Double-click the wheel: zoom to the extents of all geometry.
  • Shift + wheel drag orbits in 3D (Chapter 7).

These actions are transparent: you can use them in the middle of any command, for example to bring a far-away endpoint into view before picking it. That is why drafters rarely need the ZOOM command for ordinary work.

ZOOM options

Type Z and Enter, then choose an option (or type its letter):

Option Meaning
All Show the whole drawing/limits area
Center Choose a centre point and a magnification or height
Dynamic Drag a view box around the area
Extents (E) Fit every object
Previous (P) Return to the prior view (up to 10 are remembered)
Scale (S) Enter a factor, e.g. 2x, or 0.5xp relative to paper space
Window (W) Pick two corners to fill the screen with that rectangle
Object (O) Zoom to the selected objects
Realtime Move the mouse up/down to zoom

You can also just pick two corners at the Specify corner of window... prompt without typing W. ZOOM followed by .8x style entries zooms by a multiple of the current view.

PAN

P starts a real-time pan: hold and drag to move the view; right-click to exit or choose another view tool. -PAN asks for two points: the displacement.

REGEN and REGENAUTO

Circles and arcs on screen are drawn as many short lines. When you zoom very close, a circle can look like a polygon. REGEN recalculates how objects are displayed; the drawing data itself is not touched. The system variable VIEWRES, in older versions, controlled this; modern versions regenerate smoothly in most cases. If arcs look rough, run REGEN.

If display stops responding to changes, REGENALL regenerates all viewports.

Named views and saving

Use VIEW to save the current window with a name ("kitchen", "detail A") so you can restore it later (VIEW, Restore). Named views are saved in the drawing and are useful in layouts to set viewports quickly, and for 3D presets.

Viewports in model space

The VPORTS command (or View tab > Model Viewports) splits the model space canvas into tiled viewports (two, three, four). Each has its own zoom, pan and sometimes view direction; you can draw across viewports, picking a point in one and finishing in another. This is different from layout viewports (Chapter 6), which are floating windows on a sheet.

ViewCube and Navigation bar

The ViewCube (top right) switches between standard views: Top, Front, Right, Home and isometric corners. In 2D work you stay in Top view. The Navigation bar has wheels, pan, zoom and orbit buttons. The SteeringWheels give a pie-menu of navigation tools; you can ignore them in 2D.

The math: view window to screen

Zoom and pan are a coordinate transform. If the view window shows the world rectangle from (x_min, y_min) to (x_max, y_max) and your screen is W by H pixels, a world point maps to screen pixels by scaling and flipping Y (screen Y grows downward). The stand-in below does that and shows what each zoom does to the same point.

Python Stand-in: world-to-screen transform and zoom

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

At zoom 2x about the centre, the visible window is 2000 units wide, so a point 500 units right of centre lands 200 pixels right of the screen centre (x = 600 of 800).

Stand-in: zoom extents

ZOOM Extents finds the bounding box of all objects and fits it in the window while preserving the aspect ratio.

Python Stand-in: ZOOM Extents on a set of points

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The last line explains a common real-world complaint: one stray object far from the drawing makes ZOOM Extents show your work tiny. Find it with ZOOM E, select the stray and ERASE.

Working habits

  • Use the wheel for everything; keep Z + E for emergencies.
  • If you get lost, ZOOM E and then window into the area you need.
  • Save named views for repeated detail areas.
  • If the screen looks wrong after a large change, run REGEN.

Common mistakes

  • Thinking zoom changes the scale of the drawing; it only changes the view.
  • Panning by dragging with the left button, which selects objects instead. Use the wheel or the PAN command.
  • Leaving stray geometry far from the model, so Extents is useless.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which action zooms to the extents of the whole drawing?

    Double-clicking the wheel runs ZOOM Extents.
  2. 2. Does zooming change the size of the geometry?

    Zoom and pan change the viewing window; coordinates stay the same.
  3. 3. How can you return to the previous view?

    ZOOM Previous restores the earlier view; undo is for geometry changes.
  4. 4. ZOOM Extents shows your model very small. What is the likely cause?

    Extents includes every object, so one far-away item enlarges the bounding box.

Summary

  • Wheel scroll zooms, wheel drag pans, wheel double-click zooms to extents; all work during commands.
  • ZOOM has Window, Previous, Extents, Scale, Object and more.
  • REGEN refreshes the display; named views save windows.
  • Zoom and pan are a transform from world coordinates to screen pixels; they never change geometry.

Next: Drafting Settings: Snaps, Ortho and Polar Tracking