Layers group the objects of a drawing so you can show, hide, lock and plot them together and give them shared colours, linetypes and lineweights. This article is for anyone organising a 2D or 3D drawing.
Before you start
- Any paid licence. Viewing layers needs no licence; changing them needs an editing licence (without one the panel says "This drawing cannot be edited here: see the Licence status panel.").
- A drawing open. Finish or cancel any running command first.
Steps
- Open the panel with Home > Layers > Layer panel. It lists every layer with its colour swatch, On, Freeze, Lock and Plot boxes, linetype, lineweight, transparency, plot style and a mark for the current layer.
- To make a layer, click Add and type a unique name. To draw on it, select it and click Set current: every new object goes on the current layer.
- To change a layer's colour, double-click its swatch and choose a colour in Select Colour (an index colour from the palette, or a true colour).
- Set the linetype, lineweight (in mm on paper) and transparency (0 to 90 %) in their columns. Linetypes… loads more linetypes (see Colour, linetype and other object properties).
- Tick or clear On, Freeze, Lock and Plot as needed. Every change is one undo step.
- To rename a layer, select it and click Rename. Its objects, layer states and group filters follow the new name.
- To delete layers, select them and click Delete. Only layers that no object uses are deleted.
Options
| Control | What it does |
|---|---|
| On | Shows or hides the layer. |
| Freeze | Not drawn, plotted, selected or snapped to. The current layer cannot be frozen, and a frozen layer cannot be made current. |
| Lock | Prevents selection and edits on the layer; its objects stay visible. |
| Plot | Off: the layer is drawn on screen but left off plotted sheets. The plot report counts the layers it left out. |
| Transp. % | Transparency of the layer's ByLayer objects, 0 (opaque) to 90. |
| Plot style | The named plot style of the layer's objects that plot ByLayer (drawings with named plot style tables). |
| Cur. | Marks the current layer. |
Layer commands
| Command | Where | What it does |
|---|---|---|
LAYFRZ / LAYTHW |
View > Layers | Pick objects to freeze their layers / thaw every layer. |
LAYOFF / LAYON |
View > Layers | Pick objects to turn their layers off / turn every layer on. |
LAYMCUR |
View > Layers | Makes the layer of a picked object current. |
-LAYER (-LA) |
Command line | Make, Set, New, ON, OFF, LOck, Unlock, Freeze, Thaw, Colour (Color also accepted), LType (type LT; L is LOck), LWeight, TRansparency, Plot, REname, Delete, DEScription, PStyle. Names accept wildcards and comma lists, for example -LA F M-*. |
LAYMRG |
Command line | Merges layers into another layer (see below). |
-RENAME (-REN) |
Command line | Renames a block or a layer. |
Merging layers
- Type
LAYMRG. - At "Select object on layer to merge", pick an object on each layer you want to merge (or type
Nameto type layer names), then press Enter. - At "Select object on target layer, or type its name", pick an object on the layer that stays.
The objects on the merged layers, in model space, inside block definitions and on layout sheets, move to the target and take its properties where they use ByLayer. The merged layers are deleted, layer states forget them, layout viewports drop their freezes and overrides of them, and group filters list the target instead. It is one undo step. -LAYMRG does the same with typed names or wildcards ("Enter layers to merge (names or wildcards, comma separated)").
Example
For a site plan in millimetres: add layers A-WALL (white, Continuous, 0.50 mm), A-DOOR (yellow, 0.25 mm) and A-GRID (red, Center linetype, 0.18 mm, Plot off so the grid is only a drawing aid). Make A-WALL current and draw the walls. Later, freeze A-GRID while you check the plan.
Tips and common mistakes
- Use layer 0 for objects inside blocks that should take the layer of each reference (see Editing and managing blocks).
- Turn on LWT in the status bar to see lineweights on screen.
- Off and Freeze both hide a layer, but only Freeze also stops picking, snapping and plotting.
- Layers from external references are named
Xref|Layer. You can turn them off, freeze them or recolour them, but not rename, delete or make them current.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "The current layer cannot be frozen; make another layer current first." | Set another layer current, then freeze this one. |
| "layer 0 cannot be deleted" / "the current layer cannot be deleted" | Layer 0 always stays; make another layer current before deleting this one. |
| "layer NAME is in use by N objects; move or erase them first" | Move the objects to another layer (Properties or CHPROP), or merge the layer with LAYMRG. |
| "layer NAME is in use inside block ..." or "on the sheet of layout ..." | The layer is used in a block definition or on a layout sheet. Edit the block or sheet, or use LAYMRG. |
| "layer 0 cannot be merged into another layer" | Layer 0 cannot be merged. Xref layers cannot be merged either. |
| "the current layer would move to ..., which is frozen; thaw it first" | Thaw the target layer before merging the current layer into it. |
Related
- Layer states and layer filters
- Colour, linetype and other object properties
- Printing and plotting a drawing
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.