1a329f3e Df0e 4d27 8e81 Bccb49dd9ed7.ClassHandoutAS124112LADynamicLabonDynamicBlockCreationinAutoCADTracyChadwick1
1a329f3e Df0e 4d27 8e81 Bccb49dd9ed7.ClassHandoutAS124112LADynamicLabonDynamicBlockCreationinAutoCADTracyChadwick1
Learning Objectives
• Learn how to create Dynamic Blocks with the following abilities: stretch, mirror,
array, rotate, and align, as well as having multiple insertion points.
• Learn how to limit block variations through lists, increments, block tables, and
lookup actions.
• Learn how to apply constraints and parameters to control block behavior.
• Learn how to extract Dynamic Block properties to AutoCAD tables and Excel
spreadsheets.
Description
Why should you be using Dynamic Blocks? Quite simply, Dynamic Blocks can greatly reduce
the number of blocks in your library, improving your efficiency. While it does take a little more
time up front to create a dynamic block, the time savings on the back end are well worth the
effort! Even better news: if you are a proficient user of AutoCAD software, you should have no
problem converting those boring, static blocks into shiny, new, Dynamic Blocks.
Speaker
Tracy Chadwick serves as coordinator and instructor for the Computer Drafting Technology
program at Hutchinson Community College (HCC) in Hutchinson, Kansas. He is responsible for
teaching a wide range of courses, including those on engineering graphics, AutoCAD software,
Inventor software, and Revit Architecture software. Prior to his role in the Associate Degree
program, Chadwick served as the manager and instructor of HCC’s Autodesk Authorized
Training Center from 2001. In 2007, Autodesk, Inc., recognized Chadwick with the North
America Award for Distinguished Performance in AutoCAD Software Training. Chadwick holds
professional certifications for AutoCAD software, Inventor software, and Revit Architecture
software, and he is an Autodesk Certified Instructor for AutoCAD.
@tracy_chadwick
Page 1
Table of Contents
Learning Objectives ................................................................................................................... 1
Description ................................................................................................................................. 1
Speaker ..................................................................................................................................... 1
Table of Contents....................................................................................................................... 2
Introduction to the block creation environment ........................................................................... 3
Create Dynamic Blocks with the following abilities: stretch, mirror, array, rotate, align, and
multiple insertion points.............................................................................................................. 5
Adding Points to a Block ......................................................................................................... 5
Adding the Alignment Grip to a Block ..................................................................................... 9
Adding the Flip Action to a Block ...........................................................................................11
Adding the Rotation Action to a Block ....................................................................................15
Adding the Visibility Grip to a Block .......................................................................................16
Limit block variations through lists, increments, block tables, and lookup actions......................19
Adding the Stretch Action and List Option to a Block .............................................................19
Adding the Array Action and Increment Option to a Block .....................................................21
Adding the Lookup Action to a Block .....................................................................................23
Apply constraints and parameters to control block behavior ......................................................25
Creating a Block List..............................................................................................................25
Extract dynamic block properties to AutoCAD tables and Excel spreadsheets ..........................30
Page 2
Introduction to the block creation environment
Why should you be using dynamic blocks? Quite simply dynamic blocks can greatly reduce the
number of blocks in your library, improving your efficiency. While it does take a little more time
up front to create a dynamic block, the time savings on the back-end are well worth the effort!
Even better news: if you are a proficient user of AutoCAD, you should have no problem
converting those boring, static blocks into shiny new dynamic blocks!
Multiply all those options and you are looking at 360 possible combinations, all replaced by one
dynamic block!
Before we begin creating dynamic blocks, let’s first start with a rundown of the block creation
environment.
There are multiple ways to enter the block creation environment. Many times you can simply
double-click on a block. However, if the block has attributes associated with it, double-clicking
will instead bring up the attribute editor. Accordingly, there are alternative methods for entering
the block creation environment. With a block selected, you can right click and select Block
Editor. You can also select the block editor from the Block panel located on the Home tab.
Page 3
You may already be familiar with the block creation environment; it is the same environment
used to create and edit static blocks. The ability to turn static blocks into dynamic blocks comes
from the Block Authoring Palette. Typically the palette opens by default when you enter the
block creation environment. If it has been closed, you can open it by clicking on the Authoring
Palettes button located in the Manage panel on the Block Editor contextual tab.
The Block Authoring Palette contains four tabs: Parameters, Actions, Parameter Sets, and
Constraints.
Every dynamic block begins with a Parameter. One example of a parameter is a linear
dimension that controls the length of an object.
Most (but not all) dynamic blocks require an Action to go with the Parameter. For example, a
block can be stretched or scaled when a linear dimension value is changed.
Parameter Sets allow you to complete the process with a few less clicks; a set is the parameter
and action all rolled into one.
Constraints can be added to a dynamic block to further define what happens to the geometry as
the parameters change.
Page 4
Create Dynamic Blocks with the following abilities: stretch, mirror, array,
rotate, align, and multiple insertion points
Page 5
Use the Endpoint Snap to select the upper
right corner of the desk.
Page 6
Close the Block Editor
Note that if the variable GALLERYVIEW is set to 1, clicking the Insert button will give you a drop-down showing
the blocks stored in the current drawing. If GALLERYVIEW is set to 0, clicking the Insert button will open the
Insert dialog box. The steps in these exercises assume the use of the Insert dialog box.
Page 7
Continue inserting and cycling through
insertion points to complete the Study Hall
drawing.
Page 8
Adding the Alignment Grip to a Block
In this lesson you will add an alignment grip to a block so that you can effortlessly align a block to existing
geometry.
Next we will edit the 48 x 30 Cabinet with Sink block so that it also has the ability to align to existing geometry.
Double click on the 48 x 30 Cabinet with Sink block, then click OK to enter the Block Editor.
This is the original base point of the block and currently displays the UCS icon.
Page 9
Click the bottom left endpoint of the cabinet.
Page 10
Adding the Flip Action to a Block
In this lesson you will add a Flip grip to a block so that you can quickly mirror it without starting the Mirror
command.
Double click on the Counter Top with Sink Hole block, then click OK to enter the Block Editor.
First you will add a flip grip to mirror the block vertically.
Page 11
You are prompted to specify endpoint of
reflection line.
You are prompted to select the objects that will be flipped. Select everything in the block, then press Enter.
Next you will add a flip grip to mirror the block horizontally.
Page 12
Click on the Flip parameter located on
the Parameters tab in the Block
Authoring Palette.
Page 13
Switch to the Actions tab in the Block
Authoring Palette. Click on the Flip
action.
You are prompted to select the objects that will be flipped. Select everything in the block, then press Enter.
Page 14
Adding the Rotation Action to a Block
In this lesson you use the Rotation Parameter Set add the rotation action to a tree. You will see the difference
between adding a Paramter Set rather than adding the Parameter and Action separately.
Double click on the Clump of Trees or Bushes - plan block, then click OK to enter the Block Editor.
Page 15
Adding the Visibility Grip to a Block
In this lesson you use the Visibility parameter to combine several blocks into one. A drop-down list will
present you with the different views of the block.
Click OK.
You are now in the block editor…but it is empty. Now it is time to add some fasteners.
Page 16
Click on the Visibility parameter located on the
Parameters tab in the Block Authoring Palette.
Insert the block titled Phillips Flathead Screw ½ in. -top. Once again confirm that it is inserting full scale and at
zero rotation at 0,0,0. Check Explode if necessary.
Click on Visibility States located on the Visibility panel on the Block Editor tab.
Page 17
Name the new visibility state Slotted Flathead
Screw.
Insert the block titled Slotted Flathead Screw ½ in. -top. Once again confirm that it is inserting full scale and at
zero rotation at 0,0,0. Check Explode if necessary.
Click on Visibility States located on the Visibility panel on the Block Editor tab.
Page 18
Limit block variations through lists, increments, block tables, and lookup
actions
Adding the Stretch Action and List Option to a Block
In this lesson you use the Linear parameter and Stretch action to create a block that can be quickly stretched.
You will also use the List option to limit the allowable values.
Double click on the Hex Bolt ½ in. -side block, then click OK to enter the Block Editor.
Point 2
Page 19
When prompted for a stretch frame select the
geometry as shown.
Now you will limit the lengths that the block can stretch to.
Select the Linear parameter, then right click and select Properties.
Click OK.
Page 20
Adding the Array Action and Increment Option to a Block
In this lesson you use the Linear parameter and Array action to create a parking stall block that can be
arrayed quickly. You will also use the Increment option to limit the allowable values.
Double click on one of the Parking Stall blocks, then click OK to enter the Block Editor.
Next you are prompted to select the geometry to be arrayed. Select all components of the block.
Press Enter.
Page 21
When prompted for the Distance Between Columns enter 9 (the width of the stall in feet).
Press Enter.
Select the Linear parameter, then right click and select Properties.
Page 22
Adding the Lookup Action to a Block
In this lesson you use the Lookup action to create a drop-down list that allows the user to choose a block
variation by name.
Double click on the Hex Bolt ½ in. -side block, then click OK to enter the Block Editor.
Place the parameter in the location where you would like the drop-down arrow to appear.
When prompted to Select parameter, click anywhere on the Lookup1 parameter that was just created.
Page 23
Click in the first blank row under Input Properties
Distance1. Select 1.0000 from the value list.
Click OK.
Page 24
Apply constraints and parameters to control block behavior
Creating a Block List
In this lesson you use constraints and parameters to limit the ways in which the Window block can change.
Next you will create a Block List which will contain the allowable dimensions for the Window block.
Double click on the Double Hung Window block, then click OK to enter the Block Editor.
Geometric constraints such as horizontal, parallel, perpendicular, and coincident have been added to the
window.
Page 25
Click on the Horizontal dimensional constraint
located on the Constraints tab in the Block
Authoring Palette.
Point 1
Next you will add dimensional constraints to control the window frame thickness.
Page 26
Select the two endpoints on the upper left
corner of the window.
Click to place the parameter.
Type THICKNESS for the value.
Page 27
Place a vertical dimensional constraint on the
middle sash of the window.
Type THICKNESS for the value.
Click to the lower left of the window. This is where the grip will appear.
Page 28
At the Enter number of grips prompt press Enter to accept 1.
Page 29
Extract dynamic block properties to AutoCAD tables and Excel
spreadsheets
In this lesson you will use the Extract command to create a door schedule based upon the blocks in the
drawing.
Confirm that Create a new data extraction is selected then press Next.
You are prompted to save the Data Extraction. Name it Door Schedule and click Save.
This will save your steps and allow you to recreate the extraction process more quickly next time.
Next you have the opportunity to add additional drawings to your extraction. We will proceed with just the
current drawing.
Click Next.
Click Next.
Page 30
In the Category filter section, remove the check
from all items except Attribute and Dynamic Block.
Click Next.
Click Next.
Click Next.
Page 31
Enter Door Schedule for the table title. Accept all other defaults.
Click Next.
Click Finish.
Page 32