Chapter 6 · Computer-Aided Architectural Drafting (AutoCAD & ArchiCAD)
6.5 Dynamic Blocks and Standard Layer Naming
1. Learning Goal
After this section you will be able to author a dynamic block with parameters and actions, and set up layers using a standard naming convention.
2. Core Explanation
Section 6.3 introduced layers and blocks, and Section 6.4 covered block attributes (ATTDEF) and data extraction (DATAEXTRACTION). A dynamic block is a single block whose geometry can change after insertion, so one door block can represent many door sizes instead of a separate block for each.
Dynamic blocks are built in the Block Editor (BEDIT) from two kinds of element:
- parameters define what can change: Linear (a distance), Rotation, Flip (mirror about a line), Visibility (show or hide sets of objects, such as single or double leaf), Alignment, and Lookup (a table of named options);
- actions define how the geometry responds: Stretch, Move, Scale, Array, Rotate and Flip, each attached to a parameter and to a selection of objects.
Adding a value set to a linear parameter limits it to standard sizes (for example a list of door widths), so users cannot create non-standard doors by accident. Attributes (Section 6.4) can be included in the same block so that the door number, width, fire rating and ironmongery set travel with it into the schedule.
Standard layer naming. Offices adopt a naming convention so that drawings from different people and consultants work together. The US National CAD Standard (NCS/AIA) format is widely used:
for example A-WALL-FULL (architectural full-height walls), A-DOOR, A-GLAZ (glazing), A-FLOR-LEVL (level changes), S-COLS (structural columns), E-LITE (lighting), M-HVAC-DUCT. The optional status field can mark new, existing or demolition work (for example A-WALL-DEMO). ISO 13567 sets out a similar structured approach. Whatever standard is used, put it in the office CAD manual (Section 13.5) and the drawing template.
3. Worked Example
Task: create a dynamic door block that offers five leaf widths, flips its swing, and carries attributes for a schedule.
- Draw a 900 mm door leaf, swing arc and frame in the Block Editor at the insertion point (hinge side).
- Add a Linear parameter across the leaf width; give it a value set list of 762, 813, 900, 1 200 and 1 500 mm (the last two as pairs of leaves).
- Add a Stretch action to the linear parameter, selecting the leaf, the frame on the closing side and the arc end point; add a Scale action to the arc so it follows the width.
- Add a Flip parameter along the door's centre line with a Flip action on all objects, so the swing can be reversed.
- Add a Visibility parameter with states "Single leaf" and "Double leaf" for the 1 200 and 1 500 mm options.
- Add attributes with ATTDEF: DOORNO, WIDTH, FIRE_RATING and IRONMONGERY, then save the block (BSAVE) and test it.
- Insert 20 doors on layer A-DOOR, set each width and swing with grips, fill in the attributes, and run DATAEXTRACTION to place a door schedule table on sheet A-701 (Section 5.8).
4. Common Misconception
Students often think a dynamic block can be stretched to any size, so value sets are unnecessary. This is a misconception because unrestricted grips produce doors and windows that do not exist as standard products, and schedules then list impossible sizes. Avoid it by giving every size parameter a value set of standard dimensions.
5. Quick Check
Answer each one first, on paper or in your head, then show the book’s answer and rate yourself. Misses come back for review.
1. What is the difference between a parameter and an action in a dynamic block?
A parameter defines what may change (for example a distance); an action defines how the selected geometry responds (for example stretch).
2. What does the layer name A-WALL-DEMO indicate?
Architectural walls to be demolished.

