ZYSNOR

Glossary · CAD and BIM

What is a Block in AutoCAD? Meaning, Example and How It Works

By , Founder of ZYSNOR · Updated · Checked · 5 min read

In simple words

A block in AutoCAD is one or more objects combined into one named object, such as a door or a title block. The definition is stored once; every copy you place points to it, so editing the definition updates all copies. CAD drafters, architects and engineers use blocks for doors, furniture, symbols and title blocks.

Each placed copy is called a block reference. It stores only where the block sits, its scale and its rotation, and points back to the one definition.

One block definition with arrows to four block references
The definition is stored once; each reference only records position, scale and rotation.

Why it matters

Blocks keep repeated items identical and easy to change: one edit of the definition updates every copy. Because each copy is a counted reference, blocks also give reliable quantities, such as the number of doors for a bill of quantities, and keep the drawing file smaller than copied geometry.

How it works

When you make a block, AutoCAD stores its objects as a block definition inside the drawing. Inserting the block adds a reference to that definition. Editing the definition in the Block Editor updates every reference at once, so 40 doors can be changed in one edit. Blocks can also hold attributes: text fields such as a door type, a code or a price that are filled in for each reference and can be extracted to a table.

Types

  • Simple block: fixed geometry, such as a north arrow or a toilet symbol.
  • Block with attributes: carries data, such as a title block with drawing number and date, or a door tag with its type.
  • Dynamic block: has grips and parameters so one block can stretch, flip or switch between sizes, for example one door block for widths of 0.80, 0.90 and 1.00 m.
  • Drawing file as a block: any DWG can be inserted as a block, or a block written out to its own file with WBLOCK.

Commands you will use

Table of BLOCK, INSERT, BEDIT, ATTDEF, WBLOCK and PURGE
Six block commands and what each one does.

Layer 0 and ByBlock

Objects drawn on layer 0 inside a block take the layer of the reference when it is inserted. Colour, linetype and lineweight set to ByBlock take the properties of the reference. Objects drawn on other layers keep their own layer wherever the block goes. Use layer 0 for blocks that should follow the layer they are placed on, such as doors on A-DOOR.

Worked example: counting doors for the BOQ

A floor plan uses three door blocks. Counting the references of each block name gives the quantities directly.

Bar chart of 24 D1, 12 D2 and 4 D3 doors, 40 in total
One BOQ line per block name; the counts add up to 40 doors.
  • D1 single door: 24 references
  • D2 double door: 12 references
  • D3 fire door: 4 references
  • Total: 24 + 12 + 4 = 40 doors

If the D1 leaf changes from 0.90 m to 1.00 m wide, one edit of the D1 definition changes all 24 references, and the count stays 24. The count can be read with the Express Tools command BCOUNT or with Data Extraction.

Step by step: making a block

  1. Draw the objects at full size, on layer 0 if the block should follow the layer it is inserted on.
  2. Run BLOCK, give a clear name (for example D1-SINGLE-900), and pick a sensible base point such as the hinge corner.
  3. Select the objects and choose whether to convert them to a block, keep them or delete them.
  4. Add attributes with ATTDEF before making the block if each copy needs its own data.
  5. Insert the block with INSERT and check it in a test drawing.

Common mistakes

  • Exploding blocks: the objects stay, but the block count and the attributes are lost.
  • Similar blocks under different names (D1, Door1, D-1), so counts are split.
  • A base point far from the geometry, so the block lands in the wrong place when inserted.
  • Block contents on random layers, so freezing a layer hides only part of the block.
  • Unused definitions left in the drawing; PURGE removes them and keeps the file smaller.

Related terms

Frequently asked questions

What is the difference between a block and an xref?

A block is stored inside the drawing; an xref stays a separate file that is linked.

What are block attributes?

Text fields attached to a block (for example a code or a price) that can be filled in and extracted.

What is a nested block?

A block reference placed inside another block definition. Nesting helps organise complex blocks, but a block cannot reference itself.

Sources

← All glossary terms