External_Commands.ppt

Download Report

Transcript External_Commands.ppt

External Commands
Sacramento City College
Engineering Design Technology
External Commands
1
External Commands
The ACAD.PGP File
External Commands
2
The ACAD.PGP File
 External
Commands invoke functions that
are not part of AutoCAD.
 These external commands are defined in a
file called acad.pgp (program parameters).
 This
file is placed in the AutoCAD \Support
folder during the AutoCAD installation
procedure.
External Commands
3
The ACAD.PGP File
 Windows
Notepad can be initiated directly
from AutoCAD.
 Enter the following to open acad.pgp in
Notepad:
 Command:
 File
NOTEPAD
to edit:
External Commands
4
AutoCAD External Commands
 AutoCAD
contains 11 external commands
in the acad.pgp file.
 Catalog
 DEL
 DIR
 EDIT
 SH
 SHELL
 START
 TYPE
DIR /W,
DEL,
DIR,
START EDIT,
,
,
START,
TYPE,
External Commands
5
AutoCAD External Commands
 AutoCAD
contains 11 external commands
in the acad.pgp file.
 EXPLORER
 NOTEPAD
 PBRUSH
External Commands
START EXPLORER,
START NOTEPAD,
START PBRUSH,
6
External Commands
7
AutoCAD External Commands
 The
first word is the command name
which you type at AutoCAD’s Command:
prompt to execute the command.
 The
second word represents the DOS
command or program to be executed.
 Each
field is separated by a comma.
External Commands
8
AutoCAD External Commands
 EDIT.
 The
command.
 START
EDIT
 The
command or program name which is
executed after the command name is typed.
External Commands
9
AutoCAD External Commands
 1.
 Bit
flag value which specifies the way the
program starts.
 Begins an application but doesn’t wait for it to
finish.
 Other settings
 wait
for the application to finish
 minimize the application.
External Commands
10
AutoCAD External Commands
 File
to edit:
 This
is the prompt that appears after the
command is typed.
External Commands
11
The SH and SHELL Command
 SH
or SHELL is similar to the MS-DOS
Command Prompt.
 The
following prompt appears:
 OS
Command: (Enter an external command
or press [ENTER])
External Commands
12
The SH and SHELL Command
 SH
or SHELL is similar to the MS-DOS
Command Prompt.
 Only
one external command can be entered.
 When the command is completed you are
returned to AutoCAD.
 Pressing [ENTER] at the OS Command:
prompt opens an MS-DOS window.
External Commands
13