AutoCAD 2004 Training Lectures


Lecture 2

 

How to Repeat A Command:-

There are many ways to repeat a command;

Press Enter

In Cursor list, select Repeat.
Press Spacebar.
Type Multiple (enter)

Transparent Commands:-

The commands which can be used while other commands are activated are known as Transparent Commands.
E.g. Pan, Zoom etc

Command Alieses:-

A command alias is an abbreviation that you enter on the command line instead of entering the entire command name.
For example, you can enter c instead of circle to start the CIRCLE command. An alias is not the same as a keyboard shortcut, which is a combination of keystrokes, such as CTRL+S for SAVE.
An alias can be defined for any AutoCAD command, device driver command, or external command.

Changing Command Alias:-

You can change existing aliases or add new ones by editing acad.pgp in Notepad or any text editor that saves files in ASCII format. To open the PGP file, on the Tools.

Menu, click Customize > Edit Custom Files >Program Parameters (acad.pgp). The file can also contain comment lines preceded by a semicolon (;).
Note: - Before editing acad.pgp, first create a backup so that you can restore it later, if necessary.

To define a command alias, add a line to the command alias section of the acad.pgp file using the following syntax:

Abbreviation,*command
Where abbreviation is the command alias that you enter at the Command prompt and command is the command being abbreviated. You must enter an asterisk (*) before the command name to identify the line as a command alias definition.
If you can enter a command transparently, you can also enter its alias transparently. When you enter the command alias, the full command name is displayed at the Command prompt and the command is executed.
You can create command aliases that include the special hyphen (–) prefix, such as those listed here, that access the command line version of certain commands.
BH, *-BHATCH
BD, *-BOUNDAR
Note: - You cannot use command aliases in command scripts. Using command aliases in menu files is not recommended.

If you edit acad.pgp while AutoCAD is running, enter reinit in order to use the revised file. Restarting AutoCAD automatically reloads the file.