Chapter 12. A Zoom with a View

In This Chapter

  • Zooming and panning

  • Naming and restoring views

  • Zooming and panning in paper space layouts

  • Regenerating the display

One of AutoCAD's advantages over manual drawing is its ability to show you different views of your drawing. You can zoom in close, zoom out to a great distance, and pan around. In fact, not only can you zoom and pan in your drawing, but in most kinds of drawings, you must do it frequently to be able to draw and edit effectively.

Technical drawings are jam-packed with lines, text, and dimensions. Zooming and panning frequently enables you to see the details better, draw more confidently (because you can see what you're doing), and edit more quickly (because object selection is easier when there aren't a zillion objects on the screen). This chapter covers AutoCAD's most useful display control features.

Zoom and Pan with Glass and Hand

Moving your viewpoint in to get a closer view of your drawing data is zooming in; moving your viewpoint back to get a more expansive view is called zooming out. Moving your viewpoint to another part of your drawing without zooming in or out is called panning.

Changing your viewing position lets you do detailed work on tiny objects and then zoom out and move around rooms, houses, or neighborhoods from an Olympian perspective. Early versions of AutoCAD included a sample drawing of our solar system, drawn to scale with kilometers as units, that proved this. If you zoomed all the way out, you could see Pluto's orbit, and you could zoom in close enough to Earth's moon to read the inscription on the plaque left by the Apollo 11 astronauts!

Panning means changing your viewing position without changing the magnification of the view. If you zoom in enough that some of your drawing no longer shows up on-screen, you're going to want to pan around — move left, right, up, and down in your drawing — without zooming in and out. AutoCAD makes panning easy with scroll bars and realtime panning. And in case you're wondering what realtime panning might be (as opposed to pretendtime panning, maybe?), it simply means you can see the objects moving around the screen as you drag the mouse up and down or back and forth. (Of course, it's your viewpoint that's moving, not the objects!)

Both panning and zooming change the view — the current location and magnification of the AutoCAD depiction of your drawing. Each time you zoom or pan, you establish a new view. You can give a name to a specific view to make returning to that view easy, as I demonstrate later in this chapter.

You'll get a better sense of panning and zooming around a drawing if you actually have a drawing to look at. Draw some objects on the screen, open one of your own existing drawings, or launch one of AutoCAD's sample drawings. (If you haven't done so already, you can download the sample files from www.autodesk.com/autocad-samples; the AutoCAD LT sample files are also online now, at www.autodesk.com/autocadlt-samples.)

Command access has shifted around in AutoCAD 2010, and the impact naturally shows up most in the most frequently used commands — like PAN and ZOOM. Both PAN and the standard ZOOM command have status bar buttons. In addition, the Navigate panel of the Ribbon's View tab contains a Pan button and a flyout set of Zoom tool buttons (in my opinion, not a very convenient location for such frequently used commands!).

The following steps describe how to use AutoCAD's Zoom and Pan Realtime feature, which is easy to operate and provides a lot of flexibility:

  1. Zoom and Pan with Glass and Hand

    The command line version of the ZOOM command starts, and AutoCAD prompts:

    Specify corner of window, enter a scale factor (nX or
            nXP), or [All/Center/Dynamic/Extents/Previous/
            Scale/Window/Object] <real time>:
  2. Press Enter to accept Realtime, the default option.

    The Realtime option of the ZOOM command starts. The crosshairs change to a magnifying glass, and AutoCAD prompts you at the command line:

    Press ESC or ENTER to exit, or right-click to display
            shortcut menu.
  3. Move the magnifying glass cursor near the middle of the screen, press and hold down the left mouse button, and drag the cursor up and down until the objects you want to see almost fill the screen.

    Dragging up increases the zoom magnification, and dragging down decreases it.

  4. Right-click in the drawing area and choose Pan from the menu that appears (as shown in Figure 12-1).

    The Zoom/Pan Realtime right-click menu.

    Figure 12-1. The Zoom/Pan Realtime right-click menu.

    Because AutoCAD LT doesn't do 3D, there's no 3D Orbit choice on LT's right-click menu. The magnifying glass cursor changes to a hand.

  5. Click and drag to pan the drawing in any direction.

    Tip

    You can use the right-click menu to toggle between Zoom and Pan as many times as you like. If you get lost in your drawing, choose Zoom Original or Zoom Extents to return to a more familiar view.

  6. Right-click in the drawing area and choose Exit.

    The Zoom or Pan Realtime cursor returns to the normal AutoCAD crosshairs.

The Zoom/Pan Realtime right-click menu.

Tip

You also can pan and zoom by using your mouse's scroll wheel (if it has one) or the middle button of a three-button mouse:

  • To pan, hold down the scroll wheel or the middle button as you move the mouse.

  • To zoom in and out, roll the scroll wheel forward and backward.

  • To zoom to the extents of your drawing, double-click the scroll wheel or the middle button.

Note

The scroll wheel or middle mouse button zoom and pan operations described in the preceding list depend on an obscure AutoCAD system variable named MBUTTONPAN. When MBUTTONPAN is set to 1 — the default value — you can use the middle button to pan and zoom as I describe in the preceding list. Unless your system has been customized by someone, if you change MBUTTONPAN to 0, clicking the middle mouse button displays an object snap menu at the crosshairs, as it did in older AutoCAD versions. If you can't zoom or pan with your middle mouse button, set MBUTTONPAN back to 1. (With MBUTTONPAN set to 1, you use Shift+right-click to display the object snap menu at the crosshairs.)

Realtime zooming and panning is the easiest, most interactive way to get around in your drawings. In some situations, though, this method is less efficient or precise than the old-fashioned methods, the most important of which are described in the next section.

Tip

Another way to pan in AutoCAD should be familiar from other Windows programs — the scroll bars in the drawing area. Scrolling is the same in AutoCAD as in any other Windows program; click the arrows in the right and bottom scroll bars on the borders of the drawing window to scroll, or pan, a step at a time; or click and drag the little scroll boxes to pan as little or as much as you want to. By default, scroll bars are turned on in the AutoCAD Classic and AutoCAD LT Classic workspaces, but turned off in the 2D Drafting and Annotation workspaces. To turn them off or on, choose Options in the Application Menu (or type OPTIONS or OP) to display the Options dialog box. On the Display tab, select or deselect the Display Scroll Bars in Drawing Window check box. My own preference is not to use scroll bars and regain the space, so that's why you don't see them in most figures in this book.

Time to zoom

Realtime zooming is good as far as it goes, but you get much more control over the display if you use some of ZOOM's alternative methods. Because zooming is such a frequent activity in AutoCAD, it's worth knowing some of those alternative ways of doing it.

In the new Ribbon-based workspaces, you'll find tool buttons for all the following ZOOM options on the View tab's Navigate panel. The magnifying-glass button has a menu — click the down arrow beside the magnifying glass, and a menu with the other options opens (see Figure 12-2). There is also a ZOOM button on the status bar; click once, then right click to see a menu with all the ZOOM options.

A menu for magnifying.

Figure 12-2. A menu for magnifying.

The ZOOM command has several different options, the most important of which are the following:

  • A menu for magnifying.

    Tip

    It's a good idea to Zoom All or Zoom Extents and then save the drawing before you close it. By performing these steps, you ensure the following:

    • The next person who opens the drawing — whether it's you or someone else — can see the full drawing as soon as they start working.

    • If you've accidentally copied some objects way beyond where they should be, Zoom All or Extents will make them show up so you can delete them.

    • The drawing preview that appears in the Select File dialog box displays the full drawing, instead of just a tiny, unidentifiable corner of it.

  • A menu for magnifying.

    Note that the ZOOM command's Window option is not a click-and-drag operation — unlike in some other Windows programs and, confusingly, unlike in the Zoom/Pan Realtime Zoom Window option. With the ZOOM command's Window option, you click one corner, release the mouse button, and then click the other corner.

  • A menu for magnifying.
  • A menu for magnifying.
  • A menu for magnifying.
  • A menu for magnifying.

Tip

AutoCAD provides smooth view transitions whenever you use the non-realtime pan and zoom commands. Sometimes you can get lost if you do a ZOOM All from a small, highly magnified area. It's a bad idea to leave a trail of breadcrumbs across your screen, so these slow-motion pans and zooms may be fine, at least until you do know your way out of the forest ... or your drawing. If, like me, you find that this feature gets old fast, there's a View Transitions dialog box (type VTOPTIONS to open it) in which you can turn it off. Just uncheck the Enable Animation for Pan & Zoom option.

Tip

Some of the zoom options take some getting used to. I recommend that you use realtime zoom and pan for most of your zooming and panning. Supplement it with Zoom Window to move quickly into a precise area, Zoom Previous to back up in zoom/pan time, and Zoom All or Zoom Extents to view your whole drawing.

Steering a new course

AutoCAD's ZOOM and PAN partnership have been around since the get-go, and little has changed — apart from the addition of realtime panning and zooming several releases back — in the basics of navigating around in the drawing.

Note

Last time around (AutoCAD 2009, that is) added a couple of new viewing devices. One of them (the Navigation Cube) works exclusively in 3D, and the other (the SteeringWheel) has a 2D configuration that's much less useful than the regular PAN and ZOOM commands. If you want to learn about 3D in general, or the new viewing commands in particular, the best place to start is the User Guide in the online help system. For modeling, check out Work with 3D Models, and for viewing AutoCAD 3D models, see Control the Drawing Views

Steering a new course

A View by Any Other Name . . .

If you find yourself repeatedly zooming and panning to the same area, you can probably get there faster with a named view. After you name and save a view of a particular area of your drawing, you can return to that area quickly by restoring the view. You use the VIEW command, which displays the View Manager dialog box, to create and restore named views.

Note

The View Manager now manages shots as well as views. Views have been a part of AutoCAD from very early days, but shots are a recent addition. While views are static, shots are motion based. (If you're using the full version [that is, not AutoCAD LT], you may have noticed the ShowMotion button on the status bar.) And not only can you create animated scenes, you can even add fancy transitions like jump cuts and fades. However, because this kind of production is associated with 3D and because I don't cover 3D in this book, you should visit the online help. For an especially good take on shots and showing motion, open the Help drop-down list, select New Features Workshop, select AutoCAD 2009 (these features were added to AutoCAD 2009, so technically, they're not brand-new features any more), and finally select Viewing Tools.

Follow these steps to create a named view:

  1. Zoom and pan until you find the area of the drawing that you want to assign a name to.

  2. On the Ribbon's View tab, choose Named Views from the View panel.

    The View Manager dialog box appears.

  3. Click the New button.

    The New View / Shot Properties dialog box appears, as shown in Figure 12-3.

  4. Type a name in the View Name text box.

  5. (Optional) Type a new category in the View Category box or select an existing one from the drop-down list.

    You create your own View Categories to organize views and certain display characteristics of views. This is mainly used in sheet sets. If you aren't using the sheet sets feature, you can leave this box blank.

  6. Make sure the View Type drop-down is set to Still.

    Visit the New Features Workshop and the online help if you want to know more about the Cinematic and Recorded Walk options.

    Note

    AutoCAD LT doesn't support view categories or types. The New View dialog box in LT is missing the View Category and View Type list boxes as well as the Background area shown in Figure 12-3.

  7. In the Boundary area, select the Current Display radio button, if it's not selected already.

    Save a view into your drawing.

    Figure 12-3. Save a view into your drawing.

    Tip

    If you want to save a different view boundary, select the Define Window radio button instead, click the Define View Window button to the right of it, and pick two corners of the region's boundary (as if you were zooming windows).

  8. Confirm or change the choices in the Settings area.

    If you select the Save Layer Snapshot with View check box, when you later restore the view, AutoCAD also will restore the layer visibility settings (on/off and freeze/thaw) that were in effect when you created the view. (Chapter 6 describes the layer visibility settings.) The UCS, Live Section, and Visual Style settings are primarily for 3D drawings; the latter two settings are not included in AutoCAD LT.

  9. Click OK.

    The New View/Shot Properties (New View in AutoCAD LT) dialog box disappears, and you see your new named view in the list in the View Manager dialog box.

  10. Click OK.

    The View Manager dialog box disappears.

To restore a named view, proceed as follows:

  1. Go back to the Ribbon's View tab and choose Named Views from the View panel.

    Alternatively, type VIEW (or V) and press Enter. The View Manager dialog box appears.

  2. In the Views list, expand either Model Views or Layout Views (depending on where you saved your view).

  3. Click the name of the view that you want to restore, click the Set Current button, and then click OK to close the dialog box.

Tip

You also can plot the area defined by a named view. See Chapter 16 for instructions on plotting views.

Looking Around in Layout Land

All the zoom, pan, and view operations I describe in this chapter work in paper space layouts as well as in model space. (Chapters 4 and 5 describe the differences between model space and paper space and how to navigate between the two.) One little complication exists, though: In a paper space layout — that is, any drawing area tab except for the Model tab — it's possible for the crosshairs to be in either paper space or in model space inside a viewport. Zooming and panning have a different effect depending on which space your crosshairs are in at the moment. You switch between the two spaces using the MSPACE (alias MS) and PSPACE (PS) commands.

Experiment with the different effects by following these steps:

  1. Open a drawing that contains at least one paper space layout with a title block and one or more viewports.

    If you don't have any such drawings handy, try using one of the AutoCAD sample drawings that you can download from www.autodesk.com/autocad-samples. For example, have a look at architectural_-_annotation_scaling_and_multileaders.dwg.

  2. Click Quick View Layouts on the status bar and then click one of the layout preview images — that is, any image other than the Model preview image.

    AutoCAD displays the paper space layout, including any title block and viewports. Click somewhere away from an image to dismiss the Quick View image bar.

  3. Type PSPACE (or its alias PS ) and press Enter.

    AutoCAD will either switch to paper space or tell you that you're already there.

    Tip

    Alternatively, you can double-click in the gray part of the drawing area outside the layout.

    You should see the triangular paper space UCS icon at the lower-left corner of the display. If you don't see an icon, click the View tab on the Ribbon and then click Show UCS Icon or Show UCS Icon at Origin on the Show UCS Icon flyout. The crosshairs are now in paper space, so zooming and panning changes the appearance of all the objects in the layout, including the title block.

  4. Type Z , press Enter, then type A , then press Enter.

    AutoCAD displays the entire layout, as shown in Figure 12-4.

    Tip

    As an alternative to typing — or to navigating through Ribbon panels — here's an easier way to choose from a list of all available ZOOM options: Click the Zoom button on the status bar and then right-click in the drawing area to see the right-click menu, as shown in Figure 12-5.

    The full layout.

    Figure 12-4. The full layout.

    All (and Extents, and Window) is revealed when you right-click.

    Figure 12-5. All (and Extents, and Window) is revealed when you right-click.

  5. Zoom and pan by using any of the techniques described in this chapter.

    Zooming and panning change the appearance of the title block, as shown in Figure 12-6. The effect is similar to moving a plotted sheet in and out and all around in front of your face.

    Zooming in paper space.

    Figure 12-6. Zooming in paper space.

  6. Return to a zoomed-all view using any of these techniques; or type Z and press Enter, then type A and press Enter.

    AutoCAD displays the entire layout again.

  7. Type MSPACE (or MS) and press Enter.

    Alternatively, you can double-click with the crosshairs over a viewport.

    You should see the model space UCS icon at the lower-left corner of the display (refer to Step 3 if you don't see an icon). The crosshairs are now in model space, inside the viewport, so zooming and panning change only the display of the objects that are visible in the viewport. The display of the title block doesn't change.

  8. Zoom and pan using any of the techniques described in this chapter.

    Zooming and panning don't change the appearance of the title block, as shown in Figure 12-7. The result looks as if you're moving a picture of the model space geometry in and out and all around behind a frame.

    Warning

    In real drawings, you usually shouldn't zoom and pan inside viewports after they've been set up (see Chapter 5). Doing so changes the scale of the viewport, which messes up plotting. I'm asking you to do it here to illustrate the difference between zooming in paper space and zooming in a model space viewport.

    Showing nothing but the kitchen sink in a model space viewport.

    Figure 12-7. Showing nothing but the kitchen sink in a model space viewport.

    If the title block changes when you zoom and pan, someone has locked the viewport to prevent the kind of mischief that I warn against in the previous paragraph. (You also see the command prompt Viewport is view-locked. Switching to Paper space.) Refer to Chapter 5 for information on locking and unlocking viewports.

  9. Choose Zoom Previous using your favorite ZOOM technique one or more times until you've restored the original view.

  10. Type PS and press Enter.

    Always leave the crosshairs in paper space when you're ready to call a drawing finished.

  11. Click the Close window control in the upper-right corner of the drawing area. Click No to close the drawing without saving changes.

    In this example, I have you close the drawing without saving changes just in case you did mess up the viewport zoom scale.

In most cases, you set up a paper space layout once, as described in Chapter 5, and then just return to it to plot. You shouldn't be spending a lot of time zooming and panning in paper space layouts. You zoom and pan to get a better view of what you're drawing and editing, and that's what full-screen model space is for. But if you do want to zoom in paper space — to get a better look at part of your title block, for example — make sure that you're doing it with the triangular paper space UCS icon on display at the lower-left corner of the drawing area.

Tip

The VPMAX and VPMIN commands allow you to maximize and minimize a viewport in the current layout. These commands provide an alternative to switching between the Model and Layout buttons without the potential problems of zooming inside of paper space viewports. The easiest way to run VPMAX or VPMIN is to click the Maximize Viewport/Minimize Viewport button located on the status bar, to the right of the Model and Layout buttons.

Degenerating and Regenerating

Note

As you zoom and pan around your drawing, you may wonder how the image that you see on-screen is related to the DWG file that AutoCAD saves on the hard disk. Well, maybe you don't wonder about that, but I'm going to tell you anyway!

When you draw and edit objects, AutoCAD stores all their geometrical properties (that is, location and size) in a highly precise form — technically, double floating-point precision. The program always maintains that precision when you save the DWG file. For computer performance reasons, however, AutoCAD does not use that high-precision form of the data to display your drawing on-screen. Instead, AutoCAD converts the highly precise numbers in the DWG file into slightly less precise integers in order to create the view that you see on-screen.

The happy consequence of this conversion is that zooming, panning, and other display changes are a lot faster than they would be otherwise. The unhappy consequence is that the conversion, which is a regeneration (or regen for short), occasionally leaves you with some on-screen debris to deal with.

In most cases, AutoCAD performs regenerations automatically when it needs to. You will sometimes see command line messages like Regenerating model or Regenerating layout, which indicate that AutoCAD is taking care of regens for you.

If, on the other hand, you see the command line message Regen queued, AutoCAD is warning you that it's not performing a regeneration, even though one might be advisable now. In addition, you might see a warning dialog box with the message About to regen -- proceed? These messages are AutoCAD's way of saying, "What your drawing looks like on the screen at the moment may not exactly match the real version of the drawing database that gets stored when you save the drawing. I'll update the display version at the next regeneration." You can control whether regenerations happen automatically with the REGENMODE system variable — see the online help for more information on this variable and refer to Chapter 23 for more information on system variables in general.

Warning

Don't confuse the REGEN (RE) command with the REDRAW (R) command. REGEN (command line only) forces the synchronization process described in this section. Redraw (also command line only) simply refreshes the screen, without attempting to synchronize the screen with the drawing database. The REDRAW command was useful in the days of very slow computers and older versions of AutoCAD, which didn't handle the display as effectively, but it's essentially a useless command now.

Tip

The REGENALL (REA) command (once again, command line only) regenerates all viewports in a paper space layout. If you run the REGENALL command in model space, it has the same effect as the ordinary REGEN command.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset