- •About the Authors
- •Dedication
- •Authors’ Acknowledgments
- •Table of Contents
- •Introduction
- •What’s Not (And What Is) in This Book
- •Mac attack!
- •Who Do We Think You Are?
- •How This Book Is Organized
- •Part I: AutoCAD 101
- •Part II: Let There Be Lines
- •Part III: If Drawings Could Talk
- •Part IV: Advancing with AutoCAD
- •Part V: On a 3D Spree
- •Part VI: The Part of Tens
- •But wait . . . there’s more!
- •Icons Used in This Book
- •A Few Conventions — Just in Case
- •Commanding from the keyboard
- •Tying things up with the Ribbon
- •Where to Go from Here
- •Why AutoCAD?
- •The Importance of Being DWG
- •Seeing the LT
- •Checking System Requirements
- •Suddenly, It’s 2013!
- •AutoCAD Does Windows (And Office)
- •And They’re Off: AutoCAD’s Opening Screens
- •Running with Ribbons
- •Getting with the Program
- •Looking for Mr. Status Bar
- •Let your fingers do the talking: The command window
- •The key(board) to AutoCAD success
- •Keeping tabs on palettes
- •Down the main stretch: The drawing area
- •Fun with F1
- •A Simple Setup
- •Drawing a (Base) Plate
- •Drawing rectangles on the right layers
- •Circling your plate
- •Nuts to you
- •Getting a Closer Look with Zoom and Pan
- •Modifying to Make It Merrier
- •Hip-hip-array!
- •Stretching out
- •Crossing your hatches
- •Following the Plot
- •A Setup Roadmap
- •Choosing your units
- •Weighing up your scales
- •Thinking annotatively
- •Thinking about paper
- •Defending your border
- •A Template for Success
- •Making the Most of Model Space
- •Setting your units
- •Making the drawing area snap-py (and grid-dy)
- •Setting linetype and dimension scales
- •Entering drawing properties
- •Making Templates Your Own
- •Setting Up a Layout in Paper Space
- •Will that be tabs or buttons?
- •View layouts Quick(View)ly
- •Creating a layout
- •Copying and changing layouts
- •Lost in paper space
- •Spaced out
- •A view(port) for drawing in
- •About Paper Space Layouts and Plotting
- •Managing Your Properties
- •Layer one on me!
- •Accumulating properties
- •Creating new layers
- •Manipulating layers
- •Using Named Objects
- •Using AutoCAD DesignCenter
- •Copying layers between drawings
- •Controlling Your Precision
- •Keyboard capers: Coordinate input
- •Understanding AutoCAD’s coordinate systems
- •Grab an object and make it snappy
- •Other Practical Precision Procedures
- •Introducing the AutoCAD Drawing Commands
- •The Straight and Narrow: Lines, Polylines, and Polygons
- •Toeing the line
- •Connecting the lines with polyline
- •Squaring off with rectangles
- •Choosing your sides with polygon
- •(Throwing) Curves
- •Going full circle
- •Arc-y-ology
- •Solar ellipses
- •Splines: The sketchy, sinuous curves
- •Donuts: The circles with a difference
- •Revision clouds on the horizon
- •Scoring Points
- •Commanding and Selecting
- •Command-first editing
- •Selection-first editing
- •Direct object manipulation
- •Choosing an editing style
- •Grab It
- •One-by-one selection
- •Selection boxes left and right
- •Perfecting Selecting
- •AutoCAD Groupies
- •Object Selection: Now You See It . . .
- •Get a Grip
- •About grips
- •A gripping example
- •Move it!
- •Copy, or a kinder, gentler Move
- •A warm-up stretch
- •Your AutoCAD Toolkit
- •The Big Three: Move, Copy, and Stretch
- •Base points and displacements
- •Move
- •Copy
- •Copy between drawings
- •Stretch
- •More Manipulations
- •Mirror
- •Rotate
- •Scale
- •Array
- •Offset
- •Slicing, Dicing, and Splicing
- •Trim and Extend
- •Break
- •Fillet and Chamfer and Blend
- •Join
- •When Editing Goes Bad
- •Zoom and Pan with Glass and Hand
- •The wheel deal
- •Navigating your drawing
- •Controlling your cube
- •Time to zoom
- •A View by Any Other Name . . .
- •Looking Around in Layout Land
- •Degenerating and Regenerating
- •Getting Ready to Write
- •Simply stylish text
- •Taking your text to new heights
- •One line or two?
- •Your text will be justified
- •Using the Same Old Line
- •Turning On Your Annotative Objects
- •Saying More in Multiline Text
- •Making it with Mtext
- •It slices; it dices . . .
- •Doing a number on your Mtext lists
- •Line up in columns — now!
- •Modifying Mtext
- •Gather Round the Tables
- •Tables have style, too
- •Creating and editing tables
- •Take Me to Your Leader
- •Electing a leader
- •Multi options for multileaders
- •How Do You Measure Up?
- •A Field Guide to Dimensions
- •The lazy drafter jumps over to the quick dimension commands
- •Dimension associativity
- •Where, oh where, do my dimensions go?
- •The Latest Styles in Dimensioning
- •Creating and managing dimension styles
- •Let’s get stylish!
- •Adjusting style settings
- •Size Matters
- •Details at other scales
- •Editing Dimensions
- •Editing dimension geometry
- •Editing dimension text
- •Controlling and editing dimension associativity
- •Batten Down the Hatches!
- •Don’t Count Your Hatches. . .
- •Size Matters!
- •We can do this the hard way. . .
- •. . . or we can do this the easy way
- •Annotative versus non-annotative
- •Pushing the Boundary (Of) Hatch
- •Your hatching has no style!
- •Hatch from scratch
- •Editing Hatch Objects
- •You Say Printing, We Say Plotting
- •The Plot Quickens
- •Plotting success in 16 steps
- •Get with the system
- •Configure it out
- •Preview one, two
- •Instead of fit, scale it
- •Plotting the Layout of the Land
- •Plotting Lineweights and Colors
- •Plotting with style
- •Plotting through thick and thin
- •Plotting in color
- •It’s a (Page) Setup!
- •Continuing the Plot Dialog
- •The Plot Sickens
- •Rocking with Blocks
- •Creating Block Definitions
- •Inserting Blocks
- •Attributes: Fill-in-the-Blank Blocks
- •Creating attribute definitions
- •Defining blocks that contain attribute definitions
- •Inserting blocks that contain attribute definitions
- •Edit attribute values
- •Extracting data
- •Exploding Blocks
- •Purging Unused Block Definitions
- •Arraying Associatively
- •Comparing the old and new ARRAY commands
- •Hip, hip, array!
- •Associatively editing
- •Going External
- •Becoming attached to your xrefs
- •Layer-palooza
- •Creating and editing an external reference file
- •Forging an xref path
- •Managing xrefs
- •Blocks, Xrefs, and Drawing Organization
- •Mastering the Raster
- •Attaching a raster image
- •Maintaining your image
- •Theme and Variations: Dynamic Blocks
- •Lights! Parameters!! Actions!!!
- •Manipulating dynamic blocks
- •Maintaining Design Intent
- •Defining terms
- •Forget about drawing with precision!
- •Constrain yourself
- •Understanding Geometric Constraints
- •Applying a little more constraint
- •AutoConstrain yourself!
- •Understanding Dimensional Constraints
- •Practice a little constraint
- •Making your drawing even smarter
- •Using the Parameters Manager
- •Dimensions or constraints — have it both ways!
- •The Internet and AutoCAD: An Overview
- •You send me
- •Send it with eTransmit
- •Rapid eTransmit
- •Bad reception?
- •Help from the Reference Manager
- •Design Web Format — Not Just for the Web
- •All about DWF and DWFx
- •Autodesk Design Review 2013
- •The Drawing Protection Racket
- •Autodesk Weather Forecast: Increasing Cloud
- •Working Solidly in the Cloud
- •Free AutoCAD!
- •Going once, going twice, going 123D
- •Your head planted firmly in the cloud
- •The pros
- •The cons
- •Cloudy with a shower of DWGs
- •AutoCAD 2013 cloud connectivity
- •Tomorrow’s Forecast
- •Understanding 3D Digital Models
- •Tools of the Trade
- •Warp speed ahead
- •Entering the third dimension
- •Untying the Ribbon and opening some palettes
- •Modeling from Above
- •Using 3D coordinate input
- •Using point filters
- •Object snaps and object snap tracking
- •Changing Planes
- •Displaying the UCS icon
- •Adjusting the UCS
- •Navigating the 3D Waters
- •Orbit à go-go
- •Taking a spin around the cube
- •Grabbing the SteeringWheels
- •Visualizing 3D Objects
- •Getting Your 3D Bearings
- •Creating a better 3D template
- •Seeing the world from new viewpoints
- •From Drawing to Modeling in 3D
- •Drawing basic 3D objects
- •Gaining a solid foundation
- •Drawing solid primitives
- •Adding the Third Dimension to 2D Objects
- •Creating 3D objects from 2D drawings
- •Modifying 3D Objects
- •Selecting subobjects
- •Working with gizmos
- •More 3D variants of 2D commands
- •Editing solids
- •Get the 2D Out of Here!
- •A different point of view
- •But wait! There’s more!
- •But wait! There’s less!
- •Do You See What I See?
- •Visualizing the Digital World
- •Adding Lighting
- •Default lighting
- •User-defined lights
- •Sunlight
- •Creating and Applying Materials
- •Defining a Background
- •Rendering a 3D Model
- •Autodesk Feedback Community
- •Autodesk Discussion Groups
- •Autodesk’s Own Bloggers
- •Autodesk University
- •The Autodesk Channel on YouTube
- •The World Wide (CAD) Web
- •Your Local ATC
- •Your Local User Group
- •AUGI
- •Books
- •Price
- •3D Abilities
- •Customization Options
- •Network Licensing
- •Express Tools
- •Parametrics
- •Standards Checking
- •Data Extraction
- •MLINE versus DLINE
- •Profiles
- •Reference Manager
- •And The Good News Is . . .
- •APERTURE
- •DIMASSOC
- •MENUBAR
- •MIRRTEXT
- •OSNAPZ
- •PICKBOX
- •REMEMBERFOLDERS
- •ROLLOVERTIPS
- •TOOLTIPS
- •VISRETAIN
- •And the Bonus Round
- •Index
Chapter 18: Everything from Arrays to Xrefs 417
AutoCAD prompts:
Hide for current state or all visibility states [Current/All] <Current>: C
11.Click Visibility States again and then click New to create a new visibility state. In the New Visibility State dialog box, enter a descriptive name. Select the Show All Existing Objects in New State radio button and then click OK.
All your geometry should reappear.
12.Repeat Steps 9 and 10 to create additional visibility states associated with the remaining geometry or blocks.
The geometry or block insert associated with the last created visibility state should be visible onscreen.
13.Click OK to close the Visibility States dialog box, and then click Close Block Editor on the Ribbon. Save the changes to your new block or to Current Drawing.
AutoCAD displays an alert box asking whether you want to save changes to your block. Click Cancel to return to the block editor or Discard the Changes to close the Block Editor without saving your changes. Click Save the Changes to update the block and exit. AutoCAD closes the block authoring environment and returns to the standard drawing editor window.
The Block Editor tab includes a Test Block tool you can use to see what your finished product will look like without the hassle of closing the editor and inserting or manipulating the block inside the drawing editor. Test Block displays the geometry and lets you try different parameters; then you can easily return to the Block Editor to tweak your masterpiece. You’ll find the Test Block button on the Open/Save panel of the Block Editor contextual tab.
Lights! Parameters!! Actions!!!
You can modify the appearance of individual instances of the same block by defining parameters and actions to move, rotate, flip, or align parts of them. You can adjust the block’s appearance while you insert it or at any time afterward. The following steps show you how to use the Block Editor to add some action to a block definition:
1.Open a drawing that contains some block definitions whose appearance you’d like to spice up a little, or draw some simple geometry that might make a suitably dynamic block.
Action parameters are most effective in block definitions that contain groups of related objects — for example, an office desk and chair or a furniture arrangement.
www.it-ebooks.info
418 Part IV: Advancing with AutoCAD
2.On the Block panel of the Ribbon’s Home tab, choose Block Editor to open the Edit Block Definition dialog box.
3.In the Block to Create or Edit box, type a new block name or select Current Drawing, and then click OK.
4.Create some geometry or insert some blocks.
When you insert blocks, make sure that the Explode check box at the lower-left corner of the Insert dialog box is not selected, and then click OK.
Draw the geometry or insert the blocks in a group so that you can insert the finished arrangement into your drawings. For example, upcoming Figure 18-10 shows the creation of a dynamic block for a coffee shop or cafeteria.
5.Repeat Step 4 until you’ve drawn all the needed geometry or inserted all the necessary blocks.
6.Click the Parameters tab of the Block Authoring Palettes and then click Rotation Parameter.
AutoCAD prompts you to specify the parameter location.
7.Click to place the parameter marker somewhere on the object geometry other than the base-point location.
If you specify the same point for the parameter location as the base point for the block, you may have a hard time selecting the dynamic option grip.
8.AutoCAD places a parameter marker at the selected point and returns to the command line, prompting you to specify the radius of the rotation parameter and the default rotation angle.
The parameter marker’s label appears next to the rotation parameter marker.
9.Click the Actions tab of the Block Authoring Palettes and then click Rotate. Select the Rotate Parameter, select the objects that should be modified when the grip is used, and specify a point for the action’s label.
AutoCAD returns to the command prompt. At this point, it’s fine to go with default values and onscreen pick points.
10.Repeat Steps 6 through 9, trying different parameters and actions.
For example, choose a Point Parameter and a Move Action.
Figure 18-10 shows a set of block components, several of which have action parameters assigned. After the block is inserted, you can manipulate the components to which you’ve added parameters to vary the appearance of the blocks. We explain how a little later in this chapter.
www.it-ebooks.info
Chapter 18: Everything from Arrays to Xrefs 419
Point Parameter marker |
|
|
|
|
|
Rotation Parameter marker |
Figure 18-10: A passel of parameters ready for action.
11.Click Close Block Editor on the Ribbon and save or discard your changes.
AutoCAD closes the block-authoring environment and returns to the standard drawing editor window.
Manipulating dynamic blocks
After a dynamic block is inserted in a drawing, you can select it and modify its display through a special set of custom grips. (That’s what AutoCAD calls them, so I’m following suit.)
When you select a nondynamic block, you see a single grip at the insertion point. When you select a dynamic block, you see at least two — and maybe more — custom grips, as well as the insertion point grip. The custom grips usually look different from the regular object grips, but not always, so be careful while clicking grips.
The following steps show you how to make your dynamic blocks do the things you just spent all this time teaching them to do:
www.it-ebooks.info
420 Part IV: Advancing with AutoCAD
1.Insert a few blocks that contain some dynamic parameters, such as visibility or action parameters.
If your block inserts don’t have any action parameters, go to Step 4.
2.Select a block that includes some action parameters.
The block insert displays a number of grips (see Figure 18-11). If the insert displays only a single square grip, it isn’t a dynamic block.
Figure 18-11: Variations on dynamic blocks (original on the right, and a handy grip tip on a chair at left center).
3.Click one of the custom grips — for example, clicking a round grip opens the rotation parameter of the object. Rotate the component as required.
4.Select a block that includes a visibility parameter and then click the visibility grip. Choose the desired visibility state from the menu that appears.
For additional information on manipulating actions and visibility states, look up Dynamic Blocks in the online help system.
Dynamic blocks, as we suggest more than once, are a powerful — and complicated — feature. Prior to AutoCAD 2010, the Block Authoring Palettes contained 10 selectable parameters, 8 actions, and 20 parameter sets. AutoCAD 2010 added 12 geometric constraints and 6 dimensional constraints. We could write a book on the topic. Until we do, AutoCAD’s online help system is your best resource for more information on all the possibilities of dynamic blocks. The quickest and most direct way to AutoCAD’s own help on the subject is to type Dynamic Blocks into the Search box on the program title bar.
www.it-ebooks.info
19
Call the Parametrics!
In This Chapter
Introducing parametric drawing
Understanding constraints
Applying geometric and dimensional constraints
Using inferred constraints
Editing parametric drawings
Afew releases back, AutoCAD included a set of parametric drawing tools, and, offhand, we can’t think of a more significant new feature in recent
years. (Don’t worry; we’re going to offer a definition of parametric in just a few more paragraphs.) In fact, if you work primarily in 2D — and especially if you’re in the manufacturing business — parametrics in AutoCAD
(and, to a very limited degree, in AutoCAD LT) might just be the most significant new feature ever since the beginning of engineering drawings in Roman times.
If you know what we’re talking about, you’re probably pretty interested in finding out more about what
you can do with parametrics in AutoCAD. If, on the other hand, you think parametrics are the folks who show up when you dial 911, the following paragraphs should straighten you out.
Imagine this. Your boss has been in a meeting all morning with an important client. At two minutes before noon, they emerge. Your boss hands you a marked-up print and rather imperiously commands, “We need these 12 dimensions changed and the drawing
updated by the time we get back from lunch.” The drawing involves multiple views, several cross sections, and a couple of details at different scales.
www.it-ebooks.info