Stretch, Scale and Attributes in AutoCAD Dynamic Blocks: Worked Examples
How stretch frames, value sets, distance multipliers, scale actions and attributes really behave in AutoCAD dynamic blocks, worked on a 1,200 mm window and a 900 mm door, with the frame mistake that distorts blocks and a field that keeps size labels true.

To make an AutoCAD dynamic block stretch, open it in the Block Editor (BEDIT), add a Linear parameter across the size that should change, then a Stretch action tied to the parameter's moving end, with a stretch frame round that end. Use a Scale action when a part must grow in proportion (a door swing), and attributes to carry the mark and size into schedules.
In short (AutoCAD 2027 help, checked 22 Nov 2026)
- A parameter alone does nothing. Autodesk's rule is parameter + action + selection set: the parameter gives the grip, the action says what happens, the selection set says to which objects.
- The stretch frame decides move vs stretch. Objects wholly inside it move; objects crossing it stretch; everything else stays. In Skill-Lync's window example a frame drawn 100 mm too small turns a jamb into a diagonal.
- Value sets stop odd sizes. Increment 300 from 600 to 2400 allows exactly 7 window widths.
- Distance multiplier 0.5 keeps a mullion or a label centred: a 300 mm stretch moves it 150 mm.
- Attributes must have Lock Position on to be part of an action's selection set.
This guide is for civil engineering students and junior drafters who already know static blocks. It follows the block lessons (39 to 45) of Skill-Lync's AutoCAD Essentials for Civil Engineers course. We rewrote it on 22 Nov 2026 against the AutoCAD 2027 help and built two blocks a civil drafter uses daily, a window and a door, with every number checked by a script we kept with the post.
What is a dynamic block in AutoCAD?
A dynamic block is a normal block definition with parameters and actions added in the Block Editor, so one block can change size, position, rotation or visibility after insertion. Autodesk's own example is a single window block that stretches to any width instead of a separate static block for every size you use.
Three pieces make it work. A parameter (Linear, Polar, XY, Point, Rotation, Flip, Visibility, Lookup) defines a measurable property and puts a grip on the block. An action (Move, Stretch, Polar Stretch, Scale, Rotate, Flip, Array) says what happens when that grip or the matching property in the Properties palette changes. The action's selection set is the geometry it affects. Miss any of the three and the grip either does nothing or drags the wrong objects.
What is the difference between stretch and scale in a dynamic block?
A Stretch action moves some objects and lengthens others in one direction, so a window gets wider while its frame depth and glass lines stay the same thickness. A Scale action resizes every object in its selection set in proportion about a base point, so a door swing arc keeps its quarter-circle shape. Use stretch for lengths, scale for shapes.
| Stretch action | Scale action | |
|---|---|---|
| Parameters it works with | Point, Linear, Polar, XY | Linear, Polar, XY only |
| What changes | Points inside the stretch frame move; objects crossing it get longer | Whole selection set resized about a base point |
| Extra settings | Stretch frame (or CPolygon), distance multiplier, angle offset | Base type: Dependent (parameter's base point) or Independent (your own point) |
| Good for | Windows, walls, beams, slabs, ramps, parking bays | Door swings, symbols, north points, anything that must keep its proportions |
| Watch out | A frame that misses an endpoint distorts the object | Thickness scales too (a 40 mm leaf becomes 44.4 mm in our door) |
How do I create a stretch action in a dynamic block?
Open the block with BEDIT. On the Block Authoring palette, add a Linear parameter between the two points whose distance should change. Then pick Actions > Stretch, select the parameter, pick the end that should move, draw the stretch frame round that end, and select the objects. Click Test Block (BTESTBLOCK) before saving.
The steps for our window block, drawn in millimetres (1 unit = 1 mm) with its insertion point at the bottom-left corner of the opening:
- Draw the window as it sits in a 230 mm brick wall: two jamb lines 230 long, the outer and inner wall-face lines and two glass lines, all 1,200 mm long, and a small 40 x 50 mullion in the middle. Make it a block (BLOCK) with Open in Block Editor ticked.
- Add a Linear parameter from the top-left corner (0,230) to the top-right corner (1200,230). In the Properties palette rename Distance1 to WIDTH. A clear label is what users see in the Properties palette and what data extraction exports later.
- Add a Stretch action: select WIDTH, pick the right-hand grip (a red X appears when you are on it), and draw the frame as a crossing box from (900,-60) to (1320,290). It must contain the whole right jamb and the right-hand ends of all four horizontal lines.
- Select the objects with a crossing window over the right half: the right jamb and the four horizontal lines. Leave the mullion out.
- Click Test Block, drag the grip, close the test window, then save with BSAVE or Close Block Editor.
Why does my dynamic block move instead of stretch?
Because of where the stretch frame sits. The stretch action follows the same rule as the STRETCH command: an object lying completely inside the frame moves, an object crossing the frame stretches (only its vertices inside the frame move), and anything outside is left alone. An object whose ends both sit inside the frame will always move, never stretch.
Panel C is the easiest mistake to make: the frame was drawn round the grip only. The top of the right jamb is inside it and moves 300 mm; the bottom is not, so the jamb becomes a sloping line from (1200,0) to (1500,230). The inner face line is stretched, the outer face and both glass lines are not, and the window looks torn. The fix is always the same: redraw the frame (in the Block Editor run BACTIONSET, pick the action, and it asks for a new stretch frame and objects) so it holds every endpoint that should travel.
Three more causes of "my grip does nothing" or "only half of it moves":
- The object is not in the action's selection set. Being inside the frame is not enough; select the action in the Block Editor and its objects highlight.
- It is a circle, ellipse or nested block. The STRETCH help notes these cannot be stretched; put them in a Move action (or a Scale action) instead.
- It is an attribute with Lock Position off. Autodesk's -ATTDEF help states that in a dynamic block an attribute's position must be locked before it can be included in an action's selection set.
How do I make a dynamic block stretch only to fixed sizes?
Give the Linear parameter a value set. Select the parameter in the Block Editor, open Properties, and under Value Set choose Dist Type Increment with an increment, minimum and maximum, or List with the exact sizes you allow. The grip then snaps only to those sizes, shown by faint tick marks while you drag.
For the window we set increment 300, minimum 600 and maximum 2,400. That allows exactly seven widths: 600, 900, 1,200, 1,500, 1,800, 2,100 and 2,400 mm. Keep the drawn width (1,200) on the increment so the block's default size is a valid one; with a List, Autodesk's exercise shows AutoCAD adding the drawn width to the list by itself. If your office only uses three sizes, a List of 900, 1,200 and 1,500 is cleaner. Autodesk's own "Have You Tried" exercise does the same in inches: 24 to 60 in steps of 6.
How do I keep a window centred while it stretches?
Two ways. Set the Linear parameter's Base Location to Midpoint, so both ends move equal distances from the middle; you then need a stretch action on each end. Or keep Base Location at Startpoint and give the centred objects a Move action with a distance multiplier of 0.5, so they travel half as far as the grip.
We used the multiplier for the mullion and both attribute labels. Dragging the grip from 1,200 to 1,500 moves the right jamb 300 mm; the mullion's move action multiplies that by 0.5, so it moves 150 mm, from x = 600 to x = 750, which is exactly half of the new 1,500 mm width. If you had left the mullion in the stretch action instead, it would sit outside the frame, never move, and end up 150 mm off-centre.
The Midpoint route keeps the block centred on its insertion point, which suits openings placed from a wall's centre line. Autodesk also shows a third trick: a second stretch action on the same grip with Angle Offset 180, which makes the left side stretch the opposite way. It works, but two actions on one end are harder to debug than a clear Midpoint base.
How does a scale action work in a dynamic block?
A Scale action resizes its selection set when the associated Linear, Polar or XY parameter changes, about a base point that is either the parameter's own base point (Dependent) or a point you choose (Independent). With an XY parameter you can scale in X only, Y only, or both. Everything in the set keeps its shape.
The door block shows why this matters. A plan door is a leaf drawn open at 90 degrees and a quarter-circle swing whose radius equals the opening width. Stretch the swing and it stops being a circle. So we use two actions on one WIDTH parameter that starts at the hinge:
- a Stretch action with the strike-side jamb in its frame, so the opening grows;
- a Scale action, base type Dependent (the parameter start, which is the hinge), with the leaf and the arc in its set.
When WIDTH goes from 900 to 1,000 mm, the scale factor is the ratio of the new value to the old one:
The R 900 swing becomes R 1000 and its end lands at x = 1,000, exactly on the jamb the stretch action moved 100 mm. Our script asserts that the two meet.
The catch. A uniform scale also thickens the leaf: a 40 mm leaf becomes 44.4 mm. At 1:100 that is 0.40 mm against 0.44 mm on paper, a 0.044 mm difference that no plotter line shows, so for plans it is harmless. For a 1:20 joinery detail it is not; there, draw separate standard sizes with a Visibility or Lookup parameter, or a block properties table (BTABLE), instead of scaling.
How do I add attributes to a dynamic block?
Inside the Block Editor run ATTDEF, give the attribute a tag (no spaces), a prompt and a default value, and tick Lock Position if any action should move it. Save the block, then run ATTSYNC so references already in the drawing pick up the new attribute. Values typed in existing references are kept.
Our window carries two attributes, both placed under the opening and both in the 0.5 move action so they stay centred:
| Tag | Value | How it is filled |
|---|---|---|
| MARK | W1, W2, V1 | Typed at insertion (prompt "Window mark") |
| SIZE | 1200, 1500 | A field, so it follows the grip (next section) |
| HEIGHT | 1200, 600 | Typed; set to Invisible because a plan does not show it |
The attribute modes worth knowing: Invisible (stored, not shown or plotted; ATTDISP overrides it), Constant (one fixed value, no prompt), Verify (asks you to confirm), Preset (takes the default without asking, when ATTDIA is 0), Lock Position and Multiple Lines. Keep tags unique inside a block: Autodesk warns that duplicate tags cause problems in data extraction and in dynamic blocks.
Two cautions on ATTSYNC from the help: it removes formatting changes made with ATTEDIT or EATTEDIT, and it deletes extended data attached to the block, so run it before anyone hand-formats labels, not after.
Can an attribute show the dynamic block's current size?
Yes, with a field. While the block is open in the Block Editor, in the Attribute Definition dialog click Insert Field, choose BlockPlaceholder and pick the parameter (our WIDTH) from Block Reference Properties. Each inserted window then shows its own width, and the text updates after a REGEN or save.
BlockPlaceholder fields are only offered inside the Block Editor, which is why they are missed. The payoff is that the drawing cannot say "1200" when the grip says 1,500, a classic source of wrong schedules. Fields other than sheet-set fields update on save and on REGEN, so run REGEN before you plot or extract.
How do attributes become a window schedule?
Run DATAEXTRACTION, pick the window block, and tick the attributes (MARK, HEIGHT) and the dynamic property WIDTH. AutoCAD counts the references and writes a table or a CSV you can total in Excel. Because the width comes from the parameter, the schedule matches the plan.
A worked example from one floor of a small residential block (our numbers, for illustration):
| Mark | Count | Width (mm) | Height (mm) | Opening area (m²) |
|---|---|---|---|---|
| W1 | 6 | 1,200 | 1,200 | 8.64 |
| W2 | 4 | 1,500 | 1,200 | 7.20 |
| V1 (ventilator) | 3 | 600 | 600 | 1.08 |
| Total | 13 | 15.0 m of opening | 16.92 |
Every width here is one of the seven sizes the value set allows, so nobody can slip in a 1,350 mm window by eye. The same extraction feeds a BOQ; the full workflow is in our guide to data extraction and BOQs using attributes.
Which dynamic block commands should a civil drafter know?
BEDIT opens the Block Editor; BTESTBLOCK tests without saving; BACTIONSET redefines an action's objects and stretch frame; BSAVE saves; RESETBLOCK puts a reference back to its default size; ATTDEF, ATTSYNC and DATAEXTRACTION handle attributes. With those seven you can build, fix and schedule almost any civil symbol.
| Command | What it does |
|---|---|
| BEDIT | Opens a block definition in the Block Editor |
| BPARAMETER / BACTION | Add a parameter / an action from the command line |
| BACTIONSET | Respecifies the selection set of an action (fixes wrong frames) |
| BTESTBLOCK | Opens a test window to try the grips before saving |
| BSAVE / BSAVEAS | Saves the definition / saves a copy under a new name |
| RESETBLOCK | Resets dynamic references to the definition's default values |
| BTABLE | Stores fixed variations of a block in a block properties table |
| ATTDEF / ATTSYNC | Defines an attribute / pushes definition changes to existing references |
Where do Skill-Lync courses fit?
Blocks, attributes and dynamic blocks are lessons 39 to 45 of the 60 lessons in Skill-Lync's AutoCAD Essentials for Civil Engineers, a recorded course of about 30 hours: lesson 44 covers dynamic blocks and lesson 45 attributes for dynamic text, building on the block, door-block and block-editing lessons 39 to 43. The first three lessons are free on Grow, and you can compare every Skill-Lync AutoCAD course. As of 17 Nov 2026, Skill-Lync's placement records (n = 3,905) include 339 placements from the Master's in Civil Engineering program, mostly detailer and BIM modeller roles, with a median disclosed starting salary of ₹2.45 LPA (n = 328). These are self-reported entry-level offers, a starting point rather than a promise. Related guides: blocks step by step, door blocks and dimension constraints in dynamic blocks. Not sure which course suits you? Talk to a Skill-Lync counsellor.
Frequently asked questions
Can AutoCAD LT make dynamic blocks?
Yes. AutoCAD LT 2027 has the Block Editor, parameters, actions and attributes, and Autodesk publishes the same "About Adding Actions to Dynamic Blocks" topic and the stretchable-window exercise for LT as for full AutoCAD. Everything in this guide, including value sets, multipliers and BlockPlaceholder fields, is done in the Block Editor, so no programming is needed.
Why are there no grips on my dynamic block?
Usually the parameter has no action attached, or the action has no objects. Autodesk's rule is that a parameter alone does nothing: open BEDIT, select the action and check which objects highlight, then fix it with BACTIONSET. Also check the reference is really the dynamic block and not an exploded or copied static version.
What does the distance multiplier do?
It multiplies the change in the parameter before the action applies it. With a multiplier of 2 the geometry moves twice as far as the grip; with 0.5, half as far. Autodesk allows it on Move, Stretch and Polar Stretch actions. In our window, 0.5 keeps the mullion and labels on the centre line as the width changes.
How do I reset a dynamic block to its original size?
Select the reference and run RESETBLOCK. Autodesk describes it as resetting dynamic block references to the default values of the block definition, which for our window means the 1,200 mm it was drawn at. It is the quickest fix when a grip has been dragged to a size nobody can explain.
Scale action or Scale command: which should I use?
Use the SCALE command when you want to resize a whole block reference once, for example a north point. Use a Scale action inside the block when only part of it should grow with a parameter, such as a door swing that must follow the opening width while the wall and frame keep their real thickness.
Sources and further reading
- Autodesk, Have You Tried: Create a Stretchable Dynamic Block, AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, About Adding Actions to Dynamic Blocks, About Stretch Actions and About Scale Actions, AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, BACTION (Command) and BPARAMETER (Command), AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, About Specifying Properties for Dynamic Blocks (distance multiplier, angle offset) and Commands for Dynamic Blocks, AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, STRETCH (Command), AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, Attribute Definition Dialog Box, -ATTDEF (Command) and ATTSYNC (Command), AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, Field Dialog Box (BlockPlaceholder fields, field updates), AutoCAD 2027 help, accessed 22 Nov 2026.
- Autodesk, About Using a Block Properties Table, AutoCAD 2027 help, accessed 22 Nov 2026.
- Skill-Lync, AutoCAD Essentials for Civil Engineers course outline and placement summary (snapshot 17 Nov 2026), and the worked window, door and schedule numbers in this post (calculation script kept with the post).


