Blocks, Xrefs & Sheet Sets - Managing Reusable Objects and External References
Overview
Blocks, Dynamic Blocks, and Attribute Blocks are AutoCAD's core mechanism for repeating and managing identical objects.
Combined with external references (Xref) and the Sheet Set Manager (SSM), even drawing sets with dozens or hundreds of sheets can be managed consistently.
This page organizes the practical workflow — from block authoring rules to Xref path management and SSM operation.
> For shortcut and edit-command fundamentals see 01-shortcuts.md; for layer and naming rules see 02-edit-layer.md.
1. General Block Authoring Principles
1.1 Authoring Procedure
- Draw the source objects on layer 0 with color, linetype, and lineweight set to ByBlock.
- Choose the insertion point at the snap location most useful for placement — typically a corner or the center.
- Run
BLOCK(aliasB) → specify name, base point, and target objects, then confirm. - If needed, export as an independent DWG to the library via
WBLOCK(W).
-INSERT with NAME=, or rename using RENAME.1.2 Internal vs External Blocks
| Type | Storage | Purpose |
|---|---|---|
| Internal block (BLOCK) | Inside current DWG | Dedicated to that drawing |
| External block (WBLOCK) | Separate DWG file | Library, referenced from other drawings |
1 file = 1 block is advantageous for version tracking, updates, and permission separation.2. Attribute Block
Attribute blocks attach text input fields to a block, storing information that changes each time it's inserted. Title blocks, part numbers, room tags, and equipment tags are typical examples.
2.1 Authoring
- Draw the objects and place attribute definitions at desired positions with
ATTDEF(aliasATT). - An attribute definition specifies Tag (variable name), Prompt (displayed at input), Default (default value), Justification, Style, and Height.
- Include the attribute definitions when selecting objects for the block definition.
- On
INSERT, enter values at each prompt or via dialog (ATTDIA=1).
2.2 Editing & Extraction Commands
| Command | Purpose |
|---|---|
EATTEDIT | Edit attribute values of an individual insertion (also opens by double-click) |
BATTMAN | Block-definition-level attribute manager. Batch edit tags, order, format |
ATTSYNC | Synchronize attribute definition changes to existing inserted blocks |
EATTEXT | Attribute extraction wizard (legacy) |
DATAEXTRACTION | Modern data extraction. Auto-generates quantity tables / BOMs |
FIELDs in a title block, and every sheet automatically fills in its drawing number, title, client, and revision. Set it up once and you won't have to edit attributes one sheet at a time across a 100-sheet set.ATTSYNC, already-inserted blocks won't reflect it. A classic trap when tags are fixed after mass placement.3. Dynamic Block — One Block, Many Forms
Dynamic Blocks pair Parameters (what can vary) with Actions (how it varies), letting a single block definition drive variable dimensions, directions, and display states.
3.1 Key Parameter / Action Pairs
| Parameter | Typical Action | Example |
|---|---|---|
| Linear | Stretch, Scale | Variable wall or door width |
| Polar | Polar Stretch, Rotate | Radial instruments |
| XY | Scale, Array | Window arrays |
| Rotation | Rotate | One-way rotation |
| Flip | Flip | Left-right or top-bottom mirror |
| Visibility | (standalone) | Multiple representations in one block |
| Lookup | Lookup | Dimension dropdown (M6/M8/M10) |
| Alignment | (standalone) | Auto-align to a baseline on insert |
3.2 Visibility State and Lookup in Practice
- Visibility State: Stack multiple representations ("single door / double door / pocket / sliding") inside one block and switch via dropdown. Inventory shrinks dramatically.
- Lookup Table: Maps dimension parameters to tabular values. Well-suited to cases that allow only discrete values, like bolt sizes.
3.3 Dynamic Block Design Checklist
- Base Point matches the actual placement reference
- Parameter names express meaning (
Door_Width,Vis_State, etc.) - Each Action is wired to the correct Parameter
- Objects for each Visibility state are stacked at the same coordinates
- Lookup labels are user-friendly (use standard spec symbols verbatim)
- You validated each state with BEDIT's Test Block
- Unused Parameters/Actions are removed (they degrade performance)
EXPLODE a Dynamic Block and all dynamic behavior evaporates. To preserve attribute text while exploding, use BURST (Express Tools).4. Building a Block Library
4.1 Recommended Folder Structure
CompanyBlockLibrary/
├── 01-Mechanical/
│ ├── Bearings/
│ ├── Bolts/
│ └── Seals/
├── 02-Architectural/
│ ├── Doors/
│ ├── Windows/
│ └── Furniture/
├── 03-Electrical/
├── 04-Plant/
└── 99-Symbols/
4.2 Access Paths
- DesignCenter (
Ctrl+2): Navigate folders → drag & drop blocks. - Tool Palettes (
Ctrl+3): Register frequently used blocks on a palette. Distributing a network-path-based palette lets the whole team work with identical tools. - Block Palette (
BLOCKSPALETTE, 2020+): Tabs for Current/Recent/Favorites/Libraries. Register shared folders under Libraries. - Smart Blocks (2024+): AI detects similar objects and duplicate definitions and proposes replacing them with standard blocks. In 2026 Detect & Convert reached GA, enabling automated block conversion of legacy drawings.
5. Replacing & Upgrading Blocks
| Command | Effect |
|---|---|
BLOCKREPLACE (Express) | Bulk replace all instances of block A with block B drawing-wide |
RENAME | Rename blocks, layers, styles |
| Smart Blocks: Replace | AI detects similar blocks and proposes standard-block substitutions |
NCOPY | Copy objects inside a block/Xref without exploding |
BLOCKREPLACE + PURGE is the fastest combination. Always keep a copy before running it.6. Xref (External Reference) Basics
An Xref links another DWG into the current drawing.
When the source is modified, the reference updates too, making it ideal for workflows where several people edit their own drawings and only the sheets are composed at plot time.
6.1 Attach vs Overlay
| Type | Behavior | Use |
|---|---|---|
| Attach | Propagates chained references (A→B→C exposes B→C) | Hierarchies within a single discipline |
| Overlay | Blocks chaining | Cross-discipline references (prevents cycles) |
6.2 Path Types
- Full (Absolute) Path: Absolute path. Links break when folders move.
- Relative Path: Relative to the current DWG. Recommended in most cases.
- No Path: Relies on Search Path (OPTIONS → Files) lookup. Useful for network standard libraries, but risky.
6.3 Xref Command Summary
| Command | Description |
|---|---|
XATTACH / XA | Attach an Xref |
XREF / XR | Xref management palette |
XOPEN | Open the referenced DWG in a separate window for editing |
REFEDIT | Edit an Xref in-place in the current drawing |
XCLIP | Limit display region with a boundary polyline (Invert available) |
XBIND | Bind specific items from within an Xref into the current drawing |
BIND | Convert the whole Xref into a block (dereference) |
DETACH / UNLOAD / RELOAD | Detach / temporarily unload / reload |
NCOPY | Copy objects inside an Xref without exploding |
XCLIP to show only what's outside the boundary — useful as a mask to hide specific regions.7. Xref Operating Rules and Folder Structure
7.1 Standard Project Folder
ProjectRoot/
├── 00-Standards/ (DWT, CTB/STB, SHX, Block Lib)
├── 01-Xrefs/
│ ├── Arch/
│ ├── Struct/
│ ├── MEP/
│ └── Civil/
├── 02-Sheets/
│ ├── A-Sheets/
│ ├── S-Sheets/
│ └── M-Sheets/
└── 03-Output/
├── PDF/
└── Archive/
7.2 One-Way Principle
- Sheet DWGs reference model DWGs. Reversing this is forbidden (circular reference).
- A sheet DWG's model space holds only Xrefs plus minimal annotation. Actual geometry lives only in the referenced models.
- When cross-discipline references are needed, use Overlay to block cycles.
7.3 Key System Variables
| Variable | Recommended | Description |
|---|---|---|
VISRETAIN | 1 | Save Xref layer color and ON/OFF states in the current drawing |
XREFCTL | 1 | Generate Xref event log (.xlg) |
PROJECTNAME | Project name | Helps resolve reference paths |
INDEXCTL | 3 | Generate layer/spatial indices (speeds up partial loads) |
8. Path Recovery & eTransmit
8.1 Repairing Broken Xref Paths
- In the XREF palette, right-click the reference → Select New Path → pick the new file.
- If multiple Xrefs are broken at once, pointing to the new parent folder can fix them all together.
-XREF→Pathoption for command-line processing.
8.2 eTransmit
ETRANSMIT bundles the current DWG + all Xrefs + images + SHX/TTF fonts + CTB/STB into a single ZIP.
For submissions to subcontractors, partners, or public agencies, plain file copy tends to drop references and fonts. Always use eTransmit.
Key options:
- Transmittal Setups (save/reuse configurations).
- Bind / Purge / Zap SHX.
- Convert to lower DWG formats (e.g., 2018 → 2013).
- Password protection.
9. Sheet Set Manager (SSM)
9.1 Components
| Term | Meaning |
|---|---|
| DST | Sheet Set data file. Stores sheet structure and properties |
| Subset | Sheet classification folder (A/S/M/E …) |
| Sheet | Individual drawing (layout mapping) |
| Sheet List Table | Auto-generated table of sheets |
| Sheet Views | Named views within a sheet |
| Model Views | Named views on the referenced model source |
9.2 Benefits of SSM
- Automatic numbering: Sheet numbers and names are auto-generated per the format when sheets are added.
- Auto title block fill: Link Sheet Set Fields (
CurrentSheetNumber,CurrentSheetTitle, etc.) to attribute blocks and no manual text edits are needed per sheet. - Batch plot / Publish: Issue PDF/DWF at the sheet-set level.
- Archive: Integrated archive of sheets + Xrefs + standards files.
- eTransmit: Package the entire set in one step.
9.3 Operational Notes
- DST files have a locking mechanism so two people can't edit at once. Speed depends on network responsiveness, so slow storage can significantly hurt perceived performance.
- Design around
1 DWG = 1 Layout = 1 Sheetto maximize SSM benefits. - Populate Custom Properties in Sheet Set Properties with project and client info ahead of time, and referencing them in the title block makes updates a one-click affair.
→ See also: Page Setup, CTB/STB, multi-sheet PDF settings are detailed in /cad-tips/autocad/drawing-print.
10. Field Checklist
- Objects inside blocks use layer 0 + ByBlock color/linetype
- Block names follow in-house naming standards (consistent dashes/underscores)
- Frequently used dynamic blocks are registered on Tool Palettes
- Attribute block Tags use meaningful English names
-
ATTSYNChas propagated attribute changes to existing placements - Xrefs are attached with Relative Path
- Cross-discipline references use Overlay
-
VISRETAIN=1preserves Xref layer states -
ETRANSMITis used to package references and fonts before external submission - The Sheet Set DST is being edited solo, with no lock conflicts
- Title block attributes are linked to Sheet Set Fields
- Unused block definitions have been cleaned with
PURGE