Commands and Aliases

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /home/caduiiga/public_html/modules/book/book.module).

For complete Command list go to Extended List.

Creating Aliases:

KEYS-UI assumes NOUN–VERB order rather than VERB–NOUN for example COPY-select-objects rather than SELECT- objects Copy.

The best shortcuts are naturally single characters but how does one create the over 900 shortcuts provided by KEYS-UI (or even the 650 required by AutoCAD)  with an average of two and never more than three characters from about 54 keys?

KEYS-UI achieves this by assigning single character aliases to the most common editing commands and then grouping remaining commands by type using one character for the command group prefix plus one further character for the command.  Commands with options can include an additional single key option making a maximum of three characters.   Each approach is followed by <enter>.

A two character command can be executed by a character for command group then <enter> followed by the command or two characters for command group and command followed by <enter>  e.g. P (Place) <enter> L (Line) or  PL <enter> (Place Line).  Three character command aliases work similarly giving three options for most commands depending upon how one wishes to nominate the options.

 

The best way to become familiar with the KEYS-UI Alias structure is to examine the structure of the AutoCAD command types.

Many commands can be first defined by their general function and then by their specific function, for example: Place Line (PL) Place Arc (PA) or Join Fillet (JF) Join Trim (JT) Query Area (QA) Query Layer (QL). Thus you can see that by inventing a few new command words for groups such as Place, Join and Query a very large number of commands can be given recognizable two character aliases. Thus one and two character aliases are available for just about every command that you will commonly use.

An interesting group of commands are those that change the properties of things thus G for chanGe results in the Command line prompt:


 

 

 

 

 

ChanGe (editing) commands require further information such as a property to chanGe. For example GL chanGe Layer and then GLC chanGe Layer Color.  Hence many edit commands may be compounded into three character aliases allowing three different command approaches by starting with G <enter>, GL <enter> or GLC <enter>. allowing predictive command control rather than reactive. For most common commands these two or three levels of command instructions are available as defined KEYS-UI aliases.

One of the more interesting compound aliases that you will come upon when you get into LAYERS-UI is GFC chanGe Field Color that chanGes the Color field in a LAYERS-UI Layer name (while at the same time chanGing the color of the Layer.

So let's have a look at the command groups and see how the aliases are generated.

AutoCAD command groups:

Drawing commands:

Simple Objects:

Command aliases for all simple objects such as Lines, Arcs and Circles use a command prefix P for Place such that PA means Place Arc, PL mean Place Line.

The command alias P by itself initiates a Place command with options thus:

You will notice a number of additional options to those provided by generic AutoCAD such as <<Qikpik; an Autolisp function that will draw a selected object possessing the same properties of Color Layer etc.

You will also notice when you start to draw something a prompt different from the generic AutoCAD prompt thus:

PL <enter> produces an extended range of Object-Snaps for example Gmid seeks the General midpoint between two further specified points while Jmid seeks the midpoint between the ends of two lines.

Drawing commands:

Complex Objects:

Dimension, Text, Leader, Mleader Attribute, Hatch, Bhatch. Insert, Attach, Overlay, Mesh, Table

There is a whole bunch of commands related to Text so they are grouped under T thus just about every command related to Text can be initiated with a two character command alias.

3D objects:

Box, Cone, Cylinder, Mesh, Poly, Sphere, Helix, Polysolid, Pface, Region, Rulesurf, Solid, Tabsurf

Editing commands:

Modify:

Move, Rotate, Scale, Stretch, Extend, Trim, Chamfer, Fillet, Align, Break, Erase, Pedit, Explode, Chprop, Change

Construct commands:

Copy, Offset, Mirror, Array, Divide, Measure, Block

Drawing aids and settings:

Ortho, Snap, Grid, Snapbase, UCS, Osnap, Grips, Preferences, Dwgprops, Grips, Ltscale, Lineweight

Viewing aids:

Zoom, RTZoom, Pan, RTPan, View, Dview, Vports, Mview, Layer, Vplayer, Plan,

Redraw(all), Regen(all). Mspace, Pspace, Ltscale, Psltscale, Tilemode

Utility functions:

Open, New, Plot, Exit, Save/autosave, Undo, U, Redo, Cancel, Oops, Purge, Help.

Properties:

Layer, Color, Linetype, Elev, Thickness, No-plot, (Width - Pline).

Queries:

List, Area, ID, Dist, Status, DIM-status

Workspace & Menus:

CUI, Sheetset,  Customize, Toolbar, Showpalettes, Wssave, Menuload

File commands:

Open, Attach, Dxfin, Olelinks

 

Some common command aliases

Single-character command aliases

Edit commands and some other commonly used commands are assigned single character shortcuts:

-
undo
=
set vars
*
explode
&
group
^
select
¬
stretch
~
stretch
$
style
%
scale
[
architl.
]
custom
/
mirror
\
reverse
|
linetype
+
render
Design C.
action
3
threeD
@
@ttedit
A
Array
B
Block
C
Copy
CR
C/Rotate
D
Dim
E
Erase
G
chanGe
H
Hatch
I
Insert
J
Join
K
breaK
L
Layer
M
Move
MR
M/Rotate
N
reName
O
Osnap
P
Place
Q
Query
R
Rotate
S
Solid
T
Text
U
UCS
V
Viewpoint
W
Window
X
Xref
Y
sYmbols
Z
Zoom
 
 
 
 
 
 
 
 
 
Single-character Command roots

F

Files

G

change

D

Dim

J

Join

L

Layer

P

Place

Q

Query

W

Window

+

render

=

setvars

?

help

 

 

 

Two-character command roots

3D

 3D object

F>

File >out

F<

File<in

 

A selection of Command aliases

Arc

PA

Area

QA

Array

A

attedit

@

Block

B

Blockname

QB

Boundary

PB

breaK

K

Circle

PC

Copy

C

change

G

Dim

D

Dist

QD

Donut

PD

Draworder

VO

Ellipse

PE

Erase

E

explode

*

extend

JE

pFace

PF

Files

F

fillet

J

change

G

group

&

Help

?

ID

QP

Insert

I

Join

J

Break

K

Layer

Y

Leader

TL

Length

QL

Line

PL

Linetype

|

list

QO

Layer

L

Mirror

 /

Plan

VL

reverse

\

Massprop

QM

Mline

PM

Move

M

Mtext

TM

mspace

F12

mvieW

W

rename

N

Offset

PO

Design C.

Osnap

O

pan

Z

Place

P

Pline

PP

Point

PNode

polyGon

PG

pspace

F12

Query

Q

Dist

QD

Qwikdraw

PQ

Ray

PXR

Rectang

PR

redraw

F4

regenall

F5

action…

Rotate

R

reName

N

scale

%

sKetch

PK

Solid

S

stretch

¬ ~

$tyle

$

Text

T

tilemode

F11

Time

QH

Trace

PT

Trim

JT

Units

=U

UCS

U

Undo

-

View

V

Vpoint

VP

vpLayer

WY

vports

W

Window

W

Xline

PX

Xref

X

Layer

L

Zoom

Z

 

 

 

 

 

 

Non-alpha command aliases

~

stretch

¬

stretch

%

scale

/

mirror

\

reverse

*

explode

action…

design c.

$

$tyle

&

group

=

settings

3

3D

|

|inetype

^

select

{

custom

#

cal

+

render

-

undo

@

attedit

 

 

A selection of Layer command aliases

(A dot . indicates an additional <enter>)

(Many commands have both left and right pick option for normal or nested objects)

`L

Layer AutoCAD dialog

L

Layer ACADUI

L.

UILAYERS dialog

L<<

Layer set normal

L.>>

Layer OFF nested

L+

Layer ON

L+X

Layer ON eXcl.

L+*

Layer ON all unfrozen

L=

Layer ON

L=P

Layer ON Previous

L#orL3

Layer ON all unfrozen

L-

Layer OFF

L-X

Layer OFF eXcl.

L.<<

Layer OFF normal

L.>>

Layer OFF nested

L-*

Layer OFF all

L?

Layer list

L?A

Layer list Alphabetically

L?C

Layer list Chrono.

L0

Layer ON THAW SET 0

L*orL8

Layer THAW and ON all

LC

Layer Color

LC*N

Layer Color all by Name

LD

Layer Dialog (UILAYERS)

LE

Layer SET dEfpnts

LF

Layer Freeze

LFX.

Layer Freeze eXcl.

LF*

Layer Freeze all

LGorF7

Layer length

LH

Layer Highlight (Hide all but)

L|

Layer Linetype

LL

Layer Lock

LL*N

later Line-type *all by Name

LM

Layer Make

LN

Layer New

LP

Layer Plot

LP+

Layer Plot ON

LP-

Layer Plot OFF

LR

Layer Resolve

LR+

Layer Resolve add

LR-

Layer Resolve remove

LS

Layer Set

LS

Layer Set Previous

LT

Layer Thaw

LT*

Layer Thaw all

LTP

Layer Thaw Previous

LU

Layer Unlock

LU*

Layer Unlock *all

           

A selection of chanGe command aliases

`G.

chanGe AutoCAD version

G.

chanGe ACADUI version

GFO.

chanGe Field Object

GFC.

chanGe Field Color

GFL.

chanGe Field Line-type

GFS.

chanGe Field Status

GFD

chanGe Field Drawing-type

GFD+

chanGe Field Drawing-type +add

GFD-

chanGe Field Drawing-type –remove

GFV

chanGe Field View

GFI

chanGe Field I.D.

GY

chanGe Layer

GC

chanGe Color – DOES NOT ADJUST LAYER NAME

GC*Y

chanGe Color all byLayer

G|

chanGe |inetype – DOES NOT ADJUST LAYER NAME

G|*Y

chanGe Line-type all byLayer