Block
Attributes
Learn to create, attach, and edit block attributes in AutoCAD using the Enhanced Attribute Editor for smart, data-rich drawings.
What Is a Block in AutoCAD?
A block is a collection of objects grouped into a single named unit. Once defined, you can insert the same block multiple times across a drawing without redrawing it. Blocks keep your files smaller, your work consistent, and edits global.
What Are Block Attributes?
A block attribute is a text-based tag embedded inside a block definition. Each time you insert the block, AutoCAD prompts you for the attribute's value: making every instance carry its own unique data.
Why Attributes Matter
Core Command: ATTDEF
The ATTDEF (Attribute Definition) command creates an attribute within a block. It opens a dialog where you set the Tag, Prompt, Default value, and display modes.
Attribute Modes Explained
Attributes vs. Plain Text
| Block Attribute | Plain Text (MTEXT/DTEXT) | |
|---|---|---|
| Attached to Block | ✓ Yes, embedded | ✕ No, independent |
| Prompted on Insert | ✓ Automatic | ✕ Manual placement |
| Data Extraction | ✓ DATAEXTRACTION | ✕ Not natively |
| Global Editing | ✓ Block Editor / BATTMAN | ✕ One-by-one |
| Invisible Option | ✓ Mode flag | ✕ Not available |
How to Create a Block with Attributes
Example 1: Room Tag Block
; Tag: ROOM_NAME, Prompt: Enter room name:, Default: Office
Command: ATTDEF
; Tag: ROOM_NUMBER, Prompt: Enter room number:, Default: 100
Command: BLOCK
; Name: ROOM_TAG, select geometry + attributes, pick base point
Example 2: Title Block with Attributes
The Enhanced Attribute Editor
After inserting a block with attributes, double-click the block (or type EATTEDIT) to open the Enhanced Attribute Editor. This dialog has three tabs for modifying individual block instances.
; Select block → Enhanced Attribute Editor opens
; Or simply double-click any block with attributes
BATTMAN: Global Attribute Manager
While EATTEDIT edits one instance, the Block Attribute Manager (BATTMAN) modifies the attribute definition itself: affecting all current and future instances of that block.
Example 3: Editing a Room Tag
You inserted a Room Tag with "Office" and "101", but the room has been redesigned. Use the Enhanced Attribute Editor to update just this one instance.
ATTSYNC and Attribute Order
When you edit a block definition in the Block Editor (adding, removing, or reordering attributes), existing instances may not reflect the changes until you synchronize them.
; Select block name → all instances update to match definition
Command: BATTORDER
; Move attributes up/down to set prompt order
Common Mistakes
Command Summary
| Command | Purpose | Scope |
|---|---|---|
| ATTDEF | Define a new attribute | Block definition |
| BLOCK / -BLOCK | Create block from objects + attributes | Block definition |
| INSERT | Place block, fill attribute values | Single instance |
| EATTEDIT | Edit attribute values (Enhanced Editor) | Single instance |
| BATTMAN | Manage attribute definitions globally | All instances |
| ATTSYNC | Sync definition changes to instances | All instances |
| BATTORDER | Reorder attribute prompts | Block definition |
| DATAEXTRACTION | Export attribute data to table/file | Drawing-wide |
Question 1 of 5
Which command is used to define an attribute before creating a block?
Question 2 of 5
A block attribute is set to Constant mode. What happens when you insert the block?
Question 3 of 5
You need to change the value of an attribute on a single block instance. Which tool should you use?
Question 4 of 5
You edited a block definition in the Block Editor and added a new attribute. Existing instances do not show the new attribute. What command fixes this?
Question 5 of 5
Which attribute mode makes the data exist inside the block but not display visually in the drawing?