Glossary · CAD and BIM
What is a Block in AutoCAD? Meaning, Example and How It Works
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.
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
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.
- 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
- Draw the objects at full size, on layer 0 if the block should follow the layer it is inserted on.
- Run BLOCK, give a clear name (for example D1-SINGLE-900), and pick a sensible base point such as the hinge corner.
- Select the objects and choose whether to convert them to a block, keep them or delete them.
- Add attributes with ATTDEF before making the block if each copy needs its own data.
- 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
- CAD and BIMGlossary term
Layer (AutoCAD)
A layer in AutoCAD is a named group for objects of the same kind, such as walls, doors or text. Each layer sets default colour, linetype and lineweight, and can be turned off, frozen or locked.2 min read · Added 20 Nov 2026 - CAD and BIMGlossary term
Xref (external reference)
An xref (external reference) is another drawing file linked into the current AutoCAD drawing. It is displayed but not copied in, so when the source drawing changes, the xref updates when the drawing is reopened or the xref is reloaded.1 min read · Added 20 Nov 2026 - CAD and BIMGlossary term
DWG file
DWG is the native drawing file format of AutoCAD. It stores 2D and 3D geometry, layers, blocks, text, dimensions, layouts and drawing information. It is owned by Autodesk and is one of the most widely used formats for sharing CAD drawings.1 min read · Added 20 Nov 2026 - CAD and BIMGlossary term
AutoLISP
AutoLISP is the programming language built into AutoCAD for adding your own commands and automating repeated drawing work. A short AutoLISP file can draw, count, measure or change objects in seconds instead of minutes.2 min read · Added 20 Nov 2026
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.