|
Alias |
Command
Description |
Yerfdog Command |
|
0 |
Sets current layer to layer 0 |
C:PJG:SET_LAY_0 |
|
CL |
Copy selected object to current layer |
C:PJG:COPY_1_TO_CUR_LAY |
|
J or LC |
Change selected objects to chosen layer |
C:PJG:LAY_CHANGE |
|
L* |
Locks all layers except current layer |
C:PJG:LOCK_ALL_LAYERS |
|
LCC |
Copy selected objects to chosen layer |
C:PJG:COPY_N_TO_CUR_LAY |
|
LCL |
Changes last object drawn to chosen layer |
C:PJG:CHG_LAY_LASTOBJ |
|
LF |
Freeze layer of selected object |
C:PJG:LAY_FREEZE |
|
LI |
Isolate layer of selected object |
C:PJG:LAY_ISOL |
|
LK |
Lock layer of selected object |
C:PJG:LAY_LOCK |
|
LO |
Turn off layer of selected object |
C:PJG:LAY_OFF |
|
LQ |
Returns information of layer of object picked from screen |
C:PJG:LAY_ENQ |
|
LS |
Layer Set command |
C:PJG:LAY_SET |
|
LU |
Unlock layer of selected object |
C:PJG:LAY_UNLOCK |
|
O* |
Turn all layers ON |
C:PJG:LAY_ALL_ON |
|
T* |
Thaw all layers |
C:PJG:LAY_ALL_THAW |
|
U* |
Unlock all layers |
C:PJG:LAY_ALL_UNLOCK |
|
V* |
Makes all layers ON, THAWED and UNLOCKED |
C:PJG:ENABLE_ALL_LAYERS |
Yerfdog command C:PJG:SET_LAY_0
Sets current layer to layer zero.
A copy of the selected object is put in the current layer. This command is fast since no user input is required other than simply pointing to the object to be copied.
Copies of the selected objects are put in the chosen layer. If <Enter> is pressed then the copied objects are placed in the current layer.
Everybody has one of these. This one has some improvements:
Two command aliases are provided in ALIAS.LSP. The most logical one is LC for Layer Change. However, the letters L and C are far apart on the standard PC keyboard, making this alias awkward to type with one hand, since most users type with one hand an hold the mouse in the other hand. The alias J is not allocated to any other command and, since this is a frequently used command, J is used here. You can of course edit ALIAS.LSP to whatever you like.
Most AutoCAD customisations include a command to turn a layer off based on a selected object. This one, however, goes a little further.
If you select an object on the current layer, Yerfdog doesn’t try to confuse you by turning the current layer off or crashing. Instead, the current layer is set to layer 0 and the selected object’s layer is turned off.
If you select an object which is nested in a block or xref, the layer of that nested object is turned off. If that object is drawn on layer 0, then the layer that the block is inserted on is turned off.