Selecting Objects


AutoCAD provides many options for selecting objects. This section has two parts : the first part covers object selection methods unique to AutoCAD, and the second part covers the more common selection method used in most popular graphic programs, the Noun/Verb method. Because these two methods play a major role in working with AutoCAD, it's a good idea to familiarize yourself with them early on.

Tip  

If you need to select objects by their characteristics rather than by their location, see Chapter 12, which describes the Quick Select and Object Selection Filters tools. These tools let you easily select a set of objects based on their properties, including object type, color , layer assignment, and so on.

Selecting Objects in AutoCAD

Many AutoCAD commands prompt you to Select objects: . Along with this prompt, the cursor changes from crosshairs to a small square (look back at Figure 2.7). Whenever you see the Select objects: prompt and the square Object Selection cursor, you have several options while making your selection. Often, as you select objects on the screen, you will change your mind about a selection or accidentally pick an object you do not want. Let's take a look at most of the selection options available in AutoCAD, and learn what to do when you make the wrong selection.

Before you continue, you'll turn off two features that, while extremely useful, can be confusing to new users. These features are called Running Osnaps and Osnap Tracking. You'll get a chance to explore these features in depth later in this book, but for now use these steps to turn them off:

  1. Check to see if either Running Osnaps or Osnap Tracking is turned on. Look at the Osnap and Otrack buttons in the status bar at the bottom of the AutoCAD window. If they are turned on, they look like they are pressed.

    click to expand
  2. To turn off Running Osnap or Osnap Tracking, click the Osnap or Otrack button in the status bar. When turned off, they will look like they are not pressed.

Now let's go ahead and see how to select an object in AutoCAD:

  1. Choose Move from the Modify toolbar or type M .

  2. At the Select objects: prompt, click each of the two horizontal lines that constitute the door. As you know, whenever AutoCAD wants you to select objects, the cursor turns into the small square pickbox. This tells you that you are in Object Selection mode. As you pick an object, it is highlighted, as shown in Figure 2.11.

    click to expand
    Figure 2.11: Selecting the lines of the door and seeing them highlighted

  3. After making your selections, you might decide to deselect some items. Enter U from the keyboard. Notice that one line is no longer highlighted. When you type U , objects are deselected, one at a time, in reverse order of selection.

  4. You can deselect objects in another way. Hold down the Shift key and click the remaining highlighted line. It reverts to a solid line, showing you that it is no longer selected for editing.

  5. By now you have deselected both lines. Let's try using another method for selecting groups of objects. To select objects with a selection window, type W . The cursor changes to a Point Selection cursor, and the prompt changes to

    Specify First corner:

  6. Click a point below and to the left of the rectangle representing the door. As you move your cursor across the screen, a selection window appears and stretches across the drawing area.

  7. After the selection window completely encloses the door but not the arc, click this location to highlight the entire door. This window selects only objects that are completely enclosed by the window, as shown in Figure 2.12.

    click to expand
    Figure 2.12: Selecting the door within a selection window

    Tip  

    Don't confuse the selection window you are creating here with the zoom window you used in Chapter 1, which simply defines an area of the drawing you want to enlarge. Remember that the Window option works differently under the Zoom command than it does for other editing commands.

    Warning  

    If you are using a mouse you're not familiar with, it's quite easy to accidentally click the right mouse button when you really wanted to click the left mouse button, and vice versa. If you click the wrong button, you'll get the wrong results. On a two-button mouse, the right button will either act like the key or open a context-sensitive shortcut menu, depending on your current operation. An will be issued if you are selecting objects, but otherwise the shortcut menu appears.

  8. Now that you have selected the entire door but not the arc, press . This tells AutoCAD you have finished selecting objects. It is important to remember to press as soon as you finish selecting the objects you want to edit. A new prompt, Specify base point or displacement:, appears. The cursor changes to its Point Selection mode.

Now you have seen how the selection process works in AutoCAD ”but you're in the middle of the Move command. The next section discusses the prompt that's now on your screen and describes how to enter base points and displacement distances.

Providing Base Points

When you move or copy objects, AutoCAD prompts you for a base point, which is a difficult concept to grasp. AutoCAD must be told specifically from where and to where the move occurs. The base point is the exact location from which you determine the distance and direction of the move. After the base point is determined, you can tell AutoCAD where to move the object in relation to that point.

Follow these steps to practice using base points:

  1. To select a base point, hold down the Shift key and right-click. A menu appears displaying the Object Snap (Osnap) options.

    Warning  

    When right-clicking the mouse, make sure the cursor is within the AutoCAD drawing area; otherwise, you will not get the results described in this book.

  2. Choose Intersection from the Osnap menu. The Osnap menu closes .

  3. Move the cursor to the lower-right corner of the door. Notice that as you approach the corner, a small x-shaped graphic appears on the corner. This is called an Osnap marker.

  4. After the x-shaped marker appears, hold the mouse motionless for a second or two. A tool tip appears, telling you the current Osnap point AutoCAD has selected.

  5. Now click the left mouse button to select the intersection indicated by the Osnap marker. Whenever you see the Osnap marker at the point you want to select, you don't have to point exactly at the location with your cursor. Just left-click the mouse to select the exact Osnap point (see Figure 2.13). In this case, you selected the exact intersection of two lines.

    click to expand
    Figure 2.13: Using the Osnap cursor

  6. At the Specify second point of displacement or <use first point as displacement>: prompt, hold down the Shift key and click the right mouse button again. You'll use the Endpoint Osnap this time, but instead of clicking the option with the mouse, type E .

  7. Now pick the lower-right end of the arc you drew earlier. (Remember that you only need to move your cursor close to the endpoint until the Osnap marker appears.) The door moves so that the corner of the door connects exactly with the endpoint of the arc (see Figure 2.14).

    click to expand
    Figure 2.14: The rectangle in its new position after using the Endpoint Osnap

As you can see, the Osnap options enable you to select specific points on an object. You used Endpoint and Intersection in this exercise, but other options are available. Chapter 3 discusses some of the other Osnap options. You might have also noticed that the Osnap marker is different for each of the options you used. You'll learn more about Osnaps in Chapter 3. Now let's continue with our look at point selection.

start sidebar
Controlling the Status Bar Display

To the far right of the status bar, you'll see a downward-pointing arrow. This arrow opens a menu that controls the display of the status bar. You use this menu to turn the items in the status bar on or off. A check- mark by an item indicates that it is currently on. If for some reason you do not see all the buttons mentioned in the previous exercise, check this menu to make sure that all the status bar options are turned on. Note that LT does not have an Otrack option in the status bar.

click to expand
end sidebar
 
Tip  

You might have noticed the statement use first point as displacement in the prompt in step 6. This means that if you press instead of clicking a point, the object will move a distance based on the coordinates of the point you selected as a base point. If, for example, the point you click for the base point is at coordinate 2,4, the object will move 2 units in the x-axis and 4 in the y-axis.

If you want to specify an exact distance and direction by typing a value, select any point on the screen as a base point. Or you can just type @ followed by at the base point prompt; then enter the second point's location in relative coordinates. Remember that @ means the last point selected. In the next exercise, you'll try moving the entire door an exact distance of 1 unit in a 45 ° angle. Metric users will move the door 3 units in a 45 ° angle. Here are the steps:

  1. Click the Move tool on the Modify toolbar.

  2. Type P . The set of objects you selected in the previous exercise is highlighted. P is a selection option that selects the previously selected set of objects.

  3. You're still in Object Selection mode, so click the arc to include it in the set of selected objects. Now the entire door, including the arc, is highlighted.

  4. Press to tell AutoCAD that you have finished your selection. The cursor changes to Point Selection mode.

  5. At the Base point or displacement: prompt, choose a point on the screen between the door and the left side of the screen (see Figure 2.15).

    click to expand
    Figure 2.15: The highlighted door and the base point just to the left of the door. Note that the base point does not need to be on the object that you are moving.

  6. Move the cursor around slowly and notice that the door moves as if the base point you selected were attached to the door. The door moves with the cursor, at a fixed distance from it. This demonstrates how the base point relates to the objects you select.

  7. Now type @1<45 . (Metric users should type @3<45 .) The door moves to a new location on the screen at a distance of 1 unit (or 3 for metric users) from its previous location and at an angle of 45 °.

    Tip  

    If AutoCAD is waiting for a command, you can repeat the last command used by pressing the spacebar or by pressing . You can also right-click in the drawing area and select the option at the top of the list. If you right-click the Command window, a shortcut menu offers the most recent commands.

This exercise illustrates that the base point does not have to be on the object you are manipulating; it can be virtually anywhere on your drawing. You also saw how to re-select a group of objects that were selected previously, without having to duplicate the selection process.

Using "Noun/Verb"Selection

Nearly all graphics programs today allow the Noun/Verb method for selecting objects. This method requires you to select objects before you issue a command to edit them ”that is, you identify the "noun" (the object you want to work on) before the "verb" (the action you want to perform on it). The exercises in this section show you how to use the Noun/Verb method in AutoCAD.

You have seen that when AutoCAD is waiting for a command, it displays the crosshair cursor with the small square. As mentioned before, this square is actually a pickbox superimposed on the cursor. It indicates that you can select objects, even while the command prompt appears at the bottom of the screen and no command is currently active. The square momentarily disappears when you are in a command that asks you to select points.

start sidebar
Other Selection Options

There are several other selection options you haven't tried yet. You'll see how these options work in exercises later in this book. Or if you are adventurous, try them now on your own. To use these options, type their keyboard abbreviations (shown in brackets in the following list) at any Select object: prompt.

All [all ]     Selects all the objects in a drawing except those in frozen or locked layers. (See Chapter 4 for information on layers .)

Crossing [c ]     Similar to the Select Window option but selects anything that crosses through the window you define.

Crossing Polygon [cp ]     Acts exactly like Window Polygon (see later in this sidebar) but, like the Select Crossing option, selects anything that crosses through a polygon boundary.

Fence [f ]     Selects objects that are crossed by a temporary line called a fence. This operation is like using a line to cross out the objects you want to select. After you invoke this option, you can then pick points, as when you are drawing a series of line segments. After you finish drawing the fence, press , and then go on to select other objects or press again to finish your selection.

Last [l ]     Selects the last object you entered.

Multiple [m ]     Lets you select several objects first, before AutoCAD highlights them. In a very large file, picking objects individually can cause AutoCAD to pause after each pick, while it locates and highlights each object. The Multiple option can speed things up by letting you first pick all the objects quickly and then highlight them all by pressing . This has no menu equivalent.

Previous [p ]     Selects the last object or set of objects that was edited or changed.

Window [w ]     Forces a standard selection window. This option is useful when your drawing area is too crowded to use the Autoselect feature to place a window around a set of objects. (See the Auto entry later in this sidebar.) It prevents you from accidentally selecting an object with a single pick when you are placing your window.

Window Polygon [wp ]     Lets you select objects by enclosing them in an irregularly shaped polygon boundary. When you use this option, you see the prompt First polygon point:. You then pick points to define the polygon boundary. As you pick points, the prompt Undo/<Endpoint of line>: appears. Select as many points as you need to define the boundary. You can undo boundary line segments as you go by clicking the Undo tool on the Standard toolbar or by pressing the U key. With the boundary defined, press . The bounded objects are highlighted and the Select object prompt returns, allowing you to use more selection options.

The following two selection options are also available, but seldom used. They are intended for use in creating custom menu options or custom toolbar tools.

Auto [au ]     Forces the standard automatic window or crossing window when a point is picked and no object is found (see "Using Autoselect"later in this chapter). A standard window is produced when the two window corners are picked from left to right. A crossing window is produced when the two corners are picked from right to left. After this option is selected, it remains active for the duration of the current command. Auto is intended for use on systems on which the Automatic Selection feature has been turned off.

Single [si ]     Forces the current command to select only a single object. If you use this option, you can pick a single object; then the current command acts on that object as if you had pressed immediately after selecting the object. This has no menu equivalent.

end sidebar
 
Tip  

In addition to Noun/Verb selection, AutoCAD offers other selection options that enable you to use familiar GUI techniques. See Appendix B to learn how you can control object selection methods. This appendix also describes how to change the size of the standard cursor.

Now try moving objects by first selecting them and then using the Move command:

  1. Press the Esc key twice to make sure AutoCAD isn't in the middle of a command you might have accidentally issued. Then click the arc. The arc is highlighted, and you might also see squares appear at its endpoints and its midpoint . As stated earlier, these squares are called grips . You'll get a chance to work with them a bit later.

  2. Choose Move from the Modify toolbar. The cursor changes to Point Selection mode. Notice that the grips on the arc disappear, but the arc is still selected.

  3. At the Base point: prompt, pick any point on the screen. The prompt To point: appears.

  4. Type @1<0 . Metric users should type @3<0 . The arc moves to a new location 1 unit (3 units for metric users) to the right.

    Warning  

    If you find that this exercise does not work as described here, chances are the Noun/Verb setting has been turned off on your copy of AutoCAD. To turn on the Noun/Verb setting, choose Tools   Options to open the Options dialog box, and click the Selection tab. In the Selection Modes group, turn on the Noun/Verb Selection option and click OK.

In this exercise, you picked the arc before issuing the Move command. Then, when you clicked the Move tool, you didn't see the Select object: prompt. Instead, AutoCAD assumed you wanted to move the arc that you selected and went directly to the Base point:[ prompt.

Using Autoselect

Next you will move the rest of the door in the same direction by using the Autoselect feature:

  1. Pick a point just above and to the left of the rectangle representing the door. Be sure not to pick the door itself. A selection window appears that you can drag across the screen as you move the cursor. If you move the cursor to the left of the last point selected, the window appears dotted (see the first image of Figure 2.16). If you move the cursor to the right of that point, it appears solid (see the second image of Figure 2.16).

    click to expand
    Figure 2.16: The dotted window (first image) indicates a crossing selection; the solid window (second image) indicates a standard selection window.

  2. Pick a point below and to the right of the door so that the door is completely enclosed by the window, as shown in the bottom image in Figure 2.16. The door is highlighted (and again, you might see grips appear at the line's endpoints and midpoints).

  3. Click the Move tool again. Just as in the preceding exercise, the Base point: prompt appears.

  4. Pick any point on the screen; then enter @1<0 . Metric users should enter @3<0 . The door joins with the arc.

The two selection windows you have just seen ”the solid one and the dotted one ”represent a standard window and a crossing window. If you use a standard window, anything that is completely contained within the window is selected. If you use a crossing window, anything that crosses through the window is selected. These two types of windows start automatically when you click any blank portion of the drawing area with a Standard cursor or Point Selection cursor; hence the name Autoselect.

Next, you will select objects with an automatic crossing window:

  1. Pick a point below and to the right of the door. As you move the cursor left, the crossing (dotted) window appears.

  2. Select the next point so that the window encloses the door and part of the arc (see Figure 2.17). The entire door, including the arc, is highlighted.

    click to expand
    Figure 2.17: The door enclosed by a crossing window

  3. Click the Move tool.

  4. Pick any point on the screen; then enter @1<180 . Metric users should type @3<180 . The door moves back to its original location.

You'll find that in most cases, the Autoselect standard and crossing windows are all you need when selecting objects. They really save you time, so you'll want to become familiar with these features.

Before continuing, you need to choose File   Save to save the Door file. You won't want to save the changes you make in the next section, so saving now stores the current condition of the file on your hard disk for safekeeping.

Restrictions on Noun/Verb Object Selection

If you prefer to work with the Noun/Verb selection feature, you should know that its use is limited to the following subset of AutoCAD commands, listed here in alphabetic order:

Array

Copy

Hatch

Rotate

Block

Dview

List

Scale

Change

Erase

Mirror

Stretch

Chprop

Explode

Move

Wblock

For all other modifying or construction-oriented commands, the Noun/Verb selection method is inappropriate because for those commands you must select more than one set of objects. But you do not need to remember this list. You'll know whether a command accepts the Noun/Verb selection method right away. Commands that don't accept the Noun/Verb selection method clear the selection and then display a Select object: prompt.

If you want to take a break, now is a good time to do it. If you want, exit AutoCAD and return to this point in the tutorial later. When you return, start AutoCAD and open the Door file.




Mastering AutoCAD 2005 and AutoCAD LT 2005
Mastering AutoCAD 2005 and AutoCAD LT 2005
ISBN: 0782143407
EAN: 2147483647
Year: 2004
Pages: 261
Authors: George Omura

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net