About Attaching and Detaching Referenced Drawings (Xrefs)

You can insert any drawing file as an external reference or xref in the current drawing.

When you attach a drawing file as an xref, you link that referenced drawing to the current drawing. Any changes to the referenced drawing are displayed in the current drawing when it is opened or reloaded.

A drawing file can be attached as an xref to multiple drawings at the same time. Conversely, multiple drawings can be attached as referenced drawings to a single drawing.

Tools for Attaching Xrefs

You can use several methods to attach an xref:

The saved path used to locate the xref can be a relative (partially specified) path, the full path, or no path.

If an xref contains any variable block attributes, they are ignored.

Receive Notification of Attached Xrefs

When one or more xrefs are not found, or if any of the xrefs need reloading, a balloon message is displayed near the lower-left corner of the drawing area. Click the link in the balloon message to reload the xref. If Compare Changes is checked, the xref is compared to its reference drawing and the comparison results display in the current drawing. When you close the comparison, the xref is reloaded.

Compare an Xref

You can compare an xref with the reference drawing file at any time. Right-click an xref in the Reference Manager and select one of the compare options. Differences are highlighted with color and revision clouds in the current drawing.

Detaching Referenced Drawings

To completely remove DWG references (xrefs) from your drawing, you need to detach them rather than erase them.

Erasing xrefs does not remove, for example, layer definitions associated with those xrefs. Using the Detach option removes the xrefs and all associated information.

Highlight External References in a Drawing

To find an external reference in a complex drawing, select an item in the External References palette to highlight all visible instances in the drawing. Conversely, select an external reference in the drawing to highlight its name in the External References palette.

Note: The ERHIGHLIGHT system variable controls whether referenced objects are highlighted. You can turn highlighting off to improve performance.

Control the Properties of Referenced Layers

You can control the visibility, color, linetype, and other properties of an xref's layers and make these changes temporary or permanent. If the VISRETAIN system variable is set to 0, these changes apply only to the current drawing session. They are discarded when you end the drawing session, or when you reload or detach the xref.

You can also control the fade display of the DWG xref. The XDWGFADECTL system variable defines the fade percentage for all DWG xrefs.

Xref Clipping Boundaries

Drawings can include xrefs that are clipped. If you want to see the clipping boundary, you can turn on the XCLIPFRAME system variable.

Attachments from Educational Products

If you open, insert, or attach an xref from an Autodesk Educational Product, the drawings you plot contain the following banner: “PRODUCED BY AN AUTODESK EDUCATIONAL PRODUCT.”