Back to HomeSession 9 of 12
9

External References (Xrefs) & Layer States

Duration: 60-90 minutes

Main Content

External References (Xrefs) in Civil 3D Workflow

External References (Xrefs) allow you to reference other drawings without copying their content. This is fundamental to the Civil 3D workflow: BASE-XREF is referenced in design drawings, MODEL.dwg is referenced in sheet files. Changes to the source drawing automatically appear in all referencing drawings.

Why Xrefs Are Essential:

  • File Size Management: References are lightweight vs copying all content
  • Automatic Updates: Reload xrefs to see latest changes
  • Team Collaboration: Multiple people can reference same file
  • Drawing Organization: Separates design from presentation

Attaching External References

Step 1: Attach Xref

  1. Type XREF or go to Insert tab > Reference panel > Attach
  2. In Xref Manager, click Attach DWG
  3. Browse to file (e.g., BASE-XREF.dwg)
  4. Configure attachment:
    • Attachment Type: Attach (not Overlay)
    • Path Type: Relative Path (critical for portability!)
    • Insertion Point: 0,0,0 (if coordinate systems match)
    • Scale/Rotation: Usually 1 and 0
  5. Click OK—xref loads into drawing

Relative vs Absolute Paths:

  • Relative Path: Specifies location relative to current drawing (e.g., ..\\Base\\BASE-XREF.dwg)
  • Absolute Path: Full path including drive letter (e.g., C:\\Projects\\...)
  • Rule: ALWAYS use Relative Paths for project portability
  • If project folder moves or is shared, relative paths still work

Managing Xrefs

Xref Manager Commands:

  • Reload: Updates xref to show latest saved changes in source drawing
  • Unload: Temporarily removes xref from display (still attached)
  • Bind: Converts xref to a block (permanent copy—avoid in workflow)
  • Detach: Removes xref attachment completely

Reloading Xrefs:

  1. Type XREF
  2. Right-click xref > Reload
  3. Or type RELOADALL to reload all xrefs at once
  4. Xref updates to match current source drawing

Layer States: Controlling Display

Layer States save and restore layer visibility, freeze/thaw, color, and other properties. Essential for creating different views from the same MODEL.dwg (e.g., show storm drainage on some sheets, hide on others).

Creating Layer States:

  1. Type LAYSTATE or go to Home tab > Layers panel > Layer States Manager
  2. Configure layers how you want them (freeze/thaw, on/off, colors)
  3. In Layer States Manager, click New
  4. Name the state descriptively: "Storm-Visible", "Sanitary-Visible", "Base-Only"
  5. Check which properties to save (visibility, freeze, color, etc.)
  6. Click OK—layer state saved

Restoring Layer States:

  • Type LAYSTATE
  • Select desired layer state
  • Click Restore
  • Layers reconfigure to saved settings instantly

Layer States in Sheet Files:

Critical workflow technique:

  • MODEL.dwg contains all design elements
  • Create layer states for different sheet types
  • In sheet files, restore appropriate layer state when xrefing MODEL.dwg
  • Each sheet shows only relevant layers

Best Practices

Xref Organization:

  • BASE-XREF in all design drawings
  • MODEL.dwg in all sheet drawings
  • Use consistent xref names across project
  • Don't nest xrefs excessively (xref of an xref of an xref gets confusing)

Layer State Strategy:

  • Create layer states for common sheet types
  • Name clearly: "Plan-Sheet-Storm", "Profile-Sheet", "Detail-Sheet"
  • Export layer states to share with team
  • Document which layer state to use for each sheet type

Common Xref Problems

  • Xref won't load: File moved or renamed—update path in Xref Manager
  • Circular reference error: Drawing A xrefs Drawing B which xrefs Drawing A—fix nesting
  • Xref layers frozen: Check layer properties—may be frozen in source or current drawing
  • Changes don't appear: Reload xref with RELOADALL command

Case Study: Layer States Streamline 50-Sheet Plan Set

A highway reconstruction project with 50 sheets used layer states to control display of multiple utilities. Instead of creating separate MODEL files, one MODEL.dwg with layer states served all sheets, saving significant time and preventing coordination errors.

Results

  • Efficiency: One MODEL.dwg vs 10+ separate model files
  • Coordination: All sheets referenced same source—zero conflicts
  • Updates: Change once in MODEL, reload xrefs, all 50 sheets update

Quick Reference: Xrefs & Layer States

Xref Workflow

  • Type XREF to open External References palette
  • Click Attach DWG, browse to file
  • Set Path Type: Relative Path
  • Set insertion point 0,0,0
  • Reload xrefs when source files change

Layer States Workflow

  • Configure layers for desired view
  • Type LAYSTATE, click New
  • Name descriptively (e.g., "Storm-Visible")
  • Save layer properties (freeze, color, etc.)
  • Restore layer states as needed for different sheets

Cheat Sheet: Xref & Layer Commands

Xref Commands

XREFOpen Xref Manager
RELOADALLReload all xrefs
XATTACHAttach xref

Layer Commands

LA or LAYERLayer Properties
LAYSTATELayer States Manager
LAYISOIsolate layers

Critical Rule

"Always use Relative Paths for xrefs. Makes projects portable and team-friendly."

Video Script: "Xrefs and Layer States Mastery"

A 6-minute guide to mastering external references and layer control.

INTRO (0:00-0:30)

"Xrefs and Layer States are the glue that holds the Civil 3D workflow together. Master these, and you'll understand how MODEL.dwg updates 50 sheets instantly."

DEMONSTRATION (0:30-5:00)

Screen recording: Attaching xrefs with relative paths, reloading xrefs to see updates, creating layer states for different views, using layer states in sheet files.

OUTRO (5:00-6:00)

"Next session: MODEL.dwg creation and Named Views—bringing everything together for sheet production."