PD rm PD rm
Y Y
Y
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
AutoCAD Self-paced Learning Modules
®
AutoCAD 2D
Module 30
Blocks
Learning Outcomes:
When you have completed this module, you will be able to:
1. Describe a block, how blocks are used in AutoCAD, and how they work with layers.
2. Describe the BLOCK and INSERT commands.
Blocks
A block is a collection of objects that acts as one object. After defining a block, you can insert it
into a drawing as many times as you wish. It can also be inserted into other drawings or
shared with others. Regardless of the number of times the block has been inserted into the
drawing, it will not significantly change the size of the drawings database.
Every drawing file has an invisible data area called the block definition table. The block
definition table stores all block definitions for that drawing. It consists of all the data associated
with the block. It is these block definitions that the INSERT command refers to when you insert
the block into the drawing. The only way to remove a block from the definition table is to purge
it with the PURGE command. Purging is covered in Module 32. All inserted blocks must be
deleted before the definition can be purged from the drawing. A block can be exploded back
into the objects it was created from with the EXPLODE command.
There are two methods to edit a block. The first is to insert the block into the drawing, explode
it and make your changes. Then define it as a block again giving it the same name. The
second is to use the REFEDIT command which is taught in Module 33. When a block is
edited, it will overwrite the block definition presently in the block definition table and all
insertions of that block will change to appear as the revised one. To help you understand the
importance of this, here is an example. Assume you just drew a symbol for a telephone,
defined it as a block and inserted one on each of the 200 desks in an office building that you
are drawing. Your boss decides to change the symbol after they are all inserted. Since they
were blocks, you edit one, changing it to the new symbol and create a block with same name
and all 200 symbols are changed instantly.
The INSERT command is used to insert a block into the drawing. A block can be scaled and/or
rotated when it is inserted or it can be scaled and/or rotated after it is inserted using the SCALE
and ROTATE commands.
A block can also have intelligence, called attributes, attached to it. After blocks with attributes
are defined and inserted, the data attached to them can be extracted. Assume you are
inserting telephone symbols again but this time with the name of the person assigned to the
telephone, the telephone number and the office number where they are located as an attribute
to each block symbol. After all of the blocks are inserted, you could extract a list containing all
the information listed above, sorted by name or by telephone number. You are now working
smarter, not harder. Attributes are covered in the AutoCAD Customization Modules.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 2 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Table 30-1
Blocks and Layers
A block is a collection of objects that acts as one object. Every drawing file
has an invisible data area called the block definition table. The block
definition table stores all the block definitions for that drawing. When a
block is inserted onto a drawing, it will reside on the current layer. A block
can be exploded when it is inserted or after it is inserted with the EXPLODE command.
When a block is exploded, it loses all of its block properties and it is converted back to the
original objects and properties that it had when created.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 3 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
2004-2008
2000-2002
2004-2008
2000-2002
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 4 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 5
Figure Step 6
Authors Comments:
Layer 0 (zero) assigned the color white/black is a special layer and color for blocks. When
a block is created using objects drawn on layer 0, the block will take the properties of that
layer. If the block is exploded, the individual objects belonging to that block will reside on
layer 0, color white/black. When a block is created using objects drawn on any other layer,
it will display the properties of that layer even though it resides on the layer that it was
inserted on. If it is exploded, the individual objects will reside on the layer that they were
originally draw on and retain the properties of that layer.
...continued on page 30-5
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 5 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 7B
Figure Step 7A
Step 8 Enter the BLOCK command. It will open the Block Definition dialogue box as
shown in Figure Step 8. Note the changes if you are using 2008. If you are using 2000 to
2007, see page 30-6.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 6 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 9
Step 11 In the Objects area, click the Select objects icon and using
a window, select the triangle. See Figure Step 11A and 11B. Figure Step 11A
Step 12 In the Objects area, enable the Delete
button as shown in Figure Step 12.
Authors Comments:
Delete - the BLOCK command will delete the Figure
object(s) you used to create the block. Retain - keep Step 11B
the object(s) as individual objects.
Figure Step 12 Convert to block - convert
the object(s) to a block.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 7 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 8 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 16
Figure Step 17
Step 17 Ensure that layer 0 is the current layer. Enter the INSERT command. It will open
the Insert dialogue box as shown in Figure Step 17. In the Name: box, pull down the list
and select the block Module 30 Triangle.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 8 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 16
Figure Step 17
Step 17 Ensure that layer 0 is the current layer. Enter the INSERT command. It will open
the Insert dialogue box as shown in Figure Step 17. In the Name: box, pull down the list
and select the block Module 30 Triangle.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 9 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 18
Figure Step 19
Figure Step 21
Figure Step 22
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 10 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Figure Step 23
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 11 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Layer 0 (zero), assigned the color white/black, is a special layer and color
for blocks. An inserted block that was created using objects drawn on layer
0 will reside on and take the properties of the layer that it is inserted on. If
the block is exploded, the individual objects belonging to that block will
reside on layer 0, color white/black. When a block is created using objects drawn on any
other layer, it will display the properties of that layer even though it resides on the layer that
it was inserted on. If it is exploded, the individual objects will reside on the layer that they
were originally draw on.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 12 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
The insertion point you select for the blocks you create is important. Each
block is unique and has a best insert point location. When you select the
insert point for the block you are creating, try to imagine what location you
would like if you were inserting the block on the drawing. Study the blocks
below and the insert points assigned to them.
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 13 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om 30 - 14 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
5. Draw each object shown on the next two pages somewhere outside the boundary of the
drawing. Draw them on layer 0 , color white/black.
6. Create a block from each object. Use the following:
a) Name the block the names listed under each drawing.
b) Set the BLOCK command to delete the blocks after creation.
c) Set the Insert point as shown on the drawing.
d) Give the block a description and the insert units at Unitless.
Desk
File Cabinet
Book Shelf
Chair
Dresser
Conference Table
Y
er
er
ABB
ABB
y
y
bu
bu
2.0
2.0
to
to
re
re
he
he
k
k
lic
lic
C
C
w om AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-17 30 - 15 w om
w
w
w. w.
A B B Y Y.c A B B Y Y.c
Plant
Night Stand
Hint: Draw the plant by eye. First draw a construction circle then add
lines. Use 3 point arcs to complete.