NAME
lc, ll, lx, l#, ld#, ls# - layer style commands
FORMAT
:lc delete all numbered [0-9] layer styles
:ll toggle to the previous layer style
:lx restore the current viewport layer modes
:l[0-9] load the specified numbered layer style
:ld[0-9] delete the specified numbered layer style
:ls[0-9] save current layer modes as specified style number
LEVEL
3u
DESCRIPTION
The following commands manage layer styles for the currently
loaded sheet or drawing. A layer style is a set of layer
modes adjusted for work (WK), edit (E), search (S), display
(D) or OFF. As a convenience aid, these routines manage a
special series of ten numbered layer styles with the names:
0, 1, 2, 3, 4, 5, 6, 7, 8 and 9
which are easily manipulated using the commands described
below.
COMMANDS
:lc [NUMBERED LAYER STYLE - CLEAR ALL]
This command deletes all of the existing numbered layer
styles from 0 through 9. The following prompt is displayed:
Delete all numbered layer styles? def: NO yes no
If yes is selected (or if a 'y' is entered at the keyboard),
then all of the numbered layer style files will be erased.
:ll [NUMBERED LAYER STYLE - TOGGLE PREVIOUS STYLE]
This command immediately redisplays the previous layer
style. This is useful for quickly toggling between two num-
bered layer styles in a drawing. If a numbered layer style
has not first been accessed using the :l# command, then the
following message will be displayed:
Cannot toggle layer style. No previous style has been loaded.
:lx [RESTORE VIEWPORT LAYER MODES]
This command immediately restores the current viewport layer
modes. If not currently working in a viewport, the follow-
ing message is displayed:
ERROR: not currently editing a viewport
:l0 ... :l9 [NUMBERED LAYER STYLE - LOAD]
These commands loads the previously saved numbered layer
style indicated by the command name digit. If the specified
layer style does not exist, then the following error message
is displayed:
ERROR: Layer style # not set. Set it with: ls#
:ld0 ... :ld9 [NUMBERED LAYER STYLE - DELETE]
These commands silently delete the numbered layer style
indicated by the command name digit. In other words, there
will be no confirmation prompt before deleting the view. If
the specified layer style does not exist (i.e., has not been
previously saved), then the following message is displayed:
Layer style # does not exist.
:ls0 ... :ls9 [NUMBERED LAYER STYLE - SAVE]
These commands save the current layer modes as a style using
the number indicated by the command name digit. Note that
if a layer style has previously been saved to the same
number, the older view will be silently overwritten.
FILES
View files are stored in the DB:views.dir directory with a
ly_ prefix and a .st suffix. The numbered layer style files
are named ly_[0-9]<dwg>.st where <dwg> is up to the first
seven characters of the basename of the current sheet or
drawing. This naming convention allows numbered layers to
be maintained for multiple sheets or drawing within the same
database.
FLAGS & PARAMETERS
#dbnam
RELATED COMMANDS
:mn_lystyle
SEE ALSO
cj_ls_style.ff: sigmac source for layer style support rou-
tines.
cj_ls_opt.ff: sigmac source for the optional screen view
routines described in this document.
AUTHOR
C. Jeffery Small <jeff@cjsa.com>
COPYRIGHT
Copyright c 2006-2006 by CJSA LLC
Man(1) output converted with
man2html