Layers (1 of 2)
- -LAYER
- LAYON
- LAYISO
- LAYVPI
- LAYLCK
- LAYMCUR
- LAYCUR
- LAYERP
- COPYTOLAYER
- LAYOFF
- LAYULK
- SETBYLAYER
- LAYERSTATE
- LAYMRG
- LAYMCH
- LAYFRZ
- LAYUNISO
- STANDARDS
- LAYWALK
- LAYTHW
- LAYTRANS
-LAYER — Layers (command line)
Manages layers from the command line.
- Command:
-LAYER· Global name:_-LAYER· Alias:-LA
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
- 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]:
- 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) <…>:
- 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
- ?: lists the layers with their status, color and linetype.
- Make (M): makes a layer current; if it does not exist, it is created.
- Set (S): makes an existing layer current.
- New (N): creates layers without making them current.
Enter name list for new layer(s):
- Rename (R): renames a layer.
- ON / OFF: turns layers on or off.
- Color (C): a number from 1 to 255, a standard color name (red, yellow...) or R,G,B.
New color [Truecolor/COlorbook] :
- Ltype (L): a loaded linetype (Enter = Continuous).
- LWeight (LW): a standard lineweight in millimeters or Default.
- TRansparency (TR): the layer transparency, from 0 (opaque) to 90 %.
Enter transparency value (0-90):
- Plot (P): Plot or No plot.
- Freeze (F) / Thaw (T): freezes or thaws layers.
- LOck (LO) / Unlock (U): locks or unlocks layers.
- stAte (A): layer states.
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.
- Description (D): sets the description of the layers.
Notes
- The current layer cannot be frozen; with wildcards, a warning is shown and the other layers are changed.
- Options are typed in the language of the interface (in Spanish: Establ, Def, Inut...).
- Every option can be undone with UNDO and is remembered by LAYERP.
See also
LAYER · LAYERSTATE · SCRIPT · Layers
LAYON — Turn All Layers On
Turns on all the layers.
- Command:
LAYON· Global name:_LAYON - Ribbon: Home › Layers
Turns on all layers of the drawing at once. There are no prompts.
Usage
- Enter LAYON or click Turn All Layers On on the ribbon.
Notes
See also
LAYISO — Isolate
Leaves only the layers of the selected objects visible.
- Command:
LAYISO· Global name:_LAYISO - Ribbon: Home › Layers
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
- Enter LAYISO or click Isolate on the ribbon.
Select objects on the layer(s) to be isolated or [Settings]:
- 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
- Settings (S): what happens to the other layers: turned off (and, inside a viewport, frozen in it only) or locked and faded.
Enter setting for layers not isolated [Off/Lock and fade] <Off>: Enter fade value (0-90) <…>:
Notes
- If objects are selected before the command starts, their layers are isolated without asking.
- If the current layer is not one of the isolated layers, the first of them becomes current.
- Layers are turned off, not frozen or locked. If you isolate several times in a row, LAYUNISO returns to the setup before the first isolation.
- To isolate individual objects instead of whole layers, use ISOLATEOBJECTS.
See also
LAYUNISO · LAYOFF · ISOLATEOBJECTS · Layers
LAYVPI — Isolate to Viewport
Freezes the selected layers in every viewport except the current one.
- Command:
LAYVPI· Global name:_LAYVPI - Ribbon: Home › Layers
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
- In a layout, go into a viewport (MSPACE) and enter LAYVPI.
Select an object on the layer to be isolated in viewport or [Undo]:
- 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
- Undo (U): thaws again the layers of the last selection.
Notes
- If you are not inside a viewport, the program says so.
You must be in a layout, inside a viewport (MSPACE).
See also
LAYLCK — Lock
Locks the layer of the selected object.
- Command:
LAYLCK· Global name:_LAYLCK - Ribbon: Home › Layers
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
- Enter LAYLCK or click Lock on the ribbon.
Select an object on the layer to be locked:
- Select an object. Its layer is locked and the command ends.
Notes
- If objects are selected before the command starts, their layers are locked.
- You can draw on a locked layer if it is the current layer.
See also
LAYMCUR — Make Current
Makes the layer of the selected object current.
- Command:
LAYMCUR· Global name:_LAYMCUR - Ribbon: Home › Layers
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
- Enter LAYMCUR or click Make Current on the ribbon.
Select object whose layer will become current:
- Select an object. Its layer becomes the current layer and the command ends.
Notes
- If objects are selected before the command starts, the layer of the first one is used without asking.
- A frozen layer cannot be the current layer.
- The change can be undone with UNDO or with LAYERP.
See also
LAYCUR — Change to Current Layer
Moves the selected objects to the current layer.
- Command:
LAYCUR· Global name:_LAYCUR - Ribbon: Home › Layers
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
- Enter LAYCUR.
Select objects to be changed to the current layer:
- Select the objects and press Enter. The program says how many changed.
… objects changed to layer "…" (the current layer).
Notes
- If objects are selected before the command starts, those are the ones changed, with no more questions.
- Objects on locked layers cannot be selected.
See also
LAYMCUR · LAYMCH · COPYTOLAYER · Layers
LAYERP — Previous
Undoes the last change to layer settings.
- Command:
LAYERP· Global name:_LAYERP - Ribbon: Home › Layers
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
- Enter LAYERP or click Previous on the ribbon.
- The layers return to their previous settings and the command line confirms it. Repeat to go further back.
Notes
- Up to 50 changes are remembered, made in the LAYER, in the layer control or with the layer commands (LAYOFF, LAYISO, -LAYER...).
- It does not undo renamed layers or bring back deleted layers: use UNDO for that.
- When there is nothing left to undo, it says so. It does not work while a command is running: finish it first.
- LAYERP itself can be undone with UNDO.
See also
LAYER · LAYERSTATE · UNDO · Layers
COPYTOLAYER — Copy to Layer
Copies the selected objects to another layer.
- Command:
COPYTOLAYER· Global name:_COPYTOLAYER - Ribbon: Home › Layers
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
- Enter COPYTOLAYER.
Select objects to copy:
- Select the objects and press Enter.
Select object on destination layer or [Name] <Name>:
- Select an object on the destination layer, or press Enter and type the layer name.
… object(s) copied and placed on layer "…".
- 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
- Name (N): type the name of the destination layer.
- Displacement (D): type the displacement of the copies instead of two points.
Specify displacement <0.0000, 0.0000, 0.0000>:
- eXit: leaves the copies on top of the originals.
See also
LAYOFF — Off
Turns off the layer of the selected object.
- Command:
LAYOFF· Global name:_LAYOFF - Ribbon: Home › Layers
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
- Enter LAYOFF or click Off on the ribbon.
Select an object on the layer to be turned off or [Settings/Undo]:
- Select an object: its layer is turned off. Repeat with other objects.
- Press Enter to finish.
Options
- Settings (S): inside a layout viewport, whether the layer is frozen in that viewport only or turned off in the whole drawing.
In paper space viewport use [Vpfreeze/Off] <Vpfreeze>:
- Undo (U): turns back on the last layer turned off in this command.
Notes
- If objects are selected before the command starts, their layers are turned off and the command ends.
- If you select an object on the current layer, it asks before turning it off (Enter = No), as AutoCAD does:
Layer "…" is current, do you want to turn it off? [Yes/No]
See also
LAYULK — Unlock
Unlocks the layer of the selected object.
- Command:
LAYULK· Global name:_LAYULK - Ribbon: Home › Layers
Unlocks the layer of the selected object: its objects can be selected and modified again.
Usage
- Enter LAYULK or click Unlock on the ribbon.
Select an object on the layer to be unlocked:
- Select an object on the locked layer. The layer is unlocked and the command ends.
Notes
- If objects are selected before the command starts, their layers are unlocked.
- You can also unlock a layer by clicking the padlock in the LAYER or in the layer control.
See also
SETBYLAYER — Set to ByLayer
Sets the color, linetype, lineweight and other properties of the objects to ByLayer.
- Command:
SETBYLAYER· Global name:_SETBYLAYER - Ribbon: Home › Layers
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
- Enter SETBYLAYER. The program says which properties it will change.
Current active settings: …
- Select the objects and press Enter.
Select objects or [Settings]:
- Say whether to change the ByBlock properties too.
Change ByBlock to ByLayer? [Yes/No] <Yes>:
- Say whether to change the objects inside the selected blocks too (their definition changes).
Include blocks? [Yes/No] <Yes>:
Options
- Settings (S): changes SETBYLAYERMODE, the sum of the properties set to ByLayer.
Enter new value for SETBYLAYERMODE (1 color, 2 linetype, 4 lineweight, 8 material, 16 plot style, 128 transparency) <…>:
Notes
- With "Include blocks" every reference of the block changes, because its definition does.
See also
LAYERSTATE — Layer States
Opens the Layer States Manager.
- Command:
LAYERSTATE· Global name:_LAYERSTATE· Alias:LAS,LMAN - Ribbon: Home › Layers
- Menu: Format
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
- Enter LAYERSTATE (or LAS) or click Layer States… in the LAYER.
- 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.
- To return to a state, choose it in the list and click Restore (or double-click it).
Controls
- Delete: deletes the chosen state; the layers do not change.
- Layer properties to restore: check boxes that decide what is restored from the chosen state: On/Off, Frozen/Thawed, Locked/Unlocked, Plot/No Plot, New VP Frozen, Color, Linetype, Lineweight and Transparency.
Notes
- Restoring a state can be undone with UNDO or with LAYERP.
- From the command line, the stAte option of -LAYER saves, restores and deletes states.
- Layer states are stored in the drawing in the same place as AutoCAD's.
See also
LAYMRG — Merge
Moves all the objects of some layers to another one and deletes the former.
- Command:
LAYMRG· Global name:_LAYMRG - Ribbon: Home › Layers
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
- Enter LAYMRG or click Merge on the ribbon.
Select object on layer to merge or [Name]:
- Select objects on the layers to merge; the command line shows the chosen layers. Press Enter.
Select object on target layer or [Name]:
- Select an object on the destination layer.
- Confirm. The default answer is No.
Do you wish to continue? [Yes/No] <No>:
Options
- Name (N): type the layer names instead of selecting objects (wildcards are accepted). At the destination prompt, the same option asks for its name.
Enter layer name or [?]:
- Undo (U): removes the last selected layer.
- Yes (Y) / No (N): merges or cancels.
Notes
- Layer 0, Defpoints and xref layers cannot be merged, and the destination cannot be one of the layers being merged.
- If the current layer is one of the merged layers, the destination layer becomes current.
- It can be undone with UNDO.
See also
LAYMCH — Match Layer
Moves the selected objects to the layer of another object.
- Command:
LAYMCH· Global name:_LAYMCH - Ribbon: Home › Layers
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
- Enter LAYMCH or click Match Layer on the ribbon.
Select objects to be changed:
- Select the objects to change and press Enter.
Select object on destination layer or [Name]:
- Select an object on the destination layer. The objects change layer and the command ends.
Options
- Name (N): type the name of the destination layer instead of selecting an object.
Enter target layer name:
Notes
- If objects are selected before the command starts, those are the ones changed and the command goes straight to the destination layer.
- Objects on locked layers cannot be selected for changing; the destination object may be on a locked layer.
- To copy color, linetype and lineweight as well, use MATCHPROP.
See also
LAYFRZ — Freeze
Freezes the layer of the selected object.
- Command:
LAYFRZ· Global name:_LAYFRZ - Ribbon: Home › Layers
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
- Enter LAYFRZ or click Freeze on the ribbon.
Select an object on the layer to be frozen or [Settings/Undo]:
- Select an object: its layer is frozen. Repeat with other objects.
- Press Enter to finish.
Options
- Settings (S): inside a layout viewport, whether the layer is frozen in that viewport only or in the whole drawing.
In paper space viewport use [Freeze/Vpfreeze] <Vpfreeze>:
- Undo (U): thaws the last layer frozen in this command.
Notes
- If objects are selected before the command starts, their layers are frozen and the command ends.
- The current layer cannot be frozen: a warning is shown and it does not change.
- The layer is frozen in the whole drawing. To freeze it in one layout viewport only, use the VP Freeze column of the LAYER.
See also
LAYUNISO — Unisolate
Undoes the last LAYISO.
- Command:
LAYUNISO· Global name:_LAYUNISO - Ribbon: Home › Layers
Undoes the last LAYISO: turns layers on and off as they were before they were isolated.
Usage
- Enter LAYUNISO or click Unisolate on the ribbon. There are no prompts.
Notes
- Only the on/off setting of the layers is restored; changes to color, linetype or other properties made in the meantime are kept.
- If no layers are isolated, it says so and nothing changes.
- If the current layer has ended up frozen, layer 0 becomes current.
See also
STANDARDS — Standards
Associates standards files (.dws) with the drawing.
- Command:
STANDARDS· Global name:_STANDARDS· Alias:STA - Ribbon: Home › Layers
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
- Enter STANDARDS.
Enter an option [Associate/Remove/List] <List>:
- Associate: give the file; it is checked that it opens.
Enter the standards file (.dws or drawing):
- Remove: give the number in the list or the path.
- List (Enter): writes the associated standards.
Notes
- The list travels with the drawing as the
LinceNormascustom property (see DWGPROPS); it is not AutoCAD's standards dictionary, which is not read.
See also
LAYWALK — Layer Walk
Shows only the checked layers to see what each one holds.
- Command:
LAYWALK· Global name:_LAYWALK - Ribbon: Home › Layers
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
- Enter LAYWALK.
Layer Walk: use the dialog box; Enter closes it.
- 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. - Purge layer deletes the checked layer if it is empty (not 0 or the current one).
- Click Close or press Enter: the layers go back to how they were before opening the dialog box, except the purged ones.
See also
LAYTHW — Thaw All Layers
Thaws all the layers.
- Command:
LAYTHW· Global name:_LAYTHW - Ribbon: Home › Layers
Thaws all frozen layers of the drawing at once. There are no prompts.
Usage
- Enter LAYTHW or click Thaw All Layers on the ribbon.
Notes
- Layers that are off stay off: use LAYON for that.
- Layers frozen in individual layout viewports are not changed.
- It can be undone with UNDO or with LAYERP.
See also
LAYTRANS — Layer Translator
Translates the layers of the drawing to those of another drawing or standard.
- Command:
LAYTRANS· Global name:_LAYTRANS - Ribbon: Home › Layers
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
- Enter LAYTRANS.
Enter the drawing or standard with the target layers:
- Type
source=targetmappings; 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>:
- Enter (or Translate) translates: the source layer is deleted if it ends up empty (never 0 or the current one).
Notes
- The result can be undone with UNDO.
- It does not save the mapping file and does not change the linetype if the reference uses one that is not loaded.
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