AUTOCAD • FILE MANAGEMENT AND QUALITY CONTROL

Packaging Drawings for Sharing — Package and share drawings with required references (Xrefs, fonts, plot styles) (conceptual)

Ensuring every external dependency travels with your drawing so collaborators see exactly what you designed.

Historical Context & Motivation

Before the digital revolution, architects and engineers shared designs by physically handing off vellum sheets or blueprint copies — the drawing was entirely self-contained. When Computer-Aided Design (CAD) software emerged in the 1980s, it introduced a powerful but initially perilous shift: drawings could reference external files for fonts, symbols, and even entire subassemblies. This modularity drastically improved productivity and consistency across large project teams, yet it also meant that sharing a single .dwg file without its dependencies was akin to sending a compiled binary without its shared libraries — the recipient would encounter missing references, garbled text, and unprintable output.

1982
AutoCAD 1.0 Released
Autodesk ships the first version of AutoCAD. Drawings are monolithic files with no external reference mechanism, so sharing is simple but collaboration is limited.
1990
External References (Xrefs) Introduced
AutoCAD Release 11 adds Xrefs, allowing drawings to link to other drawing files. This enables multi-discipline teams to work on separate layers of a building while seeing each other's progress in real time.
1997
Custom Fonts and Plot Styles Proliferate
Firms adopt custom SHX fonts and CTB/STB plot style tables, creating firm-wide standards but also making drawings increasingly dependent on files that live outside the .dwg itself.
2004
eTransmit / Pack-and-Go Arrives
Autodesk introduces the eTransmit command, which systematically gathers all dependent files — Xrefs, fonts, plot styles, images — into a single transmittal package. This becomes the canonical solution for reliable drawing exchange.
2020s
Cloud-Based Collaboration
Autodesk Construction Cloud and BIM 360 shift packaging concerns to cloud-managed references, but desktop-to-desktop packaging remains essential for regulatory submissions, archiving, and interoperability with other CAD platforms.

The central question this lesson addresses is deceptively simple: how do you guarantee that a drawing looks and prints identically on every machine that opens it? For computer science students, the analogy to dependency management in software engineering — think package.json or Docker containers — is exact. AutoCAD's packaging tools solve the same class of problem: bundling runtime dependencies so the artifact is portable and reproducible.

Core Principles & Definitions

Packaging a drawing for sharing rests on understanding the dependency graph that a .dwg file may implicitly assume. An AutoCAD drawing is not a sealed image; it is more accurately a document that contains pointers to external resources. If those resources are absent on the recipient's system, the drawing degrades gracefully at best — and silently corrupts at worst. The following foundational concepts define the landscape.

1

External References (Xrefs)

Other .dwg files linked into the current drawing. They function like symbolic links in a filesystem — the host drawing stores a path, not the data. If the path breaks, the Xref vanishes from the display.
2

Font Files (SHX & TTF)

AutoCAD uses its own compiled shape fonts (.shx) as well as system TrueType fonts (.ttf). Missing fonts cause AutoCAD to substitute a default, altering text spacing, alignment, and overall legibility.
3

Plot Style Tables (CTB / STB)

Color-dependent (.ctb) and named (.stb) plot style tables control how on-screen colors map to printed line weights, screening, and color. Without the correct table, a high-quality architectural plot may print as undifferentiated black lines.
4

Raster Images & Data Links

Satellite photos, logos, and scanned site surveys are typically linked as external images (.jpg, .png, .tif). Data links to Excel files feed schedules and tables. All must travel with the drawing.
5

The eTransmit / PACK Command

AutoCAD's built-in utility that walks the drawing's dependency tree, resolves all referenced paths, and copies every required file into a folder or ZIP archive. It also generates a transmittal report documenting exactly what was included.
KEY TAKEAWAY
Think of packaging a drawing like creating a Docker container for your application. The .dwg file is your source code, Xrefs are your imported libraries, fonts are your runtime dependencies, and plot styles are your environment configuration. The eTransmit command acts like docker build — it resolves every dependency and bundles them into a portable, self-contained artifact that anyone can 'run' on their machine and get identical results.

Visual Explanation — The Drawing Dependency Graph

The diagram below illustrates the dependency structure of a typical AutoCAD drawing destined for sharing. At the center is the host .dwg file; radiating outward are the categories of external resources it may reference. Each leaf node represents a file that must be resolved and included in the transmittal package. Notice how the host drawing may reference an Xref that itself references additional Xrefs — a nested dependency pattern familiar to anyone who has encountered transitive dependencies in a build system like Maven or npm.

The host .dwg file at center depends on four categories of external resources. The dashed arrows represent file-path references stored inside the drawing. The eTransmit command walks this entire graph and copies every resolved file into a single transmittal archive.

Observe the structural similarity to a dependency tree in software. Each node in the graph is a file on disk, and each edge is a path string stored inside the drawing's header or entity table. If you have ever debugged a ModuleNotFoundError in Python or a missing DLL in a Windows build, you already understand the class of problem that eTransmit solves. The tool performs a topological walk of the dependency graph, resolves every path (relative or absolute), copies each file to a flat output directory or ZIP, and rewrites the internal path references so they point to the new co-located files.

How eTransmit Works — The Packaging Mechanism

While packaging a drawing is not a mathematically intensive operation, its internal mechanism is algorithmically interesting. The eTransmit engine follows a well-defined pipeline that mirrors concepts from graph traversal and dependency resolution in software engineering. Understanding this pipeline demystifies the tool and helps diagnose failures when they occur.

Phase 1 — Dependency Discovery

AutoCAD parses the drawing database and builds an in-memory graph of every external reference. This includes scanning the Xref table (which tracks attached and overlaid drawings), the text style table (which records which font files are assigned to each style), the page setup (which specifies the plot style table), and any image or data-link entities. The result is a set of file paths — analogous to a requirements.txt — that the drawing needs at runtime.

Phase 2 — Path Resolution

Each discovered path is resolved against the AutoCAD search path order. AutoCAD evaluates paths in a deterministic sequence: the drawing's own directory first, then folders listed in the ACADPREFIX system variable (which aggregates the support file search path, trusted locations, and project file paths from the OPTIONS dialog), and finally any hard-coded absolute paths embedded in the reference. This resolution algorithm is directly comparable to how a compiler resolves #include directives by walking the include path list.

Phase 3 — File Collection & Path Rewriting

Once every dependency is resolved to an absolute filesystem path, eTransmit copies each file into the output location. Critically, it also rewrites the internal path references in the copied .dwg so they use relative paths pointing to the co-located files. This ensures the package is self-contained — extracting the ZIP to any directory on any machine yields a valid reference graph. The same principle underlies pip install --target or vendored dependencies in Go modules.

Phase 4 — Transmittal Report Generation

Finally, eTransmit generates a transmittal report — a plain-text or HTML manifest listing every file in the package, its original location, its size, and any notes entered by the sender. This report functions as a MANIFEST.MF file — a human-readable bill of materials that the recipient can audit before opening the drawing.

The four-phase eTransmit pipeline. Phase 1 scans the drawing's internal tables to discover all external dependencies. Phase 2 resolves each path using AutoCAD's search-path hierarchy. Phase 3 copies files and rewrites paths to relative form. Phase 4 generates a human-readable manifest.

Detailed Breakdown — File Types and Their Roles

A thorough understanding of each file type that can appear in a transmittal package is essential for diagnosing packaging failures and for making informed decisions about what to include or exclude. The table below catalogs the primary file types, their extensions, their role in the drawing ecosystem, and the consequence of omitting them from a package.

Common file types included in an AutoCAD transmittal package.
File TypeExtension(s)RoleConsequence If Missing
Drawing (Host).dwgPrimary design file; the artifact being shared.N/A — this is the root file.
External Reference.dwgLinked subassembly or discipline layer (e.g., HVAC overlay).Xref shows as 'Not Found'; geometry vanishes from display.
SHX Font.shxAutoCAD-native compiled shape font for annotations.Text substitutes to simplex.shx; spacing and alignment shift.
TrueType Font.ttf / .otfSystem font used in MText or dimension styles.Windows substitutes a fallback font; metrics change.
Color-Dependent Plot Style.ctbMaps AutoCAD color indices to print properties (weight, screening).Plot output uses default mapping; line weights are wrong.
Named Plot Style.stbNames-based style table for more granular print control.Similar to CTB — incorrect line weights, colors on print.
Raster Image.jpg / .png / .tifLinked background images (site photos, logos, scans).Image frame displays but content is blank.
PDF/DGN Underlay.pdf / .dgnNon-native files used as background reference layers.Underlay border shows but underlay content is blank.
Data Link.xlsx / .csvSpreadsheet linked to AutoCAD table objects for schedules.Table displays stale data; refresh fails.
📌 Xref Attach vs. Overlay
When an Xref is attached, it nests: if Drawing A attaches Drawing B, and Drawing B attaches Drawing C, then opening Drawing A also loads Drawing C. When an Xref is overlaid, nesting is suppressed — Drawing C does not appear in Drawing A. This distinction directly affects which files eTransmit must include. It mirrors the difference between a public dependency (transitive) and a private dependency (local only) in a build tool like Gradle.

Worked Example — Packaging a Multi-Discipline Project

Consider the following scenario: you are working on a commercial building project. Your host drawing, A-101-MainFloor.dwg, references several external files. You need to package it for a structural consultant who uses a different machine with a clean AutoCAD installation. Walk through the eTransmit process step by step.

Packaging A-101-MainFloor.dwg for External Sharing
1
Step 1 — Audit the Drawing (AUDIT Command)Before packaging, run AUDIT to detect and repair any internal inconsistencies in the drawing database. Fix errors to ensure the packaged file is clean. Also run PURGE to remove unused layers, blocks, and styles that would bloat the package without adding value.
Drawing is error-free; 14 unused block definitions removed.
2
Step 2 — Verify Xref Status (XREF Palette)Open the External References palette (EXTERNALREFERENCES). Confirm that every Xref shows status Loaded rather than 'Not Found' or 'Unloaded'. In this project, the drawing references three Xrefs: S-101-Structural.dwg (attached), M-101-HVAC.dwg (overlaid), and SITE-Survey.dwg (attached). Because S-101-Structural.dwg itself attaches S-Foundation.dwg, that nested Xref will also be included.
4 Xrefs resolved (3 direct + 1 nested); all status = Loaded.
3
Step 3 — Launch eTransmitType ETRANSMIT at the command line (or navigate to File → eTransmit in the application menu). The Create Transmittal dialog appears, listing every discovered dependency. Review the file tree carefully. The dialog shows: 4 DWG files (host + 3 Xrefs + 1 nested), 2 SHX fonts (romans.shx, simplex.shx), 1 TTF font (CityBlueprint.ttf), 1 CTB file (Firm-Standard.ctb), and 2 images (site-aerial.jpg, company-logo.png).
11 files identified for inclusion in the transmittal.
4
Step 4 — Configure Transmittal SettingsClick 'Transmittal Setups' to configure packaging options. Key decisions include: (a) Package type — choose ZIP for maximum portability. (b) File format — if the recipient uses an older AutoCAD version, select 'Save As' to a compatible DWG version (e.g., 2018 format). (c) Path option — choose 'No folder tree' to flatten all files into a single directory, or 'Preserve folder structure' if the recipient prefers the original hierarchy. (d) Bind Xrefs — optionally bind Xrefs into the drawing to eliminate external dependencies entirely (at the cost of editability).
Settings: ZIP format, DWG 2018 compatibility, no folder tree, Xrefs kept as references.
5
Step 5 — Generate and Verify the PackageClick OK to create the transmittal. AutoCAD writes the ZIP file to the specified location. Before sending, extract the ZIP to a temporary folder, open the host drawing, and verify: all Xrefs load, all text displays correctly (no 'font substituted' warnings), and a test plot using the included CTB file produces correct line weights. This verification step is the equivalent of running integration tests on a build artifact before deploying to production.
Package verified: A-101-MainFloor_Transmittal.zip (11 files, 14.3 MB) ready for delivery.

Packaging Methods — Strengths and Limitations

AutoCAD provides multiple approaches to sharing drawings, each with distinct trade-offs. The choice depends on project requirements, the recipient's software environment, and the need to preserve editability versus ensuring visual fidelity. The table below compares the four primary methods.

Comparison of drawing sharing methods in AutoCAD.
MethodStrengthsLimitations
eTransmit (ZIP Package)Comprehensive; includes all dependencies automatically; preserves editability; generates a manifest report; handles nested Xrefs.Requires both parties to use AutoCAD (or a compatible editor); large file sizes if drawings have many raster images; no DRM or access control.
Bind Xrefs + Manual CopyCreates a single self-contained DWG with no external dependencies; useful for archival purposes; works for regulatory submittals requiring a single file.Binding Xrefs renames all layers (prefix with blockname); increases file size substantially; still requires manual font and CTB packaging; destructive — hard to unbind.
Publish to PDF / DWFUniversally viewable; embeds fonts and visual appearance; no dependency issues; ideal for review or markup workflows; small file size.Not editable; vector precision can be lost in PDF conversion; layer information is limited; recipient cannot modify the design.
Cloud Sharing (ACC / BIM 360)Real-time collaboration; access control and versioning; automatic dependency resolution; audit trail; mobile access.Requires Autodesk subscription; internet connectivity; data sovereignty concerns for sensitive projects; learning curve for teams not on the platform.
KEY TAKEAWAY
Choosing a packaging method is analogous to choosing a software distribution format. eTransmit is like distributing source code with a lockfile — full fidelity, full editability, but the recipient needs the right toolchain. Binding Xrefs is like static linking — self-contained but inflexible. PDF export is like distributing a compiled binary — universally runnable but opaque. Cloud sharing is like a managed container registry — powerful but requires infrastructure buy-in.

Connection to Advanced Practice — BIM and Configuration Management

Drawing packaging is a foundational discipline that scales into more sophisticated workflows as project complexity increases. In Building Information Modeling (BIM) environments — Revit, ArchiCAD, and similar platforms — the concept of packaging extends to model federation, where multiple discipline models are composited into a single coordination view. The dependency management principles are identical in kind, though they operate on richer data structures (3D parametric models rather than 2D vector drawings).

AutoCAD packaging concepts mapped to their advanced BIM equivalents.
ConceptAutoCAD (2D Packaging)BIM / Advanced Practice
External ReferenceXref — linked DWG fileLinked Revit model; IFC model reference; federated model
Output StandardsCTB/STB plot style tablesView templates, graphic override rules, COBie data exports
Packaging TooleTransmit; PACK commandRevit Transmit; IFC export; cloud model publishing
Version ControlFile naming conventions; transmittal reportCDE (Common Data Environment); BIM 360 versioning; Git-based model management
ValidationVisual inspection; test plotAutomated model checking (Solibri, Navisworks); clash detection

For computer science students, the broader lesson is about configuration management — ensuring that an artifact is reproducible, portable, and self-documenting. The same principles that make eTransmit work (dependency discovery, path resolution, artifact bundling, manifest generation) underpin tools like Webpack, Nix, Bazel, and Terraform. Mastering this concept in the AutoCAD context gives you a concrete, tangible example of dependency management that you can apply to any domain where complex artifacts must be reliably shared across heterogeneous environments.

Practice Problems

PROBLEM 1CONCEPTUAL
A colleague sends you a single .dwg file via email. When you open it, several areas of the drawing are blank and the command line shows 'Xref not found' warnings. In your own words, explain why this happened and what concept from this lesson the sender failed to apply.
PROBLEM 2BASIC CALCULATION
A project drawing references the following external files: 5 Xrefs (one of which has 2 nested Xrefs of its own), 3 SHX fonts, 1 TTF font, 1 CTB file, and 4 raster images. Assuming none of the Xrefs or nested Xrefs share references, how many total files (including the host drawing) will eTransmit need to include in the transmittal package?
PROBLEM 3INTERMEDIATE
You run eTransmit and the file tree shows that one Xref (MEP-Systems.dwg) is listed with status 'Not Found'. The drawing was created by a consultant who stored the file at C:\Users\jdoe\Projects\MEP-Systems.dwg. Describe the path resolution process AutoCAD followed, explain why it failed, and propose two different strategies to fix the issue before packaging.
PROBLEM 4APPLIED
You are a project lead managing a team of six engineers. Each engineer maintains their own discipline drawing (Architectural, Structural, Mechanical, Electrical, Plumbing, Civil) and all six drawings reference a common base file, SITE-Base.dwg. You need to package all six drawings plus the base file for a regulatory submission that requires everything in a single ZIP. Outline a workflow that ensures: (a) no duplicate copies of SITE-Base.dwg, (b) all Xref paths resolve correctly after extraction, and (c) the package includes a comprehensive manifest.
PROBLEM 5CRITICAL THINKING
Drawing packaging in AutoCAD is conceptually equivalent to dependency management in software engineering. Compare and contrast AutoCAD's eTransmit mechanism with a modern software dependency tool of your choice (e.g., npm, pip, Docker, Nix). In your analysis, address: (a) how dependencies are declared, (b) how resolution order works, (c) how versioning is (or is not) handled, (d) what happens when a dependency is missing, and (e) a limitation of eTransmit that the software tool handles better.

Lesson Summary

An AutoCAD .dwg file is not a self-contained artifact — it depends on external references (Xrefs) for linked geometry, font files (SHX and TTF) for text rendering, plot style tables (CTB/STB) for print output control, and raster images and data links for supplementary content. Sharing a drawing without these dependencies causes missing geometry, garbled text, and incorrect plots — failures analogous to shipping a compiled application without its shared libraries.

The eTransmit command automates the packaging process through four phases: dependency discovery (scanning the drawing database), path resolution (walking the ACADPREFIX search order), file collection and path rewriting (copying files and converting paths to relative form), and transmittal report generation (producing a human-readable manifest). Alternative methods — binding Xrefs, publishing to PDF, and cloud sharing — each trade off between editability, universality, and infrastructure requirements. Mastering drawing packaging equips you with a concrete example of configuration management principles that transfer directly to software engineering workflows.

Varsity Tutors • AutoCAD • Packaging Drawings for Sharing