Change a block's objects in the block editor and every reference updates. This article also covers renaming, deleting, exploding and how layers and properties work inside blocks.
Before you start
- Any paid licence. A drawing with at least one block.
Steps: edit a block in the block editor
- In the Blocks panel select the block and click Edit…, or click Insert > Blocks > Block editor… and choose the block.
- A block editor tab opens. The bar above it reads "Block editor: NAME (from DRAWING). The origin is the block's base point."
- Draw and modify with the usual tools.
- Click Save block (or Ctrl+S). The definition is replaced and every reference shows the change, as one undo step in the drawing. The status bar says "Block NAME saved; its references show the change."
- Click Close block editor. If there are unsaved changes you are asked "Save the changes to block NAME before closing the block editor?".
A block editor tab has no layout tabs and no external references: those belong to the drawing. It is saved into the drawing, never to a file of its own.
Other ways to change a block
- To edit a block where a reference shows it, without a separate tab, use
REFEDIT(see Clipping and editing references in place). - To redefine it from new objects, run
-BLOCKwith the same name and answer Yes. This removes any parameters the block had, and says so.
Rename, delete and purge
- Rename… in the Blocks panel, or
-RENAMEwith Block, renames a block; references follow. - Delete in the panel removes a block only when nothing uses it.
PURGEdeletes blocks that nothing references.
Exploding a reference
EXPLODE replaces a reference by its contents one level down:
- objects on layer 0 move to the reference's layer;
- ByBlock properties take the reference's values;
- attribute values become text;
- nested references stay references, unless a non-uniform scale would skew them, then they are exploded too.
Layers and properties inside blocks
| Situation | Result |
|---|---|
| Object on layer 0 in the block | Takes the reference's layer (its colour, linetype and visibility). |
| Object on another layer | Keeps that layer and its settings. |
| ByBlock property | Takes the reference's value. |
| Reference's layer off or frozen | The whole reference is hidden. |
Picking, window, crossing, fence and polygon selection, selection cycling and object snaps work on a reference's contents. TRIM and EXTEND do not use block contents as edges.
Example
Your CHAIR block was drawn 50 mm too wide. Open it with Edit…, stretch the seat by 50 mm, click Save block. All 120 chairs in the drawing update at once; Ctrl+Z in the drawing undoes the change in one step.
Tips and common mistakes
- Text in a reference scaled differently in X and Y keeps its proportions; hatch curves there become fine straight pieces.
- Dimensions inside blocks are not associative.
- Hatches in blocks scale and turn with the reference and keep their pattern direction when it is mirrored.
- Blocks of an external reference cannot be edited in the block editor: edit that drawing and reload it, or bind the reference first.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "NAME belongs to an external reference: edit that drawing and reload it, or bind the reference first." | Open the referenced drawing, or bind the xref. |
| "Finish or cancel the running command first." | Press Esc, then click Save block again. |
| "Block not saved" with a reason | The definition could not be replaced; read the reason (for example objects that cannot go in a block). |
Related
Related
- Fitting an object into a space
- Grid, snap, ortho and polar tracking
- Object snaps and object snap tracking
- Entering exact points, distances and angles
- Constraint hints while drawing
- Drawing lines
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.