-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) (comma-separated):
- 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.
Enter color (number from 1 to 255, standard name or R,G,B):
- 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