13
External Commands 1 External Commands Sacramento City College Engineering Design Technology

Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

  • Upload
    vankien

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

External Commands 1

External Commands

Sacramento City College

Engineering Design Technology

Page 2: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

External Commands 2

External Commands

The ACAD.PGP File

Page 3: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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.

Page 4: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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:

Page 5: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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,

Page 6: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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,

Page 7: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

External Commands 7

Page 8: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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.

Page 9: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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.

Page 10: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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.

Page 11: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

External Commands 11

AutoCAD External Commands

File to edit:

This is the prompt that appears after the

command is typed.

Page 12: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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])

Page 13: Sacramento City College Engineering Design Technologymedia.scc.losrios.edu/FitzpaK/310/310_PPT/External_Commands.pdf · Sacramento City College Engineering Design Technology

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.