Skip to content
LiberoDraft LiberoDraft Help
Deutsch
Start › D Command reference › Edit block

Edit block

Purpose

Opens the definition of the selected block instance in the block editor. After saving, the changes affect all instances of this block. Context: Editing the definition.

Access

  • Right-click on a selected instance → 📐 Edit block (1 in the picture).
  • Panel Blocks: row button 📐 Edit block geometry (editor) of a definition.
  • Block manager: select the block, ✏️ Edit.
  • Command search : type Edit block (needs a selected instance).
Right-click menu with a selected block instance: (1) Edit block, (2) BOM data, (3) Split off as variant, (4) Replace with another block, (5) Block manager, (6) Explode
Right-click menu with a selected block instance: (1) Edit block, (2) BOM data, (3) Split off as variant, (4) Replace with another block, (5) Block manager, (6) Explode

A double-click on an instance does not open the editor but the Block manager; on a live parts list it opens the window Edit parts list.

A live parts list is generated from the drawing and cannot be edited in the block editor. Its right-click menu therefore lacks Edit block, BOM data… and Split off as variant; instead it offers 📋 Edit parts list… and 📍 Position balloons follow this parts list. The other ways (panel Blocks, block manager, command search) report in red Live parts list — it is generated from the drawing and cannot be edited in the block editor; … You get a fixed version with Explode.

Procedure

  1. Select the instance and start the command. The drawing is put aside; only the block geometry lies on the canvas in block-local coordinates, fitted to the view. At the top the orange banner appears: ✐ Block editor · Name — Origin (orange) = insertion point.
  2. Draw, change, dimension, hatch or insert further blocks with all tools. The origin (orange cross) is the insertion point — moving geometry relative to it means moving the insertion point.
  3. Save in the banner writes the geometry back, increases the version and updates all instances (Block „Name" saved — n element(s); all instances updated). Cancel discards everything (Block editing cancelled — no changes applied). In both cases the drawing returns with its view and undo history (see Undo after Save and Cancel).
Block editor with the banner: (1) Speichern (save), (2) Abbrechen (cancel), (3) origin
Block editor with the banner: (1) Speichern (save), (2) Abbrechen (cancel), (3) origin

Rules

  • The editor has its own undo history; Ctrl+Z only acts on the block geometry.
  • The edited block cannot be inserted into itself (A block cannot contain itself) — nor can any block that contains it, by any route: panel Blocks, block manager, Ctrl + V, standard part, Import drawing…, hand-over from an add-on, Replace with another block. The message names the culprit, e.g. Frame contains «Bearing block» — a block cannot contain itself. If such a chain has got into the editor nevertheless, Save refuses and selects the affected references; delete them with Del and save again. Older files with such a chain open unchanged.
  • Only one editor at a time (The block editor is already active). When the editor opens and before Save or Cancel, everything running is ended: a placement, a drawing action, an active grip, open windows such as Edit layer.
  • Dimensions and hatches in the editor belong to the definition afterwards and travel into every instance (Dimensions in blocks).
  • Dimensions that hang from outside on a line, circle or arc of the block (Parts in blocks) hang on their parts again after Save. If a part has been deleted, its dimension is hidden; it stays in the drawing, and Ctrl + Z brings back part and dimension. Dimensions at points in the block (Points in blocks) stay at their spot in the block, even if no part lies there afterwards.
  • If only some instances should differ, Split off as variant is the right way.

Undo after Save and Cancel

  • Save is one step in the undo history of the model: one Ctrl + Z after leaving the editor takes back the whole edit, Ctrl + Y brings it back. If nothing was changed in the editor, no step is created.
  • If the editor was opened on a sheet, the status bar reports Block „Name" saved — To restore: tab “Model”, then Ctrl+Z — you take it back in the Model tab.
  • Cancel restores the drawing exactly as it was before the editor — including what was changed in the editor on other blocks, on layers (with visibility and active layer), BOM fields, guide lines, the eyes of the system layers and the drawing info. No undo step is created for this.

What is locked in the block editor

While the editor is open, the work belongs to the block. Therefore the following are locked (each with a red message):

  • Changing area or sheet: the Model tab and the sheet tabs, +, Delete layout, Page setup, renaming, viewports, Frame + title block, Import sheets too, Open a local standard part for editing. The editor does not reach through a viewport into the model either.
  • Saving the drawing (Ctrl + S, Save as…): The drawing cannot be saved while the block editor is open — …
  • In the block manager Delete and Clean up; the BOM; managing the BOM fields of the drawing.

Open… and New drawing end an open editor without writing back (after the question about unsaved changes). On a sheet, too, the editor keeps its own undo history.

Keys

In the editor all keys of the canvas apply. The banner can be moved by its title.

Related commands

Related topics