Sie sind auf Seite 1von 25

F T ra n sf o F T ra n sf o

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 33
Reference Files

Learning Outcomes:
When you have completed this module, you will be able to:

1. Describe and apply the XREF and REFEDIT commands.

Reference Files
An external reference file is a drawing file linked to the current drawing. It acts as one object
similar to a block and appears to be part of the active drawing. Usually called a reference file
or a xref, it is quite different from a block. A reference file updates itself whenever the drawing
it is linked to is opened. It can also be updated manually by the CAD operator. If the drawing
that is attached as an xref is changed, the changes will appear when the drawing it is attached
to is opened or reloaded. Since it is only linked to the drawing, it does not add a significant
amount to the drawings database.
The XREF command is used to manage the reference file(s) that are linked to the current
drawing. You can attach more than one reference file at the same time. All objects in the
reference file must be in model space. Reference files can be scaled or rotated when they are
attached with the XREF command or after they are attached with the SCALE and/or ROTATE
commands. You can snap to the object snap modes of objects in the reference files. A
reference file can be edited in the current drawing with the changes going back to the original
drawing file. This is done with the REFEDIT command. AutoCAD LT does not have the
REFEDIT command.
Xref Dependant Named Objects
Xref dependent named objects are the layers, linetypes, dimension styles, blocks and text
styles of the reference file. They are added to the drawing they are attached to as non-
graphical object information. The names are changed so that no two names are the same.
Table 33-1 shows how the non-graphical names are dealt with by AutoCAD.
This table demonstrates how AutoCAD names the xref dependent named objects for layers,
linetypes, dimension styles, blocks, and text styles. In this table, the name of the attached xref
file drawing is House Plan and a layer in that drawing is First Floor and a block named Coffee
Table. For a reference file, the name of the non-graphical object is changed to the name
drawing name|object. If it is bound to the drawing, it is renamed name$n$objectname. The n
starts with zero and increases by one if the same name is encountered.
Binding a Reference File
A reference file can be bound to the drawing it is attached to with the XREF command. When
a reference drawing is bound to the drawing, the XREF command converts it into a block. The
xref dependent named objects are renamed according to Table 33-1. You can explode the
block to convert the objects into single objects and they become part of the drawing.

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 2 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

When you bind a reference file, you have the option of either binding it or inserting it. Inserting
a reference file converts it into a block but it strips the named non-graphical objects back to
their original names. See Table 33-1.

Xref Dependent Named Objects


When the Xref is: A Reference file Bound Inserted

Name of the layer House Plan|First Floor House Plan$0$First Floor First Floor

Name of the block House Plan|Coffee House Plan$0$Coffee Coffee Table


Table Table
Table 33-1
Naming of Xref Dependent Named Objects

AutoCAD Command: XREF


The XREF command is used to manage reference files in the current drawing.
Shortcut: XREF or XR

2004-2008

2000-2002

AutoCAD Command: REFEDIT


The REFEDIT command is used to
edit a reference file or a block in
the current drawing.
Shortcut: none

2004-2008

2000-2002

This Command is not available in AutoCAD LT.

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 3 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008


For AutoCAD 2007-2008 users only. If you are using
AutoCAD 2000-2006, skip to page 33-13)
Step 1 Start a new drawing using the template Module Template B.
Step 2 Save and name the drawing AutoCAD 2D Workalong 33-1.
Step 3 Using the PURGE command, purge all
blocks that are in the drawing.
Step 4 Open the drawing AutoCAD 2D Lab 23-1 Figure Step 4
that you completed in Module 23. See Figure
Step 4. Using the SAVEAS command, save the drawing with the name
AutoCAD 2D Workalong 33-1A.
Step 5 Open the drawing AutoCAD
2D Lab 27-1 that you completed in
Figure Step 5
Module 27. See Figure Step 5. Using
the SAVEAS command, save the drawing with the name
AutoCAD 2D Workalong 33-1B.
Step 6 Open the drawing AutoCAD 2D Lab 28-1 that you
completed in Module 28. See Figure Step 6. Using the
SAVEAS command, save the drawing with the name
AutoCAD 2D Workalong 33-1C. Figure Step 6

Step 7 Change the active drawing to


AutoCAD 2D Workalong 33-1. Create
layer Reference and set it as the
current layer. See Figure Step 7.

Figure Step 7
Step 8 Enter the XREF command. It
will open the External References window as shown in Figure Step 8.

Figure Step 8
...continued on page 33-4

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 4 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 9 Click the Attach DWG icon as shown in Figure Step 9A. It
will open the Select Reference File dialogue box as shown in Figure
Step 9B.

Figure Step 9A

Figure Step 9B

Step 10 Pull down the Look in box and


locate the folder: C:\CAD Courses\AutoCAD
2D\Lab Exercise See Figure Step 10A. When
the files display, select the drawing file
AutoCAD 2D Workalong 33-1A that you
created in Step 4. See Figure Step 10B.

Figure Step 10A

Figure Step 10B


...continued on page 33-5

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 5 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 11 When the file is
selected in Step 10B, the
External Reference dialogue
box will open. Ensure that
your dialogue box matches,
as close as possible, Figure
Step 11A and then click OK.
Using the graphic cursor,
locate the drawing as shown
in Figure Step 11B. Locate
it by eye to match the figure
the best you can. Its exact
location is not important.

Figure Step 11A

Step 12 Enter the LAYER


command and freeze the layers to
match Figure Step 12A. Your
drawing should now appear similar
to Figure Step 12B.
Figure Step 11B
Author's Comments:
The layers list in your
drawing may not
match exactly as
shown. It depends
on the layers you
created in the original
drawing. Do your
best to freeze the
layers so your
drawing match Figure Figure Step 12A
Step 12B.

...continued on page 33-6

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 6 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued

Figure Step 12B

Step 13 Attach the


second reference file
AutoCAD 2D Workalong 33-
1B. For this one, set the
scale at 0.03937 as shown
in Figure Step 13.

Author's Comments:
The reason 0.03937 was
used as a scale factor in
this drawing is that it was
drawn in millimeters. Since
there are 25.4 millimeters in
an inch, 1 divided by 25.4
equals 0.03937.

Figure Step 13

Step 14 Locate the second reference


file as shown in Figure Step 14. Locate
it by eye as close as you can to match
the figure.

Figure Step 14
...continued on page 33-7

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 7 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 15 Enter the
LAYER command
and freeze the
layers to match
Figure Step 15A.
Your drawing should
now appear similar
to Figure Step 15B.

Author's
Comments:
The layers list in Figure Step 15A
your drawing may
not match exactly as shown. It
depends on the layers you created
in the original drawing. Do your
best to freeze the layers so your
drawing matches Figure Step 15B.

Figure Step 15B

Step 16 Attach the third


reference file AutoCAD
2D Workalong 33-1C.
Set the scale at 0.5 to
insert it at half of its
original size. See Figure
Step 16.

Figure Step 16

Step 17 Locate the third reference file as shown in


Figure Step 17. It can be located by eye.

...continued on page 33-8 Figure Step 17

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 8 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 18 Enter
the LAYER
command and
freeze the layers to
match Figure Step
18A. Your drawing
should now appear
similar to Figure
Step 18B

Author's
Comments:
The layers list in
your drawing may
not match exactly
as shown. It Figure Step 18A
depends on the
layers you created in the original drawing. Do your best
to freeze the layers so your drawing matches Figure
Step 18B.

Step 19 Enter the XREF command. In the External


Reference window, you should see the three reference
drawings you just attached to the drawing. Notice how
the Status indicates you have the latest version loaded.
See Figure Step 19.
Figure Step 18B

Figure Step 19

...continued on page 33-9

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 9 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 20 Right-click drawing AutoCAD 2D Workalong 33-1B. It will highlight as shown in
Figure 20A. Click the Unload button. See Figure Step 20A. Note in Figure Step 20B that
the Status shows the drawing unloaded and in Figure Step 20C the drawing does not
display.

Figure Step 20A

Figure Step 20B


Figure Step 20C

Step 21 Right-click the drawing again and click the Reload button as shown in Figure
Step 21A. The drawing will reload itself as shown in Figure Step 21B.

Figure Step 21B

Figure Step 21A

...continued on page 33-10

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 10 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 22 Right-click the drawing
AutoCAD 2D Workalong 33-1C. It
will highlight as shown in Figure
22A. Click the Detach button and
the reference drawing will no longer
display as shown in Figure Step
22B.

Author's Comments:
When a reference drawing is
unloaded, it still remains as an
attached file but will not display on
the current drawing. When a Figure Step 22A
reference drawing is detached, it is
totally removed from the current drawing.

Step 23 Using the


MOVE command,
move the reference
drawing AutoCAD
2D Workalong 33-1B
as shown in Figure
Step 23. You can
locate it by eye.
Figure Step 22B Note: Figure Step 23

AutoCAD LT does not have a


REFEDIT command. If you are
using AutoCAD LT skip to Step
25A.

Step 24 Enter the REFEDIT


command and when prompted,
select the reference drawing
AutoCAD 2D workalong 33-1A. This
will open the Reference Edit dialogue
box as shown in Figure Step 24. Set
it to match Figure Step 24 and click
OK.

Figure Step 24
...continued on page 33-11

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 11 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 25 You are now in edit mode. The Refedit
dialogue box will display. You can only edit the
selected reference file. See Figure Step 25A.
Using normal commands, edit the drawing by
extending, erasing and trimming lines until your
drawing appears as shown in Figure Step 25C.
Figure Step 25B shows the intermediate step in
the editing. When you drawing appear the same
as Figure Step 25C, click the Save Reference
Edits icon as shown in Figure Step 25D. Figure Step 25A

Figure Step 25D

Figure Step 25B Figure Step 25C

Step 25A If you are using AutoCAD LT, open the drawing
AutoCAD 2D Workalong 33-1A.dwg in its own AutoCAD window
using the OPEN command. Make the changes to the drawing as
shown in Step 25 and save and close the drawing. In the Figure Step 26
External References window, reload it.
Step 26 Your
drawing should now
appear as Figure Step
26.
Step 27 Enter the
XREF command. In
the External
Reference window,
right click the drawing
AutoCAD 2D
Workalong 33-1B. In
the right-click menu,
select bind. See Figure Step 27
Figure Step 27A. In
the Binds Xref dialogue box, select Bind
and then click OK. See Figure Step 27B.

...continued on page 33-12 Figure Step 27B

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 12 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2007-2008 - Continued


Step 28 Open the Properties window and then select the drawing as shown in Figure
Step 28. Note how it is now a block and not a reference file.

Figure Step 28

Step 29 Open the


Layers dialogue box
and note the
changes to the layer
for the drawing that
was bound. See
Figure Step 29.

Figure Step 29

Step 30 Enter the


XREF command and
take note that there is
only one drawing left
attached as a
reference file. See
Figure Step 30A. Your
drawing should appear
as shown in Figure Figure Step 30A
Step 30B.

Step 31 Save and close the drawing.

Figure Step 30B

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 13 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006


For AutoCAD 2000-2006 users only. If you are using
AutoCAD 2007-2008, skip to page 33-23)
Step 1 Start a new drawing using the template Module Template B.
Step 2 Save and name the drawing AutoCAD 2D Workalong 33-1.

Step 3 Using the PURGE command, purge all


blocks in the drawing.
Figure Step 4
Step 4 Open the drawing AutoCAD
2D Lab 23-1 that you completed in
Module 23. See Figure
Step 4. Using the SAVEAS command,
save the drawing with the name
Figure Step 5 AutoCAD 2D Workalong 33-1A.

Step 5 Open the drawing AutoCAD 2D Lab 27-1 that you


completed in Module 27. See Figure Step 5. Using the
SAVEAS command, save the drawing with the name Figure Step 6
AutoCAD 2D Workalong 33-1B.
Step 6 Open the drawing AutoCAD 2D
Lab 28-1 that you completed in Module
28. See Figure Step 6. Using the
SAVEAS command, save the drawing
with the name AutoCAD 2D Workalong Figure Step 7
33-1C.
Step 7 Create layer
Reference and set it as
the current layer. See
Figure Step 7.

Step 8 Enter the


XREF command. It will
open the Xref Manager
dialogue box as shown
in Figure Step 8.

Figure Step 8
...continued on page 33-14

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 14 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 9 Click the Attach box as shown in Figure Step 9A. It will
open the Select Reference File dialogue box as shown in Figure
Step 9B.
Figure Step 9A

Figure Step 9B

Step 10 Pull down the Look in box and


locate the folder: C:\CAD Courses\AutoCAD
2D\Lab Exercise See Figure Step 10A. When
the files display, select the drawing file
AutoCAD 2D Workalong 33-1A that you
created in Step 4. See figure Step 10B.

Figure Step 10A

Figure Step 10B


...continued on page 33-15

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 15 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 11 When the file is
selecting in Step 10, the
External Reference dialogue
box will open. Ensure that
your dialogue box matches
Figure Step 11A and then
click OK. Using the graphic
cursor, locate the drawing
as shown in Figure Step
11B. Locate it by eye to
match the figure the best
that you can. Its exact
location is not important.

Figure Step 11A

Step 12 Enter the LAYER


command and freeze the layers to
match Figure Step 12A. Your
drawing should now appear similar
to Figure Step 12B.

Author's Comments: Figure Step 11B


The layers list in your
drawing may not
match exactly as
shown. It depends on
the layers you created
in the original drawing.
Do your best to freeze
the layers so your
drawing matches
Figure Step 12B.
Figure Step 12A

...continued on page 33-16

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 16 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued

Figure Step 12B

Step 13 Attach the


second reference file
AutoCAD 2D Workalong 33-
1B. For this one, set the
scale at 0.03937 as shown
in Figure Step 13.

Author's Comments:
The reason 0.03937 was
used as a scale factor in
this drawing is that it was
drawn in millimeters. Since
there are 25.4 millimeters in
an inch, 1 divided by 25.4
equals 0.03937.

Figure Step 13

Step 14 Locate the second reference


file as shown in Figure Step 14. Locate
it by eye as close as you can to match
the figure.

Figure Step 14
...continued on page 33-17

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 17 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 15 Enter the
LAYER command
and freeze the
layers to match
Figure Step 15A.
Your drawing should
now appear similar
to Figure Step 15B.

Author's
Comments:
The layers list in Figure Step 15A
your drawing may
not match exactly as shown. It
depends on the layers you created
in the original drawing. Do your
best to freeze the layers so your
drawing matches Figure Step 15B.

Figure Step 15B

Step 16 Attach the third


reference file AutoCAD
2D Workalong 33-1C.
Set the scale at 0.5 to
insert it half of it original
size. See Figure Step
16.

Figure Step 16

Step 17 Located the third reference file as shown in


Figure Step 17. It can be located by eye.

...continued on page 33-18


Figure Step 17

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 18 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 18 Enter
the LAYER
command and
freeze the layers to
match Figure Step
18A. Your drawing
should now appear
similar to Figure
Step 18B

Author's
Comments:
The layers list in
your drawing may
not match exactly
as shown. It Figure Step 18A
depends on the
layers you created in the original drawing. Do your best
to freeze the layers so your drawing match Figure Step
18B.

Step 19 Enter the XREF command. In the Xref


Manager dialogue box you should see the three reference
drawings you just attached to the drawing. Notice how
the Status is checked indicating you have the latest Figure Step 18B
version loaded. See Figure Step 19.

Figure Step 19
...continued on page 33-19

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 19 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 20 Click the drawing AutoCAD 2D Workalong 33-1B. It will highlight as shown in
Figure 20A. Click the Unload button. See Figure Step 20A. Note in Figure Step 20B that
the Status shows the drawing unloaded and in Figure Step 20C the drawing does not
display.

Figure Step 20A

Figure Step 20B


Figure Step 20C

Figure Step 21A

Step 21 Highlight the drawing again. Click the


Reload button as shown in Figure Step 21A. The
drawing will reload itself as shown in Figure Step
21B.

...continued on page 33-20 Figure Step 21B

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 20 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 22 Click the drawing AutoCAD 2D Workalong 33-1C. It will highlight as shown in
Figure 22A. Click the Detach button and the reference drawing will no display as shown in
Figure Step 22B.

Figure Step 22A

Author's Comments:
When a reference file is unloaded, it still remains as a
attached file but will not display on the current drawing.
When a reference file is detached, it is totally removed
from the current drawing.

Figure Step 22B


Step 23 Using the MOVE command, move the
reference drawing AutoCAD 2D Workalong 33-1B as
shown in Figure Step 23. You can locate it by eye.

Figure Step 23
Note:
AutoCAD LT does not have a
REFEDIT command. If you are
using AutoCAD LT skip to Step
25A.

Step 24 Enter the REFEDIT


command and when prompted,
select reference drawing AutoCAD
2D workalong 33-1A. This will open
the Reference Edit dialogue box as
shown in Figure Step 24. Set it to
Figure Step 24 match Figure Step 24 and click OK.

...continued on page 33-21

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 21 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 25 You are now in edit mode. The Refedit
dialogue box will display. You can only edit the
selected reference file. See Figure Step 25A.
Using normal commands, edit the drawing file by
extending, erasing and trimming lines until your
drawing appears as shown in Figure Step 25C.
Figure Step 25B shows the intermediate step in
the editing. When you drawing appear the same
as Figure Step 25C, click the Save Reference
Edits icon as shown in Figure Step 25D. Figure Step 25A

Figure Step 25D

Figure Step 25B Figure Step 25C

Step 25A If you are using AutoCAD LT, open the drawing
AutoCAD 2D Workalong 33-1A.dwg in its own AutoCAD window
using the OPEN command. Make the changes to the drawing as Figure Step 26
shown in Step 25 and save and close the drawing. Enter the
XREF command and reload it..
Step 26 Your drawing should now appear as Figure Step 26.

Figure Step 27A

Step 27 Enter the XREF command. In the Xref


Manager, highlight drawing AutoCAD 2D
Workalong 33-1B and then click Bind as shown
in Figure Step 27A. In the Bind Xref dialogue
box, click Bind. See Figure Step 27B.
...continued on page 33-22
Figure Step 27B

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 22 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Using the XREF and REFEDIT Commands 2000 - 2006 - Continued


Step 28 Open the Properties window and the select the drawing as shown in Figure Step
28. Note how it is now a block and not a reference file.

Figure Step 28

Step 29 Open the


Layers dialogue box
and note the
changes to the layer
names for the
drawing that you just
bound. See Figure
Step 29.

Figure Step 29

Figure Step 30

Step 30 Enter the XREF command and take note that there is
only one drawing left attached as a reference file. See Figure
Step 30A. Your drawing should appear as shown in Figure Step
30B.

Step 31 Save and close the drawing.


Figure Step 30B

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 23 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Another feature that is hidden away in the


bottom right corner of status bar is a small
triangle that when clicked allows you to
customize the status bar.

The pop-open menu opens and allows you to select which


features to display on your status bar. In the example on the
right, everything is displayed, which is the best way to work
at this time. After you become more experienced working in
AutoCAD, you can select the item you want to enable. There
is a slight difference between the versions of AutoCAD.

If you click the Tray Settings... the Tray


Settings dialogue box opens. In this box,
you can choose to display or disable the
display of the service icons. It also allows
you to select if you want to be notified by
services and to configure their display. The
services will be covered in AutoCAD
Customization Modules.

Note: These features are only available


in 2004 - 2008. AutoCAD LT does not have the Otrack option.

To completely remove a reference file from the current drawing, you must
detach it using the XREF command. Erasing a reference file does not
remove it completely from the drawing. All the named objects definitions
associated with an erased xref remain. Using the Detach option removes
the selected xref and all associated information.

The Key Principles in Module 33


1. An external reference file is a drawing file linked to the current drawing. It acts as one
object similar to a block and appears to be part of the active drawing.
2. A reference file can be bound to the drawing it is attached to with the XREF command.
When a reference drawing is bound to the drawing, the XREF command converts it into
a block.
3. To completely remove a reference file from the current drawing, you must detach it using
the XREF command.

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 33 - 24 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Lab Exercise 33-1 Time Allowed: 30 Min.


Drawing Specifications
Name Template Units Text Style Font
AutoCAD 2D Lab 33-1 Module Template D Inches N/A N/A
Note: Color, Linetype, and Lineweight are all ByLayer unless otherwise instructed.
Layering Scheme
Objects on Layer Name Color Linetype Lineweight
Reference Files Reference White/Black Continuous N/A
Instructions:
1. Draw two lines to divide the drawing into four equal parts as shown below. Place the lines on layer
Titleblock.
2. Open the drawings on the left and using the SAVEAS command, save them with the name on the
right.
a) AutoCAD 2D Lab 22-1 saveas AutoCAD 2D Lab 33-1A
b) AutoCAD 2D Lab 23-1 saveas AutoCAD 2D Lab 33-1B
c) AutoCAD 2D Lab 24-1 saveas AutoCAD 2D Lab 33-1C
d) AutoCAD 2D Lab 25-1 saveas AutoCAD 2D Lab 33-1D
3. Complete the following: In all cases have the reference file reside on the layer Reference and retain
the path.
In box A Attach the drawing: AutoCAD 2D Lab 33-1A - Scale 1
In box B Attach the drawing: AutoCAD 2D Lab 33-1B - Scale 2
In box C Attach the drawing: AutoCAD 2D Lab 33-1C - Scale 0.05
In box D Attach the drawing: AutoCAD 2D Lab 33-1D -
(You will have to calculate the scale on this one yourself. Keep in mind it is drawn in millimeters.)
4. After you insert the xrefs, freeze the layers of the objects you do not want to display until they match
the drawing below.

Completed Drawing

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33
F T ra n sf o F T ra n sf o
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 AutoCAD Self-paced Learning Modules - AutoCAD 2D - Revised 2007-04-14 33 - 25 w om
w

w
w. w.
A B B Y Y.c A B B Y Y.c

Lab Exercise 33-2 Time Allowed: 30 Min.


Drawing Specifications
Name Template Units Text Style Font
AutoCAD 2D Lab 33-2 Module Template D Inches N/A N/A
Note: Color, Linetype, and Lineweight are all ByLayer unless otherwise instructed.
Layering Scheme
Objects on Layer Name Color Linetype Lineweight
Instructions:
1. Open the drawing AutoCAD 2D Lab 33-1 and save it as AutoCAD 2D Lab 33-2.
2. Using the REFEDIT command, edit the
drawing in quadrant A as shown below.

Note: AutoCAD LT users, open the drawing


that is xrefed in edit and save it.
Reload it using the XREF command.

3. Bind the reference file in quadrant B. Do not use the Insert option. After it is bound, edit all of the
names of the layers that were part of the drawing AutoCAD 2D Lab 33-1B. For example:

AutoCAD 2D Lab - 33-1B|Object to Object 33-1B

4. Bind the reference file in quadrant C. Use the Insert option.

5. Detach the reference in quadrant D.

Completed Drawing

Reference Files The CAD Guys Ltd. Copyright © 1993 - 2007 Module 33

Das könnte Ihnen auch gefallen