-XREF command
Attaches and detaches DWG files.

Alias: -XR
Description
Controls DWG drawing files that are attached to the current drawing (short for "external reference").
Options within the command
- ? to list external references
- List the names and paths of attached drawings, if any, and their status.
- Attach
- Opens Select File to Attach dialog box to select a DWG file to attach.
- Overlay
- Opens Select File to Overlay dialog box to select a DWG file to overlay.
- Bind
- Copy the contents of the attached drawing to the current drawing as entities or as a block, depending on the value of BINDTYPE system variable:
- Detach
- Remove attached drawings.
- Path
- Changes the path (drive and folder) to the source DWG file, should the original path no longer point to the file.
- Reload
- Reload the attached drawing, after its contents have changed.
- Unload
- Hide the attached drawing from view, but keep it attached.