AutoCAD Blocks & Attributes for Civil Drawings: Complete Guide (2026)

Spread the Knowledge, Share the Love ❤️

A G+1 house has around 20 doors, 25 windows and 30 grid bubbles. If you draw each one with lines and arcs, you’ll spend a day drawing and another day fixing them when the architect changes the door size. AutoCAD blocks solve this.

With blocks, you draw a door once, insert it 20 times, and change all 20 in ten seconds. With attributes, your title block fills itself in and your door schedule counts itself.

This is Lesson 5 of our free AutoCAD for Civil Engineers series. This is the lesson where AutoCAD stops feeling like drawing and starts feeling like engineering.

Civil Site Engineer Bundle — Concrete QC Handbook + RCC Lap Length Excel cover
📚 Recommended Download
Civil Site Engineer Bundle — Concrete QC Handbook + RCC Lap Length Excel
Our two best-sellers in one download: the 238-page Concrete Site Handbook kit plus the IS 456 lap-length Excel toolkit and quick-reference PDF.
✔ IS 456 based  ·  ✔ Instant download  ·  ✔ Lifetime access
₹1098₹299
Get the Bundle →
THE CIVIL STUDIES · FREE TOOL

Create AutoCAD Layers Without Repetitive Setup

Save time on manual layer setup. Use our AutoCAD Layer LISP Generator to create organized layers with custom names, colours and lineweights.

✓ Custom Layer Names ✓ Civil Drafting Workflow ✓ Faster Setup
Open Layer LISP Generator

Build your layer setup and simplify your drafting workflow.


What Is a Block in AutoCAD?

AutoCAD blocks: door base point, grid bubble attribute and dynamic door
Base point at the hinge, a GRID attribute, and one dynamic door for 750/900/1000 mm.

A block is a group of objects saved as one named object. You define it once, and every copy you place (called an instance or insert) points back to that one definition.

Three reasons this matters on real projects:

  1. Change once, update everywhere. Edit the block definition and every instance updates.
  2. Smaller files. 50 doors as blocks store the geometry once, not 50 times.
  3. Countable. AutoCAD can count blocks and extract their data into a schedule.
BlockTypical civil use
Door, window, ventilatorFloor plans
Grid bubbleStructural and architectural plans
Column, footing markFoundation and column layout plans
Level symbolSections and elevations
North arrow, section markerEvery plan
Manhole, chamber, street lightSite and road drawings
Title blockEvery sheet

The Layer 0 Rule (Read This First)

This one rule separates clean blocks from messy ones:

Why? Objects on layer 0 inside a block take the layer of the block insert. So a door block inserted on A-DOOR behaves like A-DOOR: same colour, same plot weight, freezes with A-DOOR.

If you draw the door on A-DOOR and also insert it on A-WALL, you get a confusing mix. Freeze A-WALL and half the door stays visible.

Inside the block, objects are onResult when inserted on A-DOOR
Layer 0, ByLayerLooks and behaves exactly like A-DOOR ✅
Layer 0, ByBlockTakes colour/linetype from the insert ✅
Layer A-WALL, colour redStays red on A-WALL no matter where you insert it ❌

The one exception: blocks with fixed parts like a title block can keep their own layers (G-TTLB from Lesson 1).


How to Create a Block (Step by Step)

Let’s make a 900 mm door block.

  1. Set layer 0 current.
  2. Draw the door leaf: a line 900 long (the shutter) and a quarter-circle ARC of radius 900 for the swing. Use OSNAP from Lesson 2.
  3. Type B (BLOCK) and press Enter.
  4. Name: DOOR-900.
  5. Base point: click Pick point and choose the hinge corner. This is where the cursor will hold the door when you insert it.
  6. Objects: click Select objects and pick the leaf and arc.
  7. Choose Convert to block (keeps it in place as a block).
  8. Tick Allow exploding: off (prevents accidental explode). Click OK.

Insert It

  1. Set layer A-DOOR current.
  2. Type I (INSERT). In AutoCAD 2020 and newer this opens the Blocks palette.
  3. Pick DOOR-900, click at the wall opening corner, and set rotation.
  4. To flip the swing, use MIRROR (MI) or a negative X scale.

AutoCAD Blocks: Commands You Need

CommandShortcutWhat it does
BLOCKBCreate a block inside the current drawing
INSERTIPlace a block (opens the Blocks palette in 2020+)
WBLOCKWSave a block as its own .dwg file for your library
BEDITBEOpen the Block Editor to change a block definition
REFEDIT(none)Edit a block in place without leaving the drawing
ATTDEFATTCreate an attribute (a text field inside a block)
EATTEDIT(double-click)Edit attribute values of one insert
BATTMAN(none)Manage attributes in a block definition
ATTSYNC(none)Push attribute changes to existing inserts
PURGEPURemove unused blocks, layers and styles
COUNT(none)Count blocks (AutoCAD 2022+). Older versions: BCOUNT (Express Tools)
DATAEXTRACTION(none)Export block counts and attributes to a table or Excel

Attributes: Blocks That Hold Information

An attribute is a text field inside a block. Each insert can have a different value while the geometry stays the same.

Perfect examples in civil drawings:

  • Grid bubble: the circle is the same; the label changes (A, B, C or 1, 2, 3).
  • Door mark: D, D1, D2 next to the door.
  • Level symbol: +0.000, +3.150, +6.300.
  • Title block: drawing title, number, scale, date, drawn by, checked by.

Create a Grid Bubble With an Attribute

  1. On layer 0, draw a CIRCLE with radius 5 × drawing scale. For 1:100 that’s 500 (a 10 mm bubble on paper).
  2. Type ATT (ATTDEF):
    • Tag: GRID
    • Prompt: Grid label
    • Default: A
    • Justification: Middle center
    • Text style: TCS-TEXT (from Lesson 3), height 350 (3.5 mm at 1:100)
  3. Click OK and place the attribute at the centre of the circle (OSNAP Center).
  4. Type B, name it GRID-BUBBLE, base point = quadrant of the circle where the grid line meets it, select the circle and the attribute, OK.

Now each time you insert it, AutoCAD asks “Grid label”. Type B, C, D… Done.

Attribute Modes Explained

ModeMeaningUse for
InvisibleValue stored but not shownHidden data like door material, cost
ConstantSame value in every insertCompany name in title block
VerifyAsks you to confirm the valueImportant data like drawing number
PresetUses the default without askingFields you rarely change
Lock positionAttribute can’t be draggedTitle blocks
Multiple linesParagraph-style attributeLong drawing titles

If You Change Attributes Later

You added a new attribute (for example REVISION) to the title block definition, but old inserts don’t show it. Run ATTSYNC, choose the block name, and all inserts update.


Title Block With Attributes

Build your title block once, with these attributes on its layer G-TTLB:

TagPromptExample value
PROJECTProject nameProposed G+1 Residence
CLIENTClient nameMr. R. Sharma
DWG_TITLEDrawing titleGround Floor Plan
DWG_NODrawing numberTCS-A-101
SCALEScale1:100
DATEDate18-10-2026
DRAWNDrawn byAK
CHECKEDChecked bySP
REVRevisionR0

Save it with W (WBLOCK) as TCS-TITLE-A3.dwg in your block library folder. Every project now starts with the same professional sheet, and you fill it in by double-clicking.


Dynamic Blocks: One Door for Every Size

Indian residential plans typically use several door sizes, for example:

MarkWidthTypical location
D1000 mmMain entrance
D1900 mmBedrooms, kitchen
D2750 mmToilets

Instead of three blocks, make one dynamic door:

  1. Type BE and open DOOR-900.
  2. From Block Authoring Palettes → Parameters, add a Linear parameter along the door width.
  3. Add a Stretch action (or Scale action) linked to that parameter and the door geometry.
  4. In the parameter’s Properties, set Distance type: List with values 750, 900, 1000.
  5. Add a Flip parameter with a Flip action to swap the swing direction.
  6. Save the block and close the editor.

Now click any door, drag the grip to 750, 900 or 1000, and click the flip arrow to change the swing.


Build a Block Library (Stop Redrawing)

  1. Create a folder like D:\CAD-Library\TCS-Blocks\.
  2. Save each block with W (WBLOCK) as its own file: DOOR-DYN.dwg, WINDOW-DYN.dwg, GRID-BUBBLE.dwg, LEVEL.dwg, NORTH.dwg, TCS-TITLE-A3.dwg.
  3. In the Blocks palette (INSERT), open the Libraries tab and point it to that folder.
  4. Or open Tool Palettes (Ctrl+3) and drag your blocks onto a “Civil” palette for one-click insert.

Your library, your layers, your snaps and your styles together become your master template in Lesson 6.


Count Blocks and Make a Door Schedule

The client asks: “How many doors and windows?” Don’t count by hand.

  • AutoCAD 2022 and newer: type COUNT, pick a door, and AutoCAD lists the total and highlights each one.
  • Any version: run DATAEXTRACTION, select the door and window blocks, include the Name, Count and attribute values, and output to an AutoCAD table or Excel.

You now have a door and window schedule that is always correct, because it is counted from the drawing itself.


Block vs Xref: Which One?

BlockXref (External Reference)
StoredInside your drawingSeparate file, linked
Best forRepeated small items (doors, symbols, title block)Whole drawings (architect’s plan under your structural plan)
UpdatesWhen you redefine itAutomatically when the other file changes

We will use Xrefs in Lesson 6 when we set up sheets.


Common Block Problems and Fixes

ProblemCauseFix
Block doesn’t take the layer colourGeometry drawn on its own layerRedefine with geometry on layer 0, ByLayer
Inserted block is huge or tinyInsert units mismatchSet INSUNITS = 4 (mm) in both block and drawing; check block units in BLOCK dialog
Edited the block but some copies didn’t changeThose copies were exploded or are a different block nameReplace them with the correct block
New attribute not showing on old insertsInserts made before the changeATTSYNC
Insert doesn’t ask for attribute valuesATTREQ = 0Set ATTREQ = 1
Attribute dialog doesn’t appearATTDIA = 0Set ATTDIA = 1 for a dialog
Can’t delete an old block nameIt is still used somewhere, even nestedFind it with COUNT or QSELECT, delete, then PU
File is hugeUnused blocks from copied drawingsPU (PURGE) all, then -PURGE → Regapps

10-Minute Practice Exercise: Room With Doors, Grid and Title Block

Use the room from Lesson 3’s exercise (3000 × 3600 internal, 230 mm walls).

  1. Create the DOOR-900 block on layer 0 with the base point at the hinge.
  2. Insert it on A-DOOR at the door opening.
  3. Turn it into a dynamic block with widths 750/900/1000 and a flip action. Change it to 750 and flip it.
  4. Create the GRID-BUBBLE block with a GRID attribute.
  5. Draw grid lines on the wall centre lines and insert bubbles A, B (horizontal) and 1, 2 (vertical) on A-GRID.
  6. Create a simple A3 title block with at least DWG_TITLE, DWG_NO, SCALE, DATE attributes and fill them in.
  7. Run COUNT (or DATAEXTRACTION) to count your doors.
  8. Save the title block with W to your library folder.

If changing one door’s width in the Block Editor updates the definition everywhere, you’ve mastered blocks.


Key Takeaways

  • A block = draw once, use everywhere, change once.
  • Draw block geometry on layer 0, ByLayer, and insert on the correct layer.
  • Choose a logical base point: hinge, bubble edge, sheet corner.
  • Attributes turn blocks into data: grid labels, door marks, title blocks.
  • Dynamic blocks replace many fixed sizes with one smart block.
  • Keep a WBLOCK library and count with COUNT or DATAEXTRACTION.
  • Never explode blocks. Use BEDIT and ATTSYNC.

AutoCAD Blocks FAQs

How do I create a block in AutoCAD?

Type B (BLOCK), give it a name, pick a base point, select the objects and click OK. Draw the objects on layer 0 first so the block takes the layer it is inserted on.

What is the difference between BLOCK and WBLOCK?

BLOCK saves the block inside the current drawing only. WBLOCK writes it out as a separate DWG file so you can insert it into any drawing.

Why should block objects be on layer 0?

Objects on layer 0 inside a block take on the layer of the block insert. This lets the block follow the colour, lineweight and freeze state of the layer you insert it on.

What are attributes in AutoCAD?

Attributes are text fields inside a block. The block geometry stays the same, but each insert can have its own value, such as a grid label or drawing number.

How do I update attributes in existing blocks?

After editing attributes in the Block Editor or BATTMAN, run ATTSYNC and select the block name. All existing inserts update.

How do I count blocks in AutoCAD?

In AutoCAD 2022 and newer, use the COUNT command. In older versions, use BCOUNT from Express Tools or the DATAEXTRACTION wizard.

What is a dynamic block?

A dynamic block has parameters and actions that let one block change shape, size or visibility. A single dynamic door can switch between 750, 900 and 1000 mm and flip its swing.

Should I use a block or an Xref?

Use blocks for small repeated items such as doors and symbols. Use Xrefs to link whole drawings, such as an architect’s plan underneath your structural layout.


Want ready-made blocks? Check the CAD Shop for door, window and title block kits.

Stuck on a dynamic block? Ask in the Civil Forum.

Stop calculating by hand — go Pro

Unlock an ad-free experience plus a growing library of ready-to-use civil-engineering calculators, IS-code cheat-sheets and formula PDFs. From just ₹99.

Go Pro →

Discover more from The Civil Studies

Subscribe to get the latest posts sent to your email.

TheCivilStudies Team
TheCivilStudies Team

TheCivilStudies is an independent civil-engineering learning site from India. Our guides explain IS-code provisions, formulas, worked examples and site practice for students and working site engineers. Calculations are checked against the relevant Indian Standard, and articles are updated when codes or practice change. Spotted an error? Tell us in the comments and we will fix it.

Articles: 426