sacramento city college engineering design...

Post on 30-Jul-2018

214 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

External Commands 1

External Commands

Sacramento City College

Engineering Design Technology

External Commands 2

External Commands

The ACAD.PGP File

External Commands 3

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 4

The ACAD.PGP File

Windows Notepad can be initiated directly from AutoCAD.

Enter the following to open acad.pgp in Notepad:

Command: NOTEPAD

File to edit:

External Commands 5

AutoCAD External Commands

AutoCAD contains 11 external commands in the acad.pgp file.

Catalog DIR /W,

DEL DEL,

DIR DIR,

EDIT START EDIT,

SH ,

SHELL ,

START START,

TYPE TYPE,

External Commands 6

AutoCAD External Commands

AutoCAD contains 11 external commands in the acad.pgp file.

EXPLORER START EXPLORER,

NOTEPAD START NOTEPAD,

PBRUSH START PBRUSH,

External Commands 7

External Commands 8

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 9

AutoCAD External Commands

EDIT.

The command.

START EDIT

The command or program name which is

executed after the command name is typed.

External Commands 10

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 11

AutoCAD External Commands

File to edit:

This is the prompt that appears after the

command is typed.

External Commands 12

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 13

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.

top related