- •Contents
- •Contents at a Glance
- •Acknowledgments
- •Preface
- •Is This Book for You?
- •How This Book Is Organized
- •How to Use This Book
- •Doing the Exercises
- •Conventions Used in This Book
- •What the Icons Mean
- •About the CD-ROM
- •Other Information
- •Contacting the Author
- •Foreword
- •Credits
- •About the Author
- •Summary
- •AutoCAD’s Advantages
- •Comparing AutoCAD and AutoCAD LT
- •Starting AutoCAD and AutoCAD LT
- •Creating a New Drawing
- •Using the AutoCAD and AutoCAD LT Interface
- •Creating a New Folder
- •Using the Interface
- •Saving a Drawing
- •Closing a Drawing and Exiting from AutoCAD and AutoCAD LT
- •Summary
- •Creating a New Drawing from a Template
- •Working with Templates
- •Opening a Drawing with Default Settings
- •Opening an Existing Drawing
- •Using an Existing Drawing as a Prototype
- •Saving a Drawing Under a New Name
- •Summary
- •The Command Line and Dynamic Input
- •Command Techniques
- •Of Mice and Pucks
- •Getting Help
- •Summary
- •Typing Coordinates
- •Displaying Coordinates
- •Picking Coordinates on the Screen
- •Overriding Coordinate Settings
- •Locating Points
- •Summary
- •Choosing Unit Types
- •Drawing Limits
- •Understanding Scales
- •Creating a Title Block
- •Specifying Common Setup Options
- •Customizing with the MVSETUP Command
- •Using the Setup Wizards
- •Summary
- •Using the LINE Command
- •Drawing Rectangles
- •Drawing Polygons
- •Creating Construction Lines
- •Creating Rays
- •Summary
- •Drawing Circles
- •Drawing Arcs
- •Creating Ellipses and Elliptical Arcs
- •Making Donuts
- •Placing Points
- •Summary
- •Panning
- •Using the ZOOM Command
- •Using Aerial View
- •Saving Named Views
- •Working with Tiled Viewports
- •Using Snap Rotation
- •Understanding User Coordinate Systems
- •Creating Isometric Drawings
- •Summary
- •Editing a Drawing
- •Selecting Objects
- •Summary
- •Copying and Moving Objects
- •Resizing Commands
- •Using Construction Commands
- •Creating a Revision Cloud
- •Hiding Objects with a Wipeout
- •Double-Clicking to Edit Objects
- •Grips
- •Editing with the Properties Palette
- •Selection Filters
- •Groups
- •Summary
- •Working with Layers
- •Changing Object Color, Linetype, and Lineweight
- •Working with Linetype Scales
- •Importing Layers and Linetypes from Other Drawings
- •Matching Properties
- •Summary
- •Drawing-Level Information
- •Object-Level Information
- •Measurement Commands
- •AutoCAD’s Calculator
- •Summary
- •Creating Single-Line Text
- •Understanding Text Styles
- •Creating Multiline Text
- •Creating Tables
- •Inserting Fields
- •Managing Text
- •Finding Text in Your Drawing
- •Checking Your Spelling
- •Customizing the spelling dictionary
- •Summary
- •Working with Dimensions
- •Drawing Linear Dimensions
- •Drawing Aligned Dimensions
- •Creating Baseline and Continued Dimensions
- •Dimensioning Arcs and Circles
- •Dimensioning Angles
- •Creating Ordinate Dimensions
- •Drawing Leaders
- •Using Quick Dimension
- •Editing Dimensions
- •Summary
- •Understanding Dimension Styles
- •Defining a New Dimension Style
- •Changing Dimension Styles
- •Creating Geometric Tolerances
- •Summary
- •Creating and Editing Polylines
- •Drawing and Editing Splines
- •Creating Regions
- •Creating Boundaries
- •Creating Hatches
- •Creating and Editing Multilines
- •Creating Dlines
- •Using the SKETCH Command
- •Digitizing Drawings with the TABLET Command
- •Summary
- •Preparing a Drawing for Plotting or Printing
- •Creating a Layout in Paper Space
- •Working with Plot Styles
- •Plotting a Drawing
- •Summary
- •Combining Objects into Blocks
- •Inserting Blocks and Files into Drawings
- •Managing Blocks
- •Creating and Using Dynamic Blocks
- •Using Windows Features
- •Working with Attributes
- •Summary
- •Understanding External References
- •Editing an Xref within Your Drawing
- •Controlling Xref Display
- •Managing Xrefs
- •Summary
- •Preparing for Database Connectivity
- •Connecting to Your Database
- •Linking Data to Drawing Objects
- •Creating Labels
- •Querying with the Query Editor
- •Working with Query Files
- •Summary
- •Working with 3D Coordinates
- •Using Elevation and Thickness
- •Working with the User Coordinate System
- •Summary
- •Working with the Standard Viewpoints
- •Using DDVPOINT
- •Working with the Tripod and Compass
- •Displaying a Quick Plan View
- •Shading Your Drawing
- •Using 3D Orbit
- •Using Tiled Viewports
- •Defining a Perspective View
- •Laying Out 3D Drawings
- •Summary
- •Drawing Surfaces with 3DFACE
- •Drawing Surfaces with PFACE
- •Creating Polygon Meshes with 3DMESH
- •Drawing Standard 3D Shapes
- •Drawing a Revolved Surface
- •Drawing an Extruded Surface
- •Drawing Ruled Surfaces
- •Drawing Edge Surfaces
- •Summary
- •Drawing Standard Shapes
- •Creating Extruded Solids
- •Drawing Revolved Solids
- •Creating Complex Solids
- •Sectioning and Slicing Solids
- •Using Editing Commands in 3D
- •Editing Solids
- •Listing Solid Properties
- •Summary
- •Understanding Rendering
- •Creating Lights
- •Creating Scenes
- •Working with Materials
- •Using Backgrounds
- •Doing the Final Render
- •Summary
- •Accessing Drawing Components with the DesignCenter
- •Accessing Drawing Content with Tool Palettes
- •Setting Standards for Drawings
- •Organizing Your Drawings
- •Working with Sheet Sets
- •Maintaining Security
- •Keeping Track of Referenced Files
- •Handling Errors and Crashes
- •Managing Drawings from Prior Releases
- •Summary
- •Importing and Exporting Other File Formats
- •Working with Raster Images
- •Pasting, Linking, and Embedding Objects
- •Summary
- •Sending Drawings
- •Opening Drawings from the Web
- •Creating Object Hyperlinks
- •Publishing Drawings
- •Summary
- •Working with Customizable Files
- •Creating Keyboard Shortcuts for Commands
- •Customizing Toolbars
- •Customizing Tool Palettes
- •Summary
- •Creating Macros with Script Files
- •Creating Slide Shows
- •Creating Slide Libraries
- •Summary
- •Creating Linetypes
- •Creating Hatch Patterns
- •Summary
- •Creating Shapes
- •Creating Fonts
- •Summary
- •Working with the Customization File
- •Customizing a Menu
- •Summary
- •Introducing Visual LISP
- •Getting Help in Visual LISP
- •Working with AutoLISP Expressions
- •Using AutoLISP on the Command Line
- •Creating AutoLISP Files
- •Summary
- •Creating Variables
- •Working with AutoCAD Commands
- •Working with Lists
- •Setting Conditions
- •Managing Drawing Objects
- •Getting Input from the User
- •Putting on the Finishing Touches
- •Summary
- •Understanding Local and Global Variables
- •Working with Visual LISP ActiveX Functions
- •Debugging Code
- •Summary
- •Starting to Work with VBA
- •Writing VBA Code
- •Getting User Input
- •Creating Dialog Boxes
- •Modifying Objects
- •Debugging and Trapping Errors
- •Moving to Advanced Programming
- •Summary
- •A Final Word
- •Installing AutoCAD and AutoCAD LT
- •Configuring and Using Workspaces
- •Configuring AutoCAD
- •Starting AutoCAD Your Way
- •Configuring a Plotter
- •Discovering AutoCAD and AutoCAD LT
- •Accessing Technical Support
- •Autodesk User Groups
- •Internet Resources
- •System Requirements
- •Using the CD-ROM with Microsoft Windows
- •What’s on the CD-ROM
- •Troubleshooting
- •Index
832 Part IV Drawing in Three Dimensions
Figure 25-24: You can include your rendered images in your drawings.
Unloading Render
When you render, a minimized Render window may open. Closing the Render window when you’re finished rendering frees up memory for other tasks. You can close the Render window by clicking its Close box.
Summary
In this chapter, I covered the process of rendering. You read about the following:
Creating lights
Creating scenes
Importing and creating materials
Attaching materials
Using backgrounds
Rendering a drawing
This chapter ends Part IV, “Drawing in Three Dimensions.” Part V, “Organizing and Managing Drawings,” explains how to manage drawings, work with other applications and file types, and use AutoCAD on the Internet.
|
|
|
Organizing and
Managing Drawings
Part V is all about how to manage drawings. In Chapter 26, I discuss ways to keep control of your drawings, including features
such as the DesignCenter, tool palettes, and the Communication Center. I also explain how to set and maintain standards, keep track of your drawings, handle errors and crashes, and work with prior AutoCAD releases. Finally, I thoroughly cover how to organize your drawings into sheet sets.
Chapter 27 explains how to interface with other applications and file formats, including raster (bitmap) images. Finally, Chapter 28 covers placing your drawings on the Internet, using hyperlinks, and the DWF file format.
P A R T
V
In This Part
Chapter 26
Keeping Control
of Your Drawings
Chapter 27
Working with Other Applications
Chapter 28
Getting on the Internet
Keeping Control
of Your Drawings
When you create a drawing, you not only create objects, but you also create a complex structure to support those objects. You
create named blocks, layers, layouts, text styles, dimension styles, and linetypes to help define those objects. And you spend a lot of time creating them! All of these named drawing components can be reused and organized for greater efficiency.
Tool palettes are a multi-faceted solution that enable you to execute commands, as well as to insert hatches and blocks. You can also insert tables, xrefs, images, and gradients.
Having standards for named drawing components, such as layers and text styles, is important for consistency and readability. AutoCAD offers a comprehensive system for maintaining CAD standards. Security is also important, and AutoCAD offers excellent features to help you with this. AutoCAD LT does not contain all of these features.
Sheet sets enable you to manage sets of drawings. You can automate the placement of viewports, as well as view and call out labels. You can plot or publish sheet sets as one group. AutoCAD LT does not offer the sheet-set feature.
You also need to keep track of your drawings and make sure that they’re accessible. Archiving and repair procedures are important in any CAD environment.
Accessing Drawing Components with the DesignCenter
I mention the DesignCenter many times in this book — for example, in Chapter 11 on layers, and Chapter 18 on blocks. In this chapter, I cover the DesignCenter in detail. You can use the DesignCenter to easily drag named drawing components from one drawing to another. You can access this drawing content from drawings on your hard drive, on a network drive, or over the Internet. You never need to recreate them again. Autodesk calls this mining your design. You can even drag raster images directly into your drawing.
You can do the following with the DesignCenter:
Browse and insert named drawing components, including blocks (and dynamic blocks), xrefs, layers, text styles, table styles, dimension styles, linetypes, and layouts. You can also access custom objects that are created by third-party applications.
26C H A P T E R
In This Chapter
Working with the DesignCenter
Accessing drawing content
with the Tools palette
Setting standards for drawings
Organizing your drawings
Working with sheet sets
Maintaining security
Keeping track
of referenced files
Handling
errors and crashes
Managing drawings from prior releases
836 Part V Organizing and Managing Drawings
Create shortcuts to drawings and locations that you use most often.
Search for drawings and named drawing components.
Open drawings by dragging them into the drawing area.
Create tools for your tool palettes.
View and insert raster image files by dragging them into the drawing area.
Navigating with the DesignCenter
To open the DesignCenter, choose DesignCenter from the Standard toolbar, or choose Tools DesignCenter. As a shortcut, press Ctrl+2. The DesignCenter appears as shown
in Figure 26-1. Four tabs provide access to folders, open drawings, history, and DC Online, where you can find content provided by Autodesk, manufacturers, and other users.
Preview |
|
Tree view Tree view toggle Description |
Content area |
Description area |
Preview area |
Figure 26-1: The DesignCenter with the Folders tab displayed.
The Folders tab displays a tree view of any location — your hard drive, network, or the Internet — that you can access. This tree view is very similar to that of Windows Explorer. Click the plus sign next to a drive or folder to display its contents. Use the vertical scroll bar to display any location.
A selected drawing displays its named components in the content area on the right side of the palette. (Use the Views drop-down list to choose the type of display that you want.) You can also click the plus sign next to a drawing to display these components in the tree view. Then click a component type, such as blocks, to see a list of the blocks in the drawing, as shown in Figure 26-1. Click Preview on the DesignCenter toolbar to see a preview in the preview pane of blocks, drawings, and raster images. Click Description to display a description, if one is saved.
Chapter 26 Keeping Control of Your Drawings |
837 |
After you narrow your search, you may want to click Tree View Toggle to toggle off the tree view, thus hiding the navigation pane. By default, the navigation pane displays your
desktop, including the files and folders on your hard drive and network. To narrow your search, you can click two other tabs from the DesignCenter:
The Open Drawings tab displays currently open drawings.
The History tab displays the most recently opened drawings.
Finding named components and drawings
What do you do if you don’t know the location of the drawing that you want? Suppose you know the name of the layer, but not the name of the drawing that contains that layer. The DesignCenter includes a Search feature to help you.
Choose Search from the DesignCenter toolbar to open the Search window, shown in Figure 26-2. (You can also right-click in the Content area and choose Search.)
Figure 26-2: Use the Search window to locate drawings and drawing components.
Here’s how to use the Search window:
Click the Look For drop-down list to choose what you’re looking for. You can look for blocks, dimension styles, drawings, drawings and blocks, hatch pattern files, hatch patterns, layers, layouts, linetypes, table styles, text styles, and xrefs.
Click the In drop-down list to specify the drive that you want to search. By default, the Search subfolders check box is checked so that the search looks in all folders and subfolders within the drive.
Use the tabbed area to specify the name of the components that you’re looking for. The tab’s name and content change, depending on what you chose in the Look For dropdown list. For example, if you chose Layers, the tab is called Layers and asks you for the name of the layer. If you’re looking for drawings, you have three tabs to work with:
•The Drawings tab enables you to look for a drawing by file name (the default), title, subject, author, or keywords. Choose one of these options in the In the Field(s) drop-down list. Then type the text that you want to look for in the Search
838 Part V Organizing and Managing Drawings
Cross-
Reference
for the Word(s) text box. You can use the wildcards * (to substitute for any number of characters), and ? (to substitute for any one character). Specifying a drawing’s title, subject, and keywords is discussed later in this chapter.
•The Date Modified tab enables you to search by the last date that the file was saved or modified. You can specify a range of dates, or look in the last x days or months.
•The Advanced tab enables you to search for text in drawing descriptions, block names, attribute tags, and attribute values. You can also search here by drawing size.
When you’ve created your specifications, click Search Now.
See Chapter 18 for information on creating block descriptions when you create a block. The main reason for creating a block description is to display it in the DesignCenter and to be able to use it in a search on the Advanced tab, as just described.
For more information on searching for drawings, see the section “Finding drawings” later in this chapter.
Using the Favorites folder
The Favorites folder is a Windows convention that helps you to find files that you use often. This folder contains shortcuts to actual files. The files remain in their original locations. Choosing a file from the Favorites folder has the same effect as choosing the file from its source location.
You’ll find an Autodesk subfolder within the Favorites folder, where you can store shortcuts to drawings and other files that you use often. You can then easily open the Favorites folder and find these files. Favorites is one possible place to keep drawings that contain block libraries.
To add a shortcut to Favorites, right-click the drawing (or other file) in the DesignCenter and choose Add to Favorites.
Caution |
If you right-click in the Content pane and choose Add to Favorites, the DesignCenter adds a |
|
shortcut to the entire content of the folder. This is great for adding all of the items in a folder |
|
at once, but if you do it inadvertently, you could end up with a lot of junk in Favorites. To |
|
add one item, remember to select it first. |
To access the drawings in Favorites, click Favorites on the DesignCenter toolbar. You can also right-click the content pane and choose Favorites. The Favorites folder appears
in the content pane.
To move, copy, or delete shortcuts from Favorites, right-click the content pane and choose Organize Favorites.
Accessing named drawing components
As soon as you have the item that you need in the Content area, you need to insert it into your drawing. If you used the Search window to locate a file, then you can also insert directly from the results that you find. You can either drag the item onto the drawing area or rightclick it and choose an option. Sometimes these two methods provide slightly different results. In this section, I explain how to insert drawing components into your drawing.
Chapter 26 Keeping Control of Your Drawings |
839 |
Inserting drawings
You can insert an entire drawing into your drawing. Choose the drawing’s folder in the navigation pane so that the drawing appears in the content area. Drag the drawing’s icon onto the drawing area. The command line prompts you for an insertion point, scale, and rotation angle, using the -INSERT command.
If you right-click the drawing, you can choose to insert the drawing as a block, or attach it as an xref.
Opening drawings
You can open a drawing using the DesignCenter. Display the drawing in the content pane, right-click it, and choose Open in Application Window. The drawing opens, keeping your current drawing open as well.
Inserting blocks
In Chapter 5, I explain that you can use the Units dialog box (choose Format Units) to set a unit, such as inches, for automatically scaling drawings when they’re inserted from the DesignCenter.
You can insert blocks in two ways:
If you drag the block’s icon onto the drawing area, the drawing uses Autoscaling, which compares the current drawing’s units with those of the block, and scales the block appropriately, using the value set in the Units dialog box. The block takes on default scale and rotation.
If you double-click the block’s icon or right-click it and choose Insert Block, the Insert dialog box opens, where you can specify the insertion point, scale, and rotation.
Inserting raster images
A raster image is a bitmap graphic file. You can insert raster images directly into your drawing, as they don’t have to be within a drawing.
Cross- |
See Chapter 27 for more information on raster images, including determining which type of |
Reference |
files you can import, attaching images, clipping images, and controlling how they’re displayed. |
|
To attach a raster image, drag its icon onto the drawing area. The command line prompts you for an insertion point, scale, and rotation angle.
Tip Knowing the appropriate scale of an image before inserting it is often difficult. When you move the cursor at the Specify scale factor or [Unit] <1>: prompt, you can see a bounding box that will help you visualize the resulting size of the image.
Attaching an xref
To attach or overlay an xref, right-click its icon and choose Attach as Xref to open the External Reference dialog box. Choose either Attachment or Overlay in the Reference Type section. Specify an insertion point, scale, and rotation (or choose to specify them on-screen), and click OK.
If you drag the xref onto the drawing area, you see prompts on the command line that are similar to those of the INSERT command.
840 Part V Organizing and Managing Drawings
Inserting layers and styles
To insert a layer, layout, linetype, text style, table style, or dimension style into a drawing, drag its icon onto the drawing area. Of course, these items don’t appear in your drawing area, but they’re added to the drawing’s database.
You can drag multiple items at one time. To select a contiguous group, click the first item, press and hold Shift, and click the last item. To select individual multiple items, click the first item, press and hold Ctrl, and click any other item that you want to insert. You can also double-click an item to insert it.
Your drawing does not check for duplicate layer names. If you try to insert a layer with the same name as a layer in your current drawing, you see a message: Layer(s) added. Duplicate definitions will be ignored. You should check for duplicate layer names before trying to insert layers from the DesignCenter.
Inserting content from DC Online
The DC Online tab provides access to online resources, including standard parts and manufacturers’ information. Figure 26-3 shows some of the DC Online content. To insert any content, select it and drag it into your drawing. Follow the prompts for insertion point, scale, and rotation.
Figure 26-3: The DC Online tab of the DesignCenter offers a large selection of content that you can drag into your drawing.
Controlling the DesignCenter display
The DesignCenter provides several controls that help you manage its display.
A great feature of the DesignCenter is the preview pane. Click Preview and select the item in the content pane. You may or may not see a preview of a block. (The new Block
Definition dialog box specifically lets you create a preview icon.) Usually, you’ll see a preview of drawings and raster images. No previews exist for layers, linetypes, text styles, and so on.
If you saved a description with a block, select the block in the content pane and click Description on the DesignCenter toolbar to see the description.
Chapter 26 Keeping Control of Your Drawings |
841 |
To set the view, choose Views from the DesignCenter toolbar. The drop-down arrow lets you choose from four types of displays: large icons, small icons, list, and details.
If you make changes in the structure of a folder while the DesignCenter is open — for example, by deleting a drawing using Windows Explorer — right-click the navigation or content pane and choose Refresh. The DesignCenter re-reads the data and refreshes the list.
Tip |
To dock the DesignCenter, right-click the title bar and choose Allow Docking. Then drag the |
|
DesignCenter window to the left or right of your drawing window. To collapse the |
|
DesignCenter down to its title bar when you’re not using it, right-click the title bar and choose |
|
Auto-Hide; whenever you move the mouse cursor off the DesignCenter, it collapses. Just move |
|
the cursor back onto the title bar to expand it again. Sometimes the DesignCenter docks when |
|
you’re trying to drag it past the application window. To avoid unwanted docking, either |
|
uncheck Allow Docking on its title bar or press Ctrl as you drag. These instructions apply to all |
|
palettes in AutoCAD and AutoCAD LT. |
On the |
The drawings used in the following exercise on using the DesignCenter, ab26-a.dwg and |
CD-ROM |
ab26-b.dwg, are in the Drawings folder on the CD-ROM. |
STEPS: Using the DesignCenter
1.Open ab26a-dwg from the CD-ROM.
2.Save the file as ab26-01.dwg in your AutoCAD Bible folder. This drawing needs an updated set of layers and a title block. It is shown in Figure 26-4.
Figure 26-4: This drawing needs updated layers and a title block.
Thanks to Vladimir Sevastyanov of Ukraine for this drawing of a gyrating swivel that feeds oil to an uncoiling machine used in the cold rolling of metal.
3.Choose DesignCenter from the Standard toolbar. If the navigation pane is not displayed, click Tree View Toggle on the DesignCenter toolbar.
