Much of the efficiency of computer drafting is derived from a feature that makes it possible to combine a collection of objects into an entity that behaves as a single object. In the Autodesk® AutoCAD® software, these collected objects are called a block. The AutoCAD tools that work specifically with blocks make it possible to do the following:
In this chapter, you will learn to
In general, objects that are best suited to becoming part of a block are the components that are repeatedly used in your drawings. In architecture and construction, examples of these components are doors, windows, and fixtures; drawing symbols, such as a north arrow; or labels for a section cut line (as shown in the examples in Figure 7-1). In mechanical drawings, these can be countersunk and counterbored holes, screws, bolts, fasteners, switches, or any other objects that you find yourself drawing repeatedly.
In your cabin drawing, you’ll convert the doors with swings into blocks. You’ll then create a new block that you’ll use to place the windows in the cabin drawing. To accomplish these tasks, you need to learn two new commands: BLOCK
and INSERT
.
When making a block, you create a block definition. This is an entity that is stored in the drawing file and consists of the following components:
You specify each of these in the course of using the BLOCK
command. When the command is completed, the objects are designated as a single block, and the block definition is stored with the drawing file. You then insert additional copies of the block into the drawing by using the INSERT
command.
Although it’s technically possible to create blocks on any layer of your choice, the generally accepted best practice is to always define blocks that are to be used as symbols in a drawing on layer 0. It is also recommended that the color, linetype, and lineweight of each be set to ByLayer or ByBlock. Drawing your blocks with these properties in mind allows you to manage their appearance in the same way as other linework in your drawing. Objects on other layers retain the properties of their original layers, regardless of which color or linetype has been assigned to the current layer. This is one characteristic that distinguishes layer 0 from all other layers.
To get started, you’ll see how to create blocks from objects already in your drawing. You’ll create a block for the back exterior door and call it A-DOOR-36IN (A-DOOR-0915) to match the National CAD Standard (NCS) naming convention used throughout this book. For the insertion point, you need to assign a point on or near the door that will facilitate its placement as a block in your drawing. The hinge point makes the best insertion point.
For this chapter, the Endpoint osnap should be running most of the time, and Polar Tracking should be off. Follow these steps to set up your drawing:
I06A-FPLAYO.dwg
(M06A-FPLAYO.dwg
) drawing you created in Chapter 6, “Using Layers to Organize Your Drawing.” If you’re starting a new session, you can download this file from the book’s website at www.sybex.com/go/autocad2016ner or from www.thecadgeek.com.The A-DOOR layer is now current, and the sun next to the A-WALL-HEAD layer turns into a snowflake. In addition to the A-WALL-HEAD layer, the A-FLOR-FIXT and A-ROOF layers should still be frozen from Chapter 6 (see Figure 7-2).
Now you’re ready to make blocks, so follow these steps:
The Block Definition dialog box opens, where you can specify some basic parameters for your block.
The dialog box temporarily closes, and you’re returned to your drawing.
This selects the insertion point for the door, and the Block Definition dialog box returns. The insertion point is the location, relative to the cursor, that the block uses for reference when it is inserted.
You’re returned to the drawing again. The cursor changes to a pickbox, and the command-line interface displays the Select objects:
prompt.
You’re returned to the Block Definition dialog box.
The Delete option erases the selected objects after the block definition is created, requiring you to insert the block into the drawing.
The Convert To Block option replaces objects with a block definition as soon as the block is created. In this situation, the Convert To Block option would be a better choice, but it’s a good idea to get some practice using the INSERT
command, which is why you selected Delete at the beginning of this step.
The Block Definition dialog box should look similar to Figure 7-5.
The Block Editor loads, displaying the A-DOOR-36IN (A-DOOR-0915) block you just created (see Figure 7-6).
Because the objects, in this case the door and swing, used to create the A-DOOR-36IN (A-DOOR-0915) block were drawn on the A-DOOR layer, the objects within the block are also on that layer. As discussed earlier, the preferred practice is to define blocks such as this one on layer 0 so that they’re easier to manage.
I07-01-DoorBlock.dwg
(M07-01-DoorBlock.dwg
).You have now created a block definition called A-DOOR-36IN (A-DOOR-0915). Block definitions are stored electronically with the drawing file. You need to insert the A-DOOR-36IN (A-DOOR-0915) block (known formally as a block reference) into the back door opening to replace the door and swing that were just deleted when the block was created.
You’ll use the INSERT
command to place the A-DOOR-36IN (A-DOOR-0915) block back into the drawing:
I07-01-DoorBlock.dwg
(M07-01-DoorBlock.dwg
) is open, and set the A-DOOR layer as the current layer.This starts the INSERT
command with the most common settings specified by default.
The command line reads Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate]:
.
The A-DOOR-36IN (A-DOOR-0915) block is no longer attached to the cursor, its insertion point has been placed at the right end of the lower jamb line, and the block is placed in the drawing.
I07-02-BlockInsert.dwg
(M07-02-BlockInsert.dwg
).In addition to the insertion point, blocks also provide the ability to specify a rotation angle along with separate X, Y, and Z scale factors. Using these options, you can stretch or flip blocks horizontally by specifying a negative X scale factor, or vertically by specifying a negative Y scale factor—or you can rotate them from their original orientations. Because you created the A-DOOR-36IN (A-DOOR-0915) block from the door and swing that occupied the back door opening and the size was the same, inserting this block back into the back door opening required no rotation, so you used the defaults.
Because the interior door is smaller, you need to make a new block for it. You could insert the A-DOOR-36IN (A-DOOR-0915) block with a 5/6 (762/915) scale factor, but this would also reduce the door thickness by the same factor, and you don’t want that.
On the other hand, for consistency it’s a good idea to orient all door blocks the same way, and the bathroom door is turned relative to the A-DOOR-36IN (A-DOOR-0915) block. You’ll move and rotate the bathroom door and its swing to orient it like the back door:
I07-02-BlockInsert.dwg
(M07-02-BlockInsert.dwg
) is open.
BLOCK
command. (Click the Create Block button on the Home tab ⇒ Block panel.)The door and swing disappear, and the Block Editor opens to display the block you just created.
After changing the layer, click Close Block Editor; be sure to save changes.
This opens the Insert dialog box, which allows you to override the default settings for inserting blocks.
A preview of the block appears in the upper-right corner (see Figure 7-13).
The A-DOOR-36IN (A-DOOR-0762) block is inserted into your drawing at the bathroom door opening (see Figure 7-14).
I07-03-InteriorDoor.dwg
(M07-03-InteriorDoor.dwg
).This view looks the same as the view you started with at the beginning of this chapter (shown in Figure 7-2). Blocks look the same as other objects, and you can’t detect them by sight. They’re useful because you can use them over and over again in a drawing or in many drawings and because the block is a combination of two or more (and sometimes many more) objects represented as a single object. A little later in the chapter you’ll learn how to detect a block.
Another way you can make several objects act as one is to use the GROUP
command. Groups differ from blocks in that they do not replace separate objects with a single definition but instead associate several objects by name so that they react as if they were a single object.
Selecting one member object from the group selects all the members. Unlike objects in a block, members of a group can be added or removed, and you can toggle the group to allow the individual members to be selected. Use groups when you know that the association between the objects is not permanent, and use blocks when it might be.
The procedure for creating a group is as follows:
I07-03-InteriorDoor.dwg
(M07-03-InteriorDoor.dwg
) is open.GROUP
command by clicking the Group button on the Home tab ⇒ Groups panel.N
↵ or select New at the command line to specify a name for your group.Enter a group name:
prompt, name your group CLOSETDOOR
. Press ↵ to define the group name.
The command line confirms the group creation: Group "CLOSETDOOR" has been created
.
Although you selected only one door panel, all four door panels are highlighted, and a bounding box defining the extents of your CLOSETDOOR group is displayed along with a single grip at the group’s centroid (see Figure 7-16).
Because Group Selection is currently disabled, only the panel you selected is highlighted (see Figure 7-17). In this state, you could modify the polyline defining the door panel you selected as if it were an ungrouped entity.
Groups are often used as a temporary drafting tool. As such, to ensure that your AutoCAD drawings remain uncluttered and performing at their best, you’ll want to dispose of unneeded groups when you’re finished with them.
The CLOSETDOOR group is discarded, and the command line reads Group CLOSETDOOR exploded
.
AutoCAD versions prior to the 2012 release included a limited subset of creation, editing, and management tools; AutoCAD has included a Groups feature for many releases. Despite these limitations, the Group object itself is the same as it was in earlier versions, making it possible to exchange drawings freely with groups between all recent AutoCAD versions.
You can detect blocks in a drawing in at least three ways: by using grips, by using the LIST
command, and by looking at the Properties palette.
Grips appear on objects that are selected when no command is started. When an object that isn’t a block is selected, grips appear at strategic places, such as endpoints, midpoints, and center points. But if you select a block, by default only one grip appears, and it’s always located at the block’s insertion point. Because of this, clicking an object when no command is started is a quick way to see whether the object is a block:
I07-03-InteriorDoor.dwg
(M07-03-InteriorDoor.dwg
) is open.The door and swing turn into dashed lines, and a square blue grip appears at the hinge point, as shown in Figure 7-18.
You’ll look at grips in more detail in Chapter 12, “Dimensioning a Drawing.” You might need to know more about a block than just whether something is one. If that is the case, you’ll need to use the LIST
command.
Much like the Properties palette, the LIST
command can be used to gather information about a selected object. Although both are effective tools for reporting information about objects in a drawing, the LIST
command displays only information. Unlike in the Properties palette, you cannot make changes to properties such as the layer. Despite this limitation, many users like the lightweight and concise nature of the LIST
command and prefer it to the Properties palette. The following exercise demonstrates how to use the LIST
command to learn more about a block:
I07-03-InteriorDoor.dwg
(M07-03-InteriorDoor.dwg
), or open it if it’s not already open.LI
↵ at the Type a command:
prompt.The AutoCAD command line temporarily expands to cover the drawing area (see Figure 7-19). In the command-line interface, you can see the words BLOCK REFERENCE Layer: "A-DOOR"
, followed by 12 lines of text. These 13 lines describe the block you selected.
The information displayed includes the following:
Select objects:
prompt, select each of the lines that make up the back staircase.The command line expands again, and you can see information about the stair lines that you selected (see Figure 7-20).
If the command line reads Press ENTER to continue:
, the amount of information is too large for the expanded command line.
LIST
command appears, earlier information is pushed out of view. Although this information is no longer in view, you can use your mouse wheel, or the scrolling feature on some laptop track pads, to view this earlier information.In Chapter 6, you used the Properties palette to change the individual linetype scale for the roof objects. It can also be a tool for investigating objects in your drawing. When the Properties palette is open and only one object is selected, the palette displays data specific to the selected object. If multiple objects are selected, it shows only the data shared by those objects.
Given the contextual nature of the Properties palette, it’s important to note this behavior. As an example, information such as the name of a block will display only when one or more instance of that same block is selected. In contrast, selecting both a block and a line will display only the properties both objects share (such as a layer), omitting differences (such as a block name). Follow these steps to use the Properties palette to query information about blocks:
I07-03-InteriorDoor.dwg
(M07-03-InteriorDoor.dwg
), or open it if it’s not already open.The Properties palette opens. The data displayed on the palette is similar to that displayed when you used the LIST
command, but it’s in a slightly different form (see Figure 7-21). At the top of the dialog box, a drop-down list displays the type of object selected—in this case, a block reference. The fields that are white signify items you can change directly in the palette, and items that are grayed out cannot be changed. You can’t change any values in the AutoCAD text window.
If you’re ever working on a drawing that someone else created, these tools for finding out about objects will be invaluable. The next exercise on working with blocks involves placing windows in the walls of the cabin.
You can create all the windows in the cabin floor plan from one block, even though the windows are four different sizes (see Figure 7-22). You’ll create a window block and then go from room to room to insert the block into the walls:
I07-03-InteriorDoor.dwg
(M07-03-InteriorDoor.dwg
), or open it if it’s not already open.The Osnap menu should look similar to Figure 7-23. Turn on the Object Snap option in the status bar.
Because the widths of the windows in the cabin are multiples of 12″ (305 mm), you can insert a block made from a 12″ (305 mm) wide window for each window, and you can apply an X scale factor to the block to make it the right width. The first step is to draw a window 12″ (305 mm) wide inside the wall lines.
LINE
command and then specify Nearest Osnap either by using the Shift+right-click menu or by entering NEA
↵.
The Nearest osnap will allow you to start a line on one of the wall lines. It snaps the cursor to any part of any object that is under the cursor and guarantees that the objects form an intersection but do not cross.
A line begins on the upper wall line.
The line is drawn between the wall lines, as shown in Figure 7-26. Press ↵ to end the LINE
command.
OFFSET
command, and set the offset distance to 12
(305
).The line is offset 12″ (305 mm) to the right. Press ↵ to end the OFFSET
command.
LINE
command again to draw a line between the midpoint of the line you first drew and the midpoint, or perpendicular to the line that was just offset.
After you press ↵ to end the LINE
command, your drawing should look like Figure 7-27.
I07-04-WindowBlock.dwg
(M07-04-WindowBlock.dwg
) by choosing Application menu ⇒ Save As ⇒ Drawing.The three lines you’ve drawn will make up a window block. They represent the two jamb lines and the glass (usually called glazing). By varying the X scale factor from 2 to 6, you can create windows 2′ (610 mm), 3′ (915 mm), 4′ (1220 mm), 5′ (1525 mm), and 6′ (1830 mm) wide. This is a single-line representation, with no double lines to indicate the frames, so for scaling the blocks, there is no thickness issue as there was with the doors.
Before you create the block, you need to decide the best place for the insertion point. For the doors, you chose the hinge point because you always know where it will be in the drawing. Locating a similar strategic point for the window is a little more difficult but certainly possible.
You know the insertion point shouldn’t be on the horizontal line representing the glazing because the insertion point will always rest in the middle of the wall. There is no guideline in the drawing for the middle of the wall, so a centered insertion would require a temporary tracking point every time a window is inserted. Windows are usually dimensioned to the midpoint of the glazing line rather than to either jamb line, so you don’t want the insertion point to be at the endpoint of a jamb line. The insertion point needs to be positioned on a wall line but also lined up with the midpoint of the glazing line.
To locate this point, you’ll use an object snap called Mid Between 2 Points, or the M2P osnap, as it’s commonly called. As the name suggests, the M2P osnap snaps to a point midway between two other points you select. Follow these steps to set the base point for the window block along the outside wall line and midway between the window’s edges:
I07-04-WindowBlock.dwg
(M07-04-WindowBlock.dwg
) is open.BLOCK
command by clicking the Create Block button on the Home tab ⇒ Block panel.M2P
↵ at the command line.
The Mid Between 2 Points object snap is rather unique in that it is generally used with other osnaps and is not found on the Object Snap toolbar. In this case, you want to find the midpoint between two endpoints.
The A-GLAZ block has been defined, and the 12″ (305 mm) window has been erased.
I07-05-WindowDefinition.dwg
(M07-05-WindowDefinition.dwg
).This completes the definition of the block that will represent the windows. The next task is to insert the A-GLAZ block where the windows will be located and scale them properly.
Several factors come into play when you’re deciding where to locate windows in a floor plan:
For this exercise, you’ll work on the windows for each room, starting with the kitchen. You’ll create a total of five windows: two 3′-0″ windows, one 4′-0″ window, one 5′-0″ window, and one 6′-0″ window (see Figure 7-29).
As you can see in Figure 7-29, the kitchen has windows on two walls: one 4′-0″ (1220 mm) window centered over the stove in the back wall and one 3′-0″ (915 mm) window centered over the sink in the top wall. You’ll make the 4′ (1220 mm) window first:
I07-05-WindowDefinition.dwg
(M07-05-WindowDefinition.dwg
) is open.Polar Tracking, Object Snap, and Object Snap Tracking should now be in their On positions.
The new Layer1 layer appears and is highlighted. Enter A-GLAZ↵ to rename the layer.
In your drawing, the 12″ (305 mm) window block is attached to the cursor at the insertion point (see Figure 7-31).
Note that it’s still in the same horizontal orientation that it was in when you defined the block. To fit it into the left wall, you’ll need to both rotate and scale the block up to 4′-0″ (1220 mm) before you insert it.
Rotate
option at the command line and then specify a rotation angle of 90 by entering 90
↵.
The window block is now rotated to align with the western exterior wall of the cabin.
X
(Scale X) option at the command line and then specify an X scale factor of 4
↵.
The window block now measures 4′-0″ (1220 mm) long and is ready to be placed along the western exterior wall of the cabin.
The A-GLAZ block appears in the left wall. The INSERT
block command ends.
I07-06-BlockRotate.dwg
(M07-06-BlockRotate.dwg
).
The window over the sink is centered on the sink, but the sink line doesn’t overlap the wall as the stove line did. You’ll use the same snap tracking procedure that you used in Chapter 5, “Developing Drawing Strategies: Part 2,” to set the window block’s insertion point without the need to draw extraneous geometry. Refer to Figure 7-32, shown earlier, as you follow the procedure here:
I07-06-BlockRotate.dwg
(M07-06-BlockRotate.dwg
) is open.You want to create one 3′-0″ (915 mm) window, centered over the sink. Be sure the Endpoint and Midpoint osnaps are running, and turn off the Perpendicular osnap.
A-GLAZ
at the command-line interface, and select Block: A-GLAZ
from the AutoComplete selection list, as shown in Figure 7-33.
Specify insertion point:
prompt, position the crosshair cursor over the intersection of the inside wall lines in the top-left corner of the cabin, as shown in Figure 7-34.
When the crosshair reaches a point directly above the first track ing point, a vertical tracking line appears, and the tooltip identifies the intersection of the two tracking lines as Endpoint: <0.00°, Midpoint: <90.00°
(see Figure 7-35).
3
↵.
1
↵. Press ↵ again to accept the default rotation angle of 0.
The 3′-0″ (915 mm) window is inserted into the wall behind the sink. Your kitchen, with the second window block inserted, should look like Figure 7-36.
I07-07-OsnapTracking.dwg
(M07-07-OsnapTracking.dwg
).As you can see, by using the Object Snap Tracking tool, you can quickly and precisely locate an insertion point even when a snappable feature doesn’t exist.
You’ve inserted two different-sized window blocks at two different rotations. Just three remain to be inserted: one in the bathroom and two in the living room. In this section, you’ll create the first of these by copying the horizontal kitchen window into the living room and then use the Properties palette to change the block’s scale, resulting in a 6′-0″ (1830 mm) window.
I07-07-OsnapTracking.dwg
(M07-07-OsnapTracking.dwg
) is open.Referring back to Figure 7-29, you see that the windows are 7′-6″ (2286 mm) apart. Because the insertion points are centered horizontally in the blocks, the insertion points of the two windows are 12′-0″ (3659 mm) apart. You need to copy the 3′-0″ (915 mm) kitchen window 12′-0″ (3659 mm) to the right.
Specify base point:
prompt, click anywhere in the drawing area.
Clicking near the block that you are moving will keep everything visually compact.
Specify second point or <use first point as displacement>:
prompt, enter 12
′↵ (3659
↵), as shown in Figure 7-37, and press ↵ again to terminate the COPY
command.
The window is copied 12′-0″ (3659 mm) to the right.
I07-08-ObjectProperties.dwg
(M07-08-ObjectProperties.dwg
).As you’ve seen, you can change many parameters of an object, including the scale factors for a block definition, by using the Properties palette.
The last two windows to insert are both in the bottom wall; one in the living room and one in the bathroom. You’ll use skills you’ve already developed to place them:
I07-08-ObjectProperties.dwg
(M07-08-ObjectProperties.dwg
) is open.This window is 5′-0″ (1525 mm) wide, and its insertion point is 7′-0″ (2134 mm) from the pop-out for the hot tub (4′-6″ × 2′-6″, or 1372 mm × 762 mm).
7'
↵ (2134
↵).
The window is inserted 7′-0″ (2134 mm) to the right of the corner.
The final window to draw is the 3′-0″ (915 mm) window in the bathroom. The insertion point is located 4′-0″ (1220 mm) from the bottom-left outside corner of the cabin. To create this window, you’ll copy the living room window that you just drew and then change the X scale factor by using the Properties palette.
COPY
command.Specify base point:
prompt, hold down the Shift key and press the right mouse button to open the Object Snap context menu.INS
↵ at the command line, or press Ctrl and right-click to open the object snap menu. COPY
command as the insertion point of the block.
Specify second point or <use first point as displacement>:
prompt, pause the cursor over the bottom-left outside corner of the cabin to acquire a temporary track point.4
′↵ (1220
↵), as shown in Figure 7-42.
The window is copied to its new location 4′-0″ (1220 mm) from the corner.
COPY
command.The window resizes to 3′-0″ (915 mm) wide, as shown in Figure 7-43.
COPY
command.Doing so changes the view to include all the visible lines, and the view fills the drawing area.
Your drawing, with all the windows in place, should look like Figure 7-44.
I07-09-FinishingWindows.dwg
(M07-09-FinishingWindows.dwg
).You have inserted five windows into the floor plan, each generated from the A-GLAZ block. You created the A-GLAZ block on layer 0 and then made the A-GLAZ layer current, so each window block reference took on the characteristics of the A-GLAZ layer when it was inserted.
You can disassociate the components of a block by using the EXPLODE
command. The tool is found in the Home tab ⇒ Modify panel. Exploding a block has the effect of reducing it to the objects that make it up. Exploding the A-GLAZ block reduces it to three lines, all on layer 0.
Typically, when you choose to explode a block, you want the linework to retain the layer displayed in your drawing. Users of AutoCAD (not Autodesk® AutoCAD LT® software) have another command named BURST
that does just that. You can find the BURST
command as the Explode Attributes button on the Express Tools tab ⇒ Blocks panel. Like the EXPLODE
command, BURST
reduces the A-GLAZ block into three lines, but they will retain the correct A-GLAZ layer.
One of the biggest advantages to using blocks over manually drawing items such as doors and windows in your drawing is the ease with which blocks can be modified. Earlier, you used the Block Editor as you were defining blocks. In this section, you’ll use the Block Editor again, this time not to define a new block but to modify an existing one. More specifically, you’ll modify the A-GLAZ (window) block and see how the changes you make are reflected throughout your drawing.
Let’s say that the client who’s building the cabin finds out that double-glazing is required in all windows. You’ll want the windows to show two lines for the glass. If you revise the A-GLAZ block definition, the changes you make in one block reference will be made in all six windows. Do the following to edit the window (A-GLAZ) block:
I07-09-FinishingWindows.dwg
(M07-09-FinishingWindows.dwg
) is open.Alternatively, you can access the Block Editor from the Insert tab ⇒ Block Definition panel ⇒ Block Editor tool or by entering BEDIT
↵ at the command line.
In the drawing area, the rest of the drawing disappears, the background turns gray, and the Block Editor tab and panels appear in the Ribbon. Only the A-GLAZ block and the Block Authoring palettes remain (see Figure 7-46). You are now in Block Editor mode.
OFFSET
command to offset the glazing line 0.5″ (13 mm) up and down. Then erase the original horizontal line (see Figure 7-47).
This window block now has double-glazing.
The Block Editor closes, and you are returned to the cabin drawing.
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
).You can transfer most of the information in a drawing to another drawing. You can do so in several ways, depending on the kind of information that you need to transfer. You can drag and drop or copy and paste objects from one open drawing to another. You can copy layers, blocks, and other named objects from a closed drawing into an open one by using DesignCenter. I’ll demonstrate these methods—and touch on a few others—as I finish this chapter. Note that these features don’t contribute to our cabin project, so the drawing changes you make in the following sections are only temporary and won’t be saved.
Similar to other Windows-based programs, AutoCAD provides a set of copy-and-paste tools that may be used to exchange all or part of one drawing into another drawing. Here’s the general procedure:
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) as the current drawing, click the New button on the Quick Access toolbar.I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) tab found just below the Ribbon interface.
If the Drawing Tab interface isn’t currently visible, browse to the View tab ⇒ Interface panel, and select File Tabs.
The walls (A-WALL) and decks (A-DECK) should be the only lines visible.
If you check the layers, you’ll see that the new drawing now has an A-FLOR-FIXT layer, in addition to the A-WALL and A-DECK layers.
DesignCenter is a tool for copying named objects (blocks, layers, text styles, and so on) to an opened drawing from an unopened one. You can’t copy lines, circles, and other unnamed objects unless they are part of a block. You’ll see how this works by bringing some layers and a block into your new drawing from I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
):
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) current and then close it. Don’t save changes.DC
↵ at the command line.
The DesignCenter palette appears on the drawing area (see Figure 7-52). Your screen might not look exactly like the example shown here. The tree diagram of file folders on the left might or might not be visible. Also, your DesignCenter might be wider or narrower.
Training Data
folder and open it.I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
), and click Open. The Load dialog box closes, and you are returned to your drawing.
Now the left side of DesignCenter lists your drawings in the Training Data
folder, and I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) is highlighted; the right side shows the types of objects in I07A-FPLAYO.dwg
that are available to be copied into the current drawing—in this case, Drawing1.dwg
(see Figure 7-53).
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
).
The list of named objects in the right panel now appears below I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) in the tree view on the left.
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) appears in the panel on the right (see Figure 7-54).I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) drawing, including those you just transferred to the Drawing#.dwg
drawing.
Now let’s see how this process works when you want to get a block from another drawing:
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) drawing.
On the right side, the list of blocks in that drawing appears (see the top of Figure 7-55).
A picture of the block appears in the lower-right corner of DesignCenter (see Figure 7-55). You can resize the preview pane vertically.
As the cursor comes onto the drawing, the A-DOOR-36IN block appears. Use the Endpoint osnap to locate the block at the opening, as you did earlier in this chapter (see Figure 7-56).
With this insertion, you’ve made the A-DOOR-36IN (A-DOOR-0915) block a part of your new drawing, and you can reinsert it in that drawing without DesignCenter.
At the top of the DesignCenter window, the buttons on the left are tools for navigating through drives and folders to find the files you need to access; the buttons on the right give you options for viewing the named objects in the window.
You can transfer information between drawings in several other ways. This section looks at three of them:
WBLOCK
command to take a portion of a drawing and create a new drawing file from the selected objects.To perform a Write Block, or WBLOCK
, operation, you create a new file by telling AutoCAD which elements of the current drawing you want in the new file. Let’s say you want to create a new DWG file for the bathroom of the cabin. Here are the steps:
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) and then pan and zoom to see the bathroom.WBLOCK
command, as shown in Figure 7-57.
In the middle portion, the Base Point and Objects groups are similar to those for creating a block.
As mentioned earlier, most project teams will establish a common location for their project. Assuming all of the drawings in your project are located in the same place, you can use 0,0,0 as the base point for the blocks you create with the WBLOCK
command. You can accept the default Base Point of 0,0,0 to retain this common point in your cabin project.
I07-11-Bath.dwg
(M07-11-Bath.dwg
)—for the new drawing, and choose a folder in which to save it.I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) drawing without saving any changes.You can use the WBLOCK
command in three ways, which are available via radio buttons at the top of the Write Block dialog box in the Source group. Here’s a brief description of each:
WBLOCK
) a block has the effect of exploding it.PURGE
command as follows:
PURGE
↵ to open the Purge dialog box.When you insert a drawing into another drawing, it comes in as a block. You use the same Insert tool that you use to insert blocks, but in a slightly different way. For example, in the previous section, you created a WBLOCK
, a portion of I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
), and made a new file called I07-11-Bath.dwg
. Now suppose you want to insert I07-11-Bath.dwg
into a new drawing. Take the following steps:
Drawing#.dwg
, and set it as current.INSERT
command. To start the INSERT
command from the Ribbon, you choose the Insert Ribbon tab ⇒ Block panel ⇒ Insert button and then select More Options.I07-11-Bath.dwg
(M07-11-Bath.dwg
).I07-11-Bath.dwg
, and then click Open to return to the Insert dialog box.
The drawing file that you selected is now displayed in the Name drop-down list. At this point, a copy of I07-11-Bath.dwg
has been converted to a block definition in Drawing#.dwg
.
You can uncheck Specify On-Screen and accept the defaults for each parameter.
The contents of I07-11-Bath.dwg
are displayed in your new drawing at the same location they were found in I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
).
You transfer blocks between drawings by dragging and dropping or by using DesignCenter. You can also convert them into DWG files by using the WBLOCK
command, and you can insert them back into other DWG files as blocks by using the INSERT
command. These blocks become disassociated when they leave the drawing and can be inserted as a block when they enter another drawing.
AutoCAD provides a tool called palettes to make blocks and other features or tools easily accessible for any drawing. You’ll now take a brief look at the sample palettes that come with AutoCAD, and you’ll see how to manage them on the screen. Follow these steps:
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) and zoom to the drawing’s extents.Notice the scroll bar next to the title bar (see Figure 7-60). This appears when there is more content than the palette can show. Blocks that are shown with a lightning bolt symbol as part of the icon are dynamic blocks.
Here you can toggle transparency on and off and adjust the degree of transparency for the tool palettes and many other palettes in the software.
Now the drawing is visible through the palettes (see Figure 7-62).
The palettes disappear except for the title bar (see Figure 7-63). When you move the cursor back onto the title bar, the palettes reappear—a handy feature.
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) without saving any changes.With both Transparency and Auto-Hide active, the palettes are less intrusive and take up less screen area, but they remain easily accessible. In Chapter 11, you’ll learn more about the Tool Palette feature, palette properties, and how to set up new palettes and change existing ones.
This chapter outlined the procedures for setting up and using blocks, the WBLOCK
command, and the AutoCAD DesignCenter. Blocks follow a set of complex rules, some of which are beyond the scope of this book.
Here are some suggestions that will give you some practice in working with blocks, drag-and-drop procedures, and DesignCenter:
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) drawing in their original locations. Create them on layer 0 and then insert them on the A-FLOR-FIXT layer. Here’s a list of the fixtures:
I07A-FPLAYO.dwg
(M07A-FPLAYO.dwg
) drawing, and experiment with them to see how they work. Figure 7-64 shows the cabin with a few trees and a car added from the Architectural palette. Some of the blocks on the default tool palettes are a special type of block called dynamic blocks. You’ll learn about dynamic blocks in Chapter 9, “Using Dynamic Blocks and Tables.”
In each of these examples, choosing the most useful location for the insertion point will determine whether the block that you create will be a handy tool or a big frustration.
WBLOCK
command18.224.30.19