Xref command in AutoCAD

Since its inception, AutoCAD has led the CAD market with outstanding features and breakthroughs. The "xref" function is one such feature that we'll be investigating today.

The abbreviation "xref" in AutoCAD stands for "external references". The xref tool, as its name suggests, enables you to add external references to your design. Other drawings, PDFs, photos, point cloud data, and other types of external references are also possible. The xref feature functions as a "overlay" over your drawings; it is not actually a part of the design.

A REAL-LIFE EXAMPLE

Think about a multi-level construction site that you have drew in AutoCAD. The primary drawing is of the building's location, while the subsidiary pictures show its Storeys. So, once you've finished the site's first drawing, you may utilize it as a guide for subsequent floor layouts. It is not necessary to repeatedly copy-paste the site plan into a floor plan layout.

It would just overlay your drawing after being attached as an external reference. Then, you may arrange your different floors using it as a guide.

We'll go into more depth regarding the xref feature in this post, covering its advantages, kinds, and applications in drawings.

Why Employ Them

 Your entire productivity can be enhanced by using AutoCAD's external reference capability. Before continuing, it's crucial to comprehend why you would want to add xrefs in the first place. The following three factors:

  1. Multiple users: As previously mentioned, the primary drawing is superimposed into your workspace using an external reference. This makes it possible for several people to work on the same project at once. One user may begin designing the lighting fixture, for instance, using the floor layout as a starting point. The user in charge of the furnishings can use the floor plan as a guide while creating their designs.
  2. Increased productivity is the result of the ability for numerous people to work concurrently on a single project. In keeping with our previous example, we may create floor layouts using a single site plan as a guide. As a result, each person receives their own portion of the drawing.
  3. Maintaining uniformity throughout the project is essential whenever you share a task across several people. By ensuring that any changes made to the main drawing are immediately reflected on the host drawings, using the same design for all projects reduces the likelihood of mistakes.

Types

You may incorporate a variety of formats for outside sources into your designs. Almost all popular image formats, including JPG and PNG, are usable. Drawings in the DWG or DWF formats can also be imported. You may even make use of point cloud and PDF references.

There are primarily two forms of external references in AutoCAD: overlay and attachment, however there is significant flexibility in the formats employed. Let's look more closely.

Overlay

AutoCAD superimposes the drawing on the host drawing in this kind of external reference. This implies that the external reference stays fully distinct from your artwork and is just utilized as a reference, not another piece of it.

Consider the situation when your floor design is based on the primary site plan. And another person is sketching something using your floor layout as a reference. As a result, they just require your floor plans and cannot incorporate the site plan in their drawings. A overlay would then be used for the external reference. In this manner, you may use the reference while working on it, and the other person will only be able to see your drawing and not the external reference that is attached.

Attachment

In contrast to the preceding situation, occasionally each person requires the full drawing to do their task. This is the time when you attach the external reference. It enables all project participants to access all external references in all of the designs.

Uses for Them

Let's look at how to utilize an xref in AutoCAD now that we understand what it is and why it is used. The good news is that referencing outside sources is as simple as it gets. Let's examine the two basic methods:

Ribbon Approach

  1. Make sure the AutoCAD ribbon is visible at the top of the model space. Select the "Insert" tab, then select the "Attach" option from the list of choices in the ribbon space.
  2. Choose the drawing's file location and file format.
  3. When you choose this, a new window with customization choices for your external reference appears.
  4. You may examine a preview of the drawing, adjust the external reference's scale, choose the external reference's kind, and more here. For now, you may keep them on default. Click "OK" one again.
  5. You may now utilize the drawing as an external reference in your model space by left-clicking to select the insertion location. All done!

Command Approach

You may always utilize the AutoCAD commands if the aforementioned methods seem a little time-consuming to you. Simply enter the command "XREF" in the command bar, and all the tools you require appear in a new window.

Properties

Let's examine some of the xref's attributes in the model space now that we've discussed how to import it into your picture.

You can utilize external references in the AutoCAD drawings anyway you'd like once you've included them to your model space. By selecting the little arrow next to it, you may open the External Reference properties in the same Insert tab.

This causes a new window to open. You can see both your artwork and the outside reference drawing you used here. You may access more choices by selecting the external drawing with the right mouse button.

  • Open: If you have access, you can alter the reference drawing by selecting Open.
  • Detach: Removes the external reference from your sketch by selecting Detach. By doing this, the host drawing's reference drawing is removed.
  • Unload: Removes the external reference temporarily from your drawing. Unload just temporarily disables the external reference as opposed to the detach option, which totally removes the reference.
  • Reload: If you've emptied your drawing, it adds an external reference. This can be used to reflect any adjustments made to the primary drawing.
  • Bind: This function lets you decide whether to maintain the external reference's original attributes. There are two choices in the Bind dialogue box:
    • Bind: Maintains in the host drawing the reference drawing's original layer properties, any colors, and block properties.
    • Insert: Replaces any reference drawing properties. In the reference drawing and the host drawing, all the characteristics are consistent in this manner.

Final Reflections

You should employ external references as a terrific element in your drawings. It makes it possible for you to work more efficiently, keeps consistency, especially when working in a team, and can improve the caliber of your drawings.

Additionally, AutoCAD 2021 comes with a few built-in commands to enhance your xref feature use experience.