Skip to content

Layers (1 of 2)

-LAYER — Layers (command line)

Manages layers from the command line.

Manages layers from the command line, without windows: useful in scripts and in LISP. It does the same as the LAYER: create layers, set the current one, rename them and change their properties.

Usage

  1. Enter -LAYER (or -LA).
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]:
  1. Choose an option. Options that change a property ask for the value first and then for the layers:
Enter name list of layer(s) (wildcards allowed) <…>:
  1. After each option the first prompt comes back. Press Enter to finish.

Layer lists accept several names separated by commas and wildcards (*, ?, #, @, ~). Pressing Enter without typing anything applies the option to the current layer.

Options

Enter name list for new layer(s):
New color [Truecolor/COlorbook] :
Enter transparency value (0-90):
Enter a layer state option [?/Save/Restore/Delete]:

Save saves the current setup under a name, Restore brings it back, Delete deletes it and ? lists the saved states.

Notes

See also

LAYER · LAYERSTATE · SCRIPT · Layers

LAYON — Turn All Layers On

Turns on all the layers.

Turns on all layers of the drawing at once. There are no prompts.

Usage

  1. Enter LAYON or click Turn All Layers On on the ribbon.

Notes

See also

LAYOFF · LAYTHW · LAYUNISO · Layers

LAYISO — Isolate

Leaves only the layers of the selected objects visible.

Keeps only the layers of the selected objects visible: all other layers are turned off. Useful to work on one part of the drawing without the rest getting in the way. LAYUNISO returns the layers to how they were.

Usage

  1. Enter LAYISO or click Isolate on the ribbon.
Select objects on the layer(s) to be isolated or [Settings]:
  1. Select one or more objects with any "Select objects" option (Window, All, Remove...; see Selecting objects) and press Enter. Their layers stay on and all others are turned off.

Options

Enter setting for layers not isolated [Off/Lock and fade] <Off>:
Enter fade value (0-90) <…>:

Notes

See also

LAYUNISO · LAYOFF · ISOLATEOBJECTS · Layers

LAYVPI — Isolate to Viewport

Freezes the selected layers in every viewport except the current one.

Freezes the layers of the selected objects in every viewport of the layout except the current one, so that those objects are only seen in it.

Usage

  1. In a layout, go into a viewport (MSPACE) and enter LAYVPI.
Select an object on the layer to be isolated in viewport or [Undo]:
  1. Select objects. Their layers are frozen in the other viewports at once; keep selecting or press Enter.
Layer … has been frozen in all viewports but the current one.

Options

Notes

You must be in a layout, inside a viewport (MSPACE).

See also

VPLAYER · LAYISO · LAYER · Layers

LAYLCK — Lock

Locks the layer of the selected object.

Locks the layer of the selected object. Its objects are still displayed, plotted and usable for object snaps, but they cannot be selected or modified. This is how you protect a base plan or a reference drawing while drawing on top of it.

Usage

  1. Enter LAYLCK or click Lock on the ribbon.
Select an object on the layer to be locked:
  1. Select an object. Its layer is locked and the command ends.

Notes

See also

LAYULK · LAYER · Layers

LAYMCUR — Make Current

Makes the layer of the selected object current.

Makes the layer of an object current: whatever you draw next goes on that layer. It is quicker than looking for the layer by name when an object on it is in view.

Usage

  1. Enter LAYMCUR or click Make Current on the ribbon.
Select object whose layer will become current:
  1. Select an object. Its layer becomes the current layer and the command ends.

Notes

See also

LAYMCH · LAYER · Layers

LAYCUR — Change to Current Layer

Moves the selected objects to the current layer.

Moves the selected objects to the current layer, without changing their other properties. Use it to gather on the working layer objects drawn on another one.

Usage

  1. Enter LAYCUR.
Select objects to be changed to the current layer:
  1. Select the objects and press Enter. The program says how many changed.
… objects changed to layer "…" (the current layer).

Notes

See also

LAYMCUR · LAYMCH · COPYTOLAYER · Layers

LAYERP — Previous

Undoes the last change to layer settings.

Undoes the last change to layer settings: the layers return to how they were before (on, frozen, locked, color, linetype, lineweight...). Objects are not touched: an object that was moved or put on another layer stays as it is.

Usage

  1. Enter LAYERP or click Previous on the ribbon.
  2. The layers return to their previous settings and the command line confirms it. Repeat to go further back.

Notes

See also

LAYER · LAYERSTATE · UNDO · Layers

COPYTOLAYER — Copy to Layer

Copies the selected objects to another layer.

Copies the selected objects to another layer: the copies go on the destination layer and the originals stay as they were. The copies can be left in place or moved.

Usage

  1. Enter COPYTOLAYER.
Select objects to copy:
  1. Select the objects and press Enter.
Select object on destination layer or [Name] <Name>:
  1. Select an object on the destination layer, or press Enter and type the layer name.
… object(s) copied and placed on layer "…".
  1. Specify the base point and the second point to move the copies, or press Enter to leave them in place.
Specify base point or [Displacement/eXit] <eXit>:

Options

Specify displacement <0.0000, 0.0000, 0.0000>:

See also

LAYCUR · LAYMCH · COPY · Layers

LAYOFF — Off

Turns off the layer of the selected object.

Turns off the layer of the objects you select: their objects are no longer displayed or plotted until the layer is turned on again. The command keeps asking for objects, so you can turn off several layers in a row.

Usage

  1. Enter LAYOFF or click Off on the ribbon.
Select an object on the layer to be turned off or [Settings/Undo]:
  1. Select an object: its layer is turned off. Repeat with other objects.
  2. Press Enter to finish.

Options

In paper space viewport use [Vpfreeze/Off] <Vpfreeze>:

Notes

Layer "…" is current, do you want to turn it off? [Yes/No]

See also

LAYON · LAYFRZ · LAYISO · LAYERP · Layers

LAYULK — Unlock

Unlocks the layer of the selected object.

Unlocks the layer of the selected object: its objects can be selected and modified again.

Usage

  1. Enter LAYULK or click Unlock on the ribbon.
Select an object on the layer to be unlocked:
  1. Select an object on the locked layer. The layer is unlocked and the command ends.

Notes

See also

LAYLCK · LAYER · Layers

SETBYLAYER — Set to ByLayer

Sets the color, linetype, lineweight and other properties of the objects to ByLayer.

Sets the properties of the selected objects to ByLayer, so that they take those of their layer: color, linetype, lineweight, material, plot style and transparency, according to SETBYLAYERMODE.

Usage

  1. Enter SETBYLAYER. The program says which properties it will change.
Current active settings: …
  1. Select the objects and press Enter.
Select objects or [Settings]:
  1. Say whether to change the ByBlock properties too.
Change ByBlock to ByLayer? [Yes/No] <Yes>:
  1. Say whether to change the objects inside the selected blocks too (their definition changes).
Include blocks? [Yes/No] <Yes>:

Options

Enter new value for SETBYLAYERMODE (1 color, 2 linetype, 4 lineweight, 8 material, 16 plot style, 128 transparency) <…>:

Notes

See also

MATCHPROP · PROPERTIES · Layers

LAYERSTATE — Layer States

Opens the Layer States Manager.

Opens the Layer States Manager. A layer state saves under a name how all layers are set (on, frozen, locked, color, linetype, lineweight...) so that you can return to that setup later. Layer states are saved in the drawing.

Usage

  1. Enter LAYERSTATE (or LAS) or click Layer States… in the LAYER.
  2. To save the current setup, click New…, type the State name and, optionally, a Description, and click Save. A state with the same name is replaced.
  3. To return to a state, choose it in the list and click Restore (or double-click it).

Controls

Notes

See also

LAYER · -LAYER · LAYERP · Layers

LAYMRG — Merge

Moves all the objects of some layers to another one and deletes the former.

Merges layers: moves all objects of some layers to another one (the destination layer) and deletes the first ones. Use it to clean up drawings with duplicated or badly named layers.

Usage

  1. Enter LAYMRG or click Merge on the ribbon.
Select object on layer to merge or [Name]:
  1. Select objects on the layers to merge; the command line shows the chosen layers. Press Enter.
Select object on target layer or [Name]:
  1. Select an object on the destination layer.
  2. Confirm. The default answer is No.
Do you wish to continue? [Yes/No] <No>:

Options

Enter layer name or [?]:

Notes

See also

LAYDEL · LAYMCH · PURGE · Layers

LAYMCH — Match Layer

Moves the selected objects to the layer of another object.

Moves the selected objects to the layer of another object (the destination layer). Use it to fix objects drawn on the wrong layer without having to look up the name of the right one.

Usage

  1. Enter LAYMCH or click Match Layer on the ribbon.
Select objects to be changed:
  1. Select the objects to change and press Enter.
Select object on destination layer or [Name]:
  1. Select an object on the destination layer. The objects change layer and the command ends.

Options

Enter target layer name:

Notes

See also

MATCHPROP · LAYMCUR · LAYMRG · Layers

LAYFRZ — Freeze

Freezes the layer of the selected object.

Freezes the layer of the objects you select. A frozen layer is neither displayed nor plotted, like a layer that is off, and it is also not regenerated, which makes large drawings lighter. The command keeps asking for objects until you press Enter.

Usage

  1. Enter LAYFRZ or click Freeze on the ribbon.
Select an object on the layer to be frozen or [Settings/Undo]:
  1. Select an object: its layer is frozen. Repeat with other objects.
  2. Press Enter to finish.

Options

In paper space viewport use [Freeze/Vpfreeze] <Vpfreeze>:

Notes

See also

LAYTHW · LAYOFF · LAYER · Layers

LAYUNISO — Unisolate

Undoes the last LAYISO.

Undoes the last LAYISO: turns layers on and off as they were before they were isolated.

Usage

  1. Enter LAYUNISO or click Unisolate on the ribbon. There are no prompts.

Notes

See also

LAYISO · LAYON · LAYERP · Layers

STANDARDS — Standards

Associates standards files (.dws) with the drawing.

Associates standards files with the drawing so that CHECKSTANDARDS can check it later. A .dws file or any drawing (.dwg, .dxf, .dwt) will do.

Usage

  1. Enter STANDARDS.
Enter an option [Associate/Remove/List] <List>:
  1. Associate: give the file; it is checked that it opens.
Enter the standards file (.dws or drawing):
  1. Remove: give the number in the list or the path.
  2. List (Enter): writes the associated standards.

Notes

See also

CHECKSTANDARDS · LAYTRANS · Layers

LAYWALK — Layer Walk

Shows only the checked layers to see what each one holds.

Shows only the layers you check, to see what is on each one. The others are turned off while the dialog box is open.

Usage

  1. Enter LAYWALK.
Layer Walk: use the dialog box; Enter closes it.
  1. In the dialog box, type a filter (* and ? are accepted) and check the layers you want to see; the number of objects of each appears in brackets. With nothing checked, all are shown.
  2. Purge layer deletes the checked layer if it is empty (not 0 or the current one).
  3. Click Close or press Enter: the layers go back to how they were before opening the dialog box, except the purged ones.

See also

LAYER · LAYISO · Layers

LAYTHW — Thaw All Layers

Thaws all the layers.

Thaws all frozen layers of the drawing at once. There are no prompts.

Usage

  1. Enter LAYTHW or click Thaw All Layers on the ribbon.

Notes

See also

LAYFRZ · LAYON · Layers

LAYTRANS — Layer Translator

Translates the layers of the drawing to those of another drawing or standard.

Translates the layers of the drawing to those of another drawing or standard: objects move to the target layer, which takes the color, linetype and lineweight of the reference. LinceCAD does it on the command line, without the Layer Translator dialog box.

Usage

  1. Enter LAYTRANS.
Enter the drawing or standard with the target layers:
  1. Type source=target mappings; the source accepts wildcards (WAL*=A-WALL). Map same applies to the layers that already have the same name as in the reference.
Enter source=target, Map same or <Translate>:
  1. Enter (or Translate) translates: the source layer is deleted if it ends up empty (never 0 or the current one).

Notes

See also

STANDARDS · CHECKSTANDARDS · LAYMRG · Layers

Download LinceCAD Manual contents

Download the free 30-day trial · Open and edit DWG files · AutoCAD LT alternative

Coming from AutoCAD? Check what is compatible · AutoCAD LT alternative