Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AutoCAD 2025 Best Practices, Tips, and Techniques

You're reading from   AutoCAD 2025 Best Practices, Tips, and Techniques Boost productivity with interface tips, dynamic blocks, annotations, customizations, and more

Arrow left icon
Product type Paperback
Published in Oct 2024
Publisher Packt
ISBN-13 9781837636723
Length 444 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Jeanne Aarhus Jeanne Aarhus
Author Profile Icon Jeanne Aarhus
Jeanne Aarhus
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Chapter 1: Using All of the AutoCAD Interface 2. Chapter 2: Using More of the AutoCAD Interface FREE CHAPTER 3. Chapter 3: Taking Advantage of Annotation 4. Chapter 4: Making the Most of Dimensions 5. Chapter 5: Making Tables Work for You 6. Chapter 6: Discover More About Blocks 7. Chapter 7: Discover the New Block Tools 8. Chapter 8: Learn to Automate with Dynamic Blocks 9. Chapter 9: Taking Layers to the Next Level 10. Chapter 10: Enhance Your Knowledge of Reference Files 11. Chapter 11: Enforcing Your CAD Standards 12. Chapter 12: Making the Most of Common Commands 13. Chapter 13: Using Commands to Improve Performance 14. Index 15. Other Books You May Enjoy

Working with selections

This section will teach us to use some of the most important features of creating selection sets. Becoming efficient with creating and using selection sets is crucial to improving your overall efficiency with AutoCAD.

Control the Lasso

First, let’s learn how to use the new Lasso selection method to gather up those objects and corral them into place quickly! Lasso is available, by default, when you left-click and drag the cursor around existing objects:

  1. Open the 2-2_Selecting Objects.dwg file.
  2. Using the In-Canvas View Controls, restore the Custom Model Views | 1-Using LASSO to apply the named view to the current viewport.
Figure 2.6: Custom Model Views | 1-Using Lasso

Figure 2.6: Custom Model Views | 1-Using Lasso

  1. Left-click and drag the cursor around the objects to select.
  2. Release the left mouse button to complete the selection. Use any command to modify the selection.
Figure 2.7: Lasso objects

Figure 2.7: Lasso objects

Note

Remember, when selecting objects, drag right-to-left (counter-clockwise) to use an implied “green” crossing (overlap) selection, and drag left-to-right (clockwise) to use an implied “blue” window (inside) selection.

Many users find the Lasso selection method too intrusive to use regularly. You can disable it using Options | Selection | Selection Modes.

I prefer to disable it by default and assign a shortcut key to enable it when needed, as demonstrated in the following steps:

Figure 2.8: Lasso options

Figure 2.8: Lasso options

Assigning Lasso to a shortcut key

Before assigning a shortcut key, you must learn how to enable and disable the Lasso feature using a system variable. Using the following system variable, we can change PICKAUTO to 1 to disable the Lasso feature:

PICKAUTO

Controls automatic windowing selection options for selecting objects.

Type:               Bitcode

Saved In:        Registry

Initial Value:  5

0

Turns off the automatic window and crossing selection.

1

A Window or Crossing selection begins even if the cursor is not directly over an object when you Left-click and drag.

2

A window or crossing selection begins even if the cursor is directly over an object. This option applies only when you select objects before you start a command using the Left-Click and drag method.

4

Begins a window or crossing lasso selection if the cursor is not directly over an object when you click and drag. Using Left-Click and drag will begin a free-form fence selection if the Fence option is active.

In the next exercise, you will learn how to make a shortcut key to toggle the Lasso selection setting ON and OFF.

Creating a Lasso shortcut key

There are several methods for creating a custom command in AutoCAD. For this example, we will record an ACTION MACRO and assign it to a shortcut key.

First, we must record the macros to turn the Lasso setting ON and OFF using the Options dialog.

  1. Continue using the 2-2_Selecting Objects.dwg file.

Macro Lasso-OFF

  1. Using the Manage ribbon and the Action Recorder panel, select the Record command.
  2. Using the Command Line, key in the PICKAUTO system variable.
  3. Key in the new 0 value to turn OFF the Lasso selection method.
  4. Using the ribbon, select the Stop command.
  5. Using the Action Macro dialog, key in the name Lasso-OFF.
  6. Click OK to save the new macro.
Figure 2.9: Lasso-OFF Macro

Figure 2.9: Lasso-OFF Macro

Macro Lasso-ON

  1. Using the ribbon, select the Record command.
  2. Using the Command Line, key in the PICKAUTO system variable.
  3. Key in the new 5 value to turn ON the Lasso selection method ON.
  4. Using the ribbon, select the Stop command.
  5. Using the Action Macro dialog, key in the name Lasso-ON.
  6. Click OK to save the new macro.

Next, we will learn to assign the two new macros to custom shortcut keys.

Creating shortcut keys

CUI

Command Locations

Ribbon

Manage | Customization | User Interface

Command Line

CUI (CUI)

Let’s create a new shortcut keys for our custom commands for Lasso-ON and Lasso-OFF.

  1. Continue using the 2-2_Selecting Objects.dwg file.
  2. Using the Command Line, key in the CUI command.
  3. Using the Customize User Interface dialog, select the (current) workspace from the TOP LEFT panel.
  4. Expand the Keyboard Shortcuts item in the list and expand Shortcut Keys.

Note

At the time of this printing, ACTION MACROS do not display in the CUI | Command List. To overcome this, we must create our own commands and assign the ACTION MACROS to the new commands using the Create a new command button.

  1. Using the LOWER LEFT portion of the dialog, locate the Command List section, and click the Create a new command button.
  2. Using the Properties section, located in the LOWER LEFT portion of the dialog, change the Name field from Command1 to Lasso-ON.
  3. Change the Macro field from ^C^C to ^C^C_Lasso-ON for Lasso-ON and from ^C^C to ^C^C_Lasso-OFF for Lasso-OFF.
Figure 2.10: Custom commands-CUI

Figure 2.10: Custom commands-CUI

Note

The following syntax is used for macros:

^C                          This represents pressing the Esc key.

 (underscore)  This allows commands to work across multiple languages.

 (semi-colon)  This represents pressing the Enter key.

 (period)          This instructs AutoCAD to use the standard definition of a command.

 (backslash)     This represents a “pause” for user input.

      (space)            This represents pressing the Spacebar key.

Now that the new Lasso commands are available in the CUI dialog, we can assign them to keyboard shortcuts.

  1. Using the Command List search field, located in the LOWER LEFT section of the dialog, drag and drop the Lasso-ON command into the Keyboard Shortcuts | Shortcut Keys list.
Figure 2.11: Drag-and-drop to Shortcut Key

Figure 2.11: Drag-and-drop to Shortcut Key

  1. Repeat Step 5-8 from the previous exercise to create the Lasso-OFF command.
  2. Click Apply to save these changes.

    Now, we will assign specific shortcut keys to these commands.

  3. Using the Keyboard Shortcuts | Shortcut Keys list, select Lasso-ON.
  4. Using the Properties section, located in the LOWER RIGHT portion of the dialog, select the Key(s) value, and click the Browse button to open the Shortcut Keys dialog.
Figure 2.12: The Lasso ON/OFF shortcut key properties

Figure 2.12: The Lasso ON/OFF shortcut key properties

Note

When defining the actual shortcut keys, select the Browse … button and key in the desired shortcut keys. If you do not get the correct keys when using the keyboard to set the shortcut keys, verify that the Caps Lock key is not activated on the keyboard.

  1. Click Apply to save these changes.
  2. Click OK to close the dialog.
  3. Test both keyboard shortcuts for Lasso ON (Ctrl + F) and Lasso OFF (Ctrl + Shift + F).

Note

There is also a FENCE option available during any selection operation. Key in F in the Command Line at the Select Objects prompt and left-click and drag a line through the objects you want to select. Repeat using the left mouse button to add additional fence selections.

In the next section, we will learn how to add and remove objects from an existing selection set.

Adding and removing objects

When working with an existing selection set, do you always get the perfect selection? Of course not! Do you use all the shortcut methods available for removing and adding objects to a selection set? Let’s find out:

  1. Continue using the 2-2_Selecting Objects.dwg file.
  2. Using the In-Canvas View Controls, restore the Custom Model Views | 2-Add and Remove to apply the named view to the current viewport.
  3. Drag a Window or Crossing selection around multiple objects in the drawing to select one of the elevator bays.
  4. Use the Shift key to add and remove objects from the selection set if you accidentally miss or select too many objects.
Figure 2.13: Select SubObjects

Figure 2.13: Select SubObjects

Select SubObjects

In this exercise, we want to remove the BOTTOM line that is displayed at the elevator door opening:

  1. Continue using the 2-2_Selecting Objects.dwg file.
  2. Using the In-Canvas View Controls, restore the Custom Model Views | 3-Select SubObjects to apply the named view to the current viewport.
  3. Select the exterior RECTANGLE object around the exterior of the elevators.
Figure 2.14: Selecting SubObjects

Figure 2.14: Selecting SubObjects

As you can see, the polyline is closed and cannot be deleted without deleting the entire polyline. I want to delete just the BOTTOM edge of the rectangle shape to allow for the door opening. Most users would use the EXPLODE command to break up the closed polyline and then use the DELETE command to remove the BOTTOM line. However, there is a quicker way! You can use the SubObject selection feature to select one object in the polyline to remove it.

  1. Use the Ctrl key to select the BOTTOM edge as a SubObject of the closed polyline. Then, with just the bottom edge selected, use the Delete key to delete the selected line. Using this shortcut, you can avoid using additional commands such as EXPLODE, ERASE, and JOIN.

In the next exercise, we will learn how to control the display of selected objects in AutoCAD.

Glowing selection effect

When selecting objects in AutoCAD, the objects are displayed using the “glowing” effect by default. If you do not like the “glowing” effect of the selected objects and you prefer the old “dashed” effect of the selected objects, you can modify the selection dynamic effects, and disable the “glowing” effect using the SELECTIONEFFECT system variable.

Figure 2.15: Glowing selection effect

Figure 2.15: Glowing selection effect

SELECTIONEFFECT

Specifies the visual effect used when objects are selected.

Saved In:  Registry

Type:         Integer

0

Dashed lines

1 (default)

When hardware acceleration is on, displays a glowing line highlighting effect

In the next exercise, we will learn how to use the Express Tool, Fast Select, to easily select all “touching” objects in a drawing.

Fast Select (Express Tool)

Selecting objects can be tricky sometimes when trying to avoid or select multiple objects. Use the Express Tool, Fast Select, to select all objects that “touch” a selected object. This command will select lines, polylines, circles, arcs, attribute definitions, text, mtext, ellipses, and images. To use this command, follow these steps:

FS

Command Locations

Command Line

FS

  1. Continue using the 2-2_Selecting Objects.dwg file.
  2. Using the In-Canvas View Controls, restore the Custom Model Views | 4-Fast Select to apply the named view to the current viewport.
  3. Using the Command Line, key in FS to run the Fast Select command.
  4. Select the perimeter lines of lots 9-15 at P1 and all the connected lines are selected automatically regardless of their properties.
  5. Use the Esc key to clear the current selection set.

Note

Use the key in 'FS to use this command “transparently” inside of another command at the SELECT OBJECTS prompt.

The behavior of the FS command is controlled using the FSMODE command:

FSMODE

Command Locations

Command Line

FSMODE

ON

Selects all the objects that touch the selected object and any objects that are touching those objects.

OFF

Selects only the objects that are touching the selected object.

  1. Using the Command Line, key in FSMODE and key in ON to change the functionality of the Fast Select command. With FSMODE set to ON, all the objects that are touching the selected object, and all objects that are touching those objects, are selected.
  2. Using the Command Line, key in FS to run the Fast Select command again.
  3. Select the previously selected line at P1, and all the connected lines, and their touching objects, are selected automatically regardless of their properties.
Figure 2.16: The Fast Select results

Figure 2.16: The Fast Select results

  1. Use the Esc key to clear the current selection set.

After completing this exercise, you can fully take advantage of the selection tools provided in AutoCAD. With these additional commands, you can now better control your selection sets and common manipulations.

In the next section, we will take a look at how to use the OBJECT ISOLATION to control the view of objects in a drawing.

Using object isolation

When working in drawings with thousands of objects, using layers to “filter” your view display may not be enough. You can use the OBJECT ISOLATE tools to filter just what you need and minimize your view extent and your frustration. Working with a minimum number of objects displayed not only speeds up AutoCAD but also improves the tasks you need to perform.

Isolate objects

Use the ISOLATE OBJECTS command to filter the display of selected objects and turn off all objects not in the current selection set.

  1. Continue using the 2-2_Selecting Objects.dwg file.
  2. Select several objects in the view window and, using the Status Bar, left-click on the Isolate Objects icon to access the Isolate Objects command.

Only the selected objects are displayed in the drawing. All other objects are temporarily “hidden” from the view. The ISOLATE OBJECTS icon also changes to a blueish appearance, indicating that some objects in the file are hidden.

With objects isolated in the drawing, you have the following command options available when you left-click on the ISOLATE OBJECTS command in the Status Bar.

  • Add Additional Objects: Create a new object selection set to isolate
  • Hide Objects: This will hide additional objects in the view
  • End Object Isolation: Use this to restore all objects in the view

With a selection set active, you can also access the ISOLATE OBJECTS command using the right-click menu:

  1. Continue using the 2-2_Selecting Objects.dwg file.
  2. Left-click on the Isolate Objects command in the Status Bar to access the End Object Isolation command and restore all objects in the view.
  3. Again, select several objects in the view window and right-click to access the Isolate | Isolate Objects command.
  4. Right-click again to access the Isolate | Isolate Objects, Isolate | Hide Objects, or Isolate | End Object Isolation command.

In the next section, we will look at how to use Grips in AutoCAD more efficiently.

You have been reading a chapter from
AutoCAD 2025 Best Practices, Tips, and Techniques
Published in: Oct 2024
Publisher: Packt
ISBN-13: 9781837636723
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image