Additional information on XREFs and DREFs

As discussed in the previous videos, the two main references used for Civil 3D projects are external references (XREFs) for graphical entities and data shortcuts (DREFs).

The XREF command is for referencing external entities, while data shortcuts (and Autodesk Vault) are the tools for managing data referencing.

The XREF command can reference the following file types:

Note: If the referenced drawing contains objects unique to vertical applications (e.g., AutoCAD Architecture, Plant 3D, MEP, etc.), the proper object enablers need to be installed on the host machine or the referenced file needs to contain Proxygraphics.

When attaching XREFs, the settings shown in the following image should be considered for proper data management.

 

  1. Reference Type: Attachment or Overlay
    • In most cases, this should be set to Overlay to prevent circular referencing.
    • Nested XREFs should be avoided if possible (but can be used with caution). Setting the Reference Type to Overlay will prevent nested XREFs from becoming circular references.
  2. Path Type: No path, Relative path, or Full path
    • In most cases, this should be set to Relative path.
  3. Locate using Geographic Data toggle.
    • If both the reference drawing and the host drawing have a coordinate system assigned, you can toggle on Locate using Geographic Data to determine the Scale, Insertion point, and Rotation values. In fact, when it is toggled on, the Scale, Insertion point, and Rotation fields become read-only.
  4. Block Unit (read-only)
    • Shows the units and conversion factor of the reference.

Note that the XREF will be added to the current layer. It is recommended to have a dedicated layer for XREFs and to make that layer current before attaching XREFs. XREFs should NOT be placed on Layer 0.

Once an XREF is in the host drawing, the file's path, pathing type, and reference type can be changed in the External References palette, as shown below.

XREFs should be placed on their own dedicated layer with a proper layer name. Contrary to what is shown in the video, it is never a good idea to place anything on Layer 0 or to manipulate Layer 0's properties.

XREFs will not fade like other objects when the layer’s transparency is lowered. Instead, Civil 3D can be configured to fade (or brighten) all XREFs by sliding the Fade control lever for Xref display, which is found on the Display tab of the Civil 3D Options interface.

If reference paths need to be changed for multiple files in a Civil 3D project, the Reference Manager is a good tool. It is an external program and cannot be launched from Civil 3D.

For data referencing, data shortcuts are primarily used. They reference the underlying data contained within Civil 3D objects found within the source drawings to be accessed in the host drawing. The pathing can be changed directly within Civil 3D through the Data Shortcut Manager dialog box, as shown below.

If many data reference paths need to be changed in multiple files, the Data Shortcuts Editor is a good tool. It is an external program and cannot be launched from Civil 3D.

Was this information helpful?