You are on page 1of 4

Inside AutoCADs

Guide to Dynamic Blocks

Table of Contents
Add exibility and intelligence in AutoCAD 2006 with dynamic blocks . . . . . . . . . . . 3
Should you upgrade to AutoCAD 2006? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Restore a missing shortcut menu for dynamic blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Maximize options with advanced dynamic block features, part 1:
Visibility states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Create dynamic blocks with multiple insertion points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Maximize your options with advanced dynamic block features, part 2:
Lookup tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

PDFGDB07

Inside AutoCAD (ISSN 1071-0728) is published monthly by Eli Journals, Inc., a


subsidiary of Eli Research, 2222 Sedwick Road, Durham, NC 27713.

Customer Relations & Subscription Services

Publishing & Sales

Copyright

Publisher . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Craig Scott


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (919) 281-0474, ext. 324

2007 Eli Journals. This work is an independently produced publication of Eli


Research, the Content of which is the property of Eli Research or its afliates or
third-party licensors and which is protected by copyright law in the United States and
elsewhere. The right to copy and publish the Content is reserved, even for Content
made available for free, such as sample articles, tips, and graphics, none of which
may be copied in whole or in part or further distributed in any form or medium without
the express written permission of Eli Research. Requests for permission to copy or
republish any Content may be directed to Mark Lydard (800) 508-1316 or via email at
markl@eliresearch.com.

Bulk Sales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pam Snyder


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (877) 853-9938

New Hill Services


Dept. 1380
Denver, CO 80291-1380
Email: service@medville.com

Customer Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Holly Smith

U.S. toll-free . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (800) 223-8720


Outside U.S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (239) 280-2383
Fax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (800) 508-2592

Postmaster
Postmaster: Send address changes to:
Inside AutoCAD

Editorial

P.O. Box 413006

Senior Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ellen Finkelstein


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Email: iac_editor@elijournals.com
Contributing Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Bill Fane
Jim LoFaso
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Fred A. Washington
Darren Young
Graphic Designers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Pam Nichols, Rachel Allen
Managing Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Stephen Dow
Editorial Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Erin Lang Bonin, PhD

Naples, FL 34101-3006

Price

Have information on copyright violations? Call us! Well share 25% of the net proceeds
of all awards related to copyright infringement that you bring to our attention. Direct your
condential inquiry to Mark Lydard (800) 508-1316.

Domestic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $127/yr.

Printed in the U.S.A.

Outside the U.S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $137/yr.


GST #: 889037958. PM #: 40031405.

Back Issues

AutoCAD

Inside AutoCAD

Inside AutoCAD is a trademark of Eli Journals. All product names or services identied
throughout this journal are trademarks or registered trademarks of their respective
companies.

To order a back issue, call Customer Service at (800) 874-9180. You can pay with
MasterCard, VISA, Discover, or American Express.

Are you moving?


If youve moved recently or youre planning to move, you can guarantee uninterrupted
service on your subscription by calling us at (800) 874-9180 and giving us your new
address. Or you can fax us your label with the appropriate changes at (585) 789-3560. Our
Customer Relations department is also available at /www.eliresearch.com/contact.htm.
To see a list of our products, visit our websites at www.elijournals.com and
www.eliresearch.com.

www.elijournals.com

Add exibility and intelligence in AutoCAD 2006


with dynamic blocks
by Ellen Finkelstein
Application: Autodesk AutoCAD 2006

locks are everywhere in the AutoCAD world. They allow you to avoid repeating the same drawing
tasks and reduce drawing size. However, they can be too much of a good thing. After a while, you can
collect hundreds of blocks, many that may be very similar to each other. An architect might have several different sizes of doors or windows, an engineer various sizes of the same part, and a facilities manager
many variations of a desk set.
Not only is keeping track of all the blocks confusing, but editing their components can be difcult. With
regular blocks, to edit a component, you need to explode the block and then redene it. In this article, well
explain how the new dynamic blocks feature of AutoCAD 2006 helps streamline the entire process of storing
and editing blocks.

Flexible, but not too exible

Dynamic blocks are blocks with added parameters


and actions that control how you can edit the block

after you insert it. You can modify the entire block,
for example, by scaling it, or change a component,
for example, by moving itall without exploding the
block. Furthermore, you can constrain the modications to a specic direction or to exact measurements.
For example, you can constrain the length of a desk
to 5, 6, and 7 lengths. As a result, you can use one
block for the three desk sizes and also ensure that you
never insert a desk with an unavailable size. Because
you can modify dynamic blocks within constraints,
they are both exible and intelligent.

Create a dynamic block


Figure A: Use

the Edit Block


Denition dialog
box to choose
the block you
want to edit.

You create dynamic blocks, whether from scratch or


by using an existing block, in the Block Editor. For
this article, we assume that you already have a block
open in a drawing. To open the Block Editor, click
the Block Editor button on the Standard toolbar. The
Edit Block Denition dialog box opens, as shown in
Figure A.

Figure B: The new Block Editor


is a special window for creating
dynamic blocks.
To subscribe, call 1-800-223-8720 or email subscribe@elijournals.com

Special Issue

If youre in a drawing that contains only one block,


you can choose <Current Drawing>. Otherwise,
choose the block that you want to edit. Then, click
OK. The Block Editor opens with the block or drawing displayed, as shown in Figure B.
The Block Editor has its own toolbar to help you
create dynamic blocks. You can use almost all drawing, editing, and display commands in the Block
Editor as well as special commands that are only for
creating dynamic blocks.

Add parameters

Add a linear parameter


We also want to be able to stretch the desk, which is
now 5 long, to 6 or 7. Because we want to stretch
horizontally a specic distance, a linear parameter is
most useful. You can use a linear parameter to move,
scale, stretch, or array objects.
To add a linear parameter, choose Linear Parameter from the palette. At the prompts, choose the start
and end points of the parameter, and then specify
a location for the label, as shown in Figure E. Note
the exclamation points; these indicate that the param-

The first step is to add a parameter. A parameter


species the type of geometry that makes the block
dynamic. For example, if you add a point parameter
to a block, youll be able to move or stretch an object
using that point as a base. A common use for the
point parameter is to move a component of a block
separately from the rest of the block.
You add a parameter using the Parameters tab
of the Block Authoring palette. This palette opens
automatically when you enter the Block Editor. The
Parameters tab is shown in Figure C.

Add a point parameter


In our desk and chair block, we want to be able to
move the chair independently from the desk, so we
need a point parameter. To add a point parameter,
click the Point Parameter item on the Parameters tab
of the Block Authoring palette. At the prompts, specify the location of the point and the location of the
label, as shown in Figure D.

Figure D: The chair now has a point parameter at the


midpoint of the front of the seat.

Inside AutoCAD

Figure C: You start creating a dynamic block by


adding a parameter.

Figure E: The desk now has a linear parameter that we can


use to stretch its width.
www.elijournals.com

You might also like