Stratal CAD

Working with layers

Help centre · Drawing and editing

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

Steps

  1. 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.
  2. 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.
  3. 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).
  4. 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).
  5. Tick or clear On, Freeze, Lock and Plot as needed. Every change is one undo step.
  6. To rename a layer, select it and click Rename. Its objects, layer states and group filters follow the new name.
  7. 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

  1. Type LAYMRG.
  2. At "Select object on layer to merge", pick an object on each layer you want to merge (or type Name to type layer names), then press Enter.
  3. 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

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

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.