Guide to Using DWG and Other Formats
Guide to Using DWG and Other Formats
Guide to Using DWG and Other Formats

Using a PGP File

The configuration variable MS_DWG_PGPFILE can be set to point to a PGP file that contains shortcuts, or aliases, for AutoCAD commands. If no directory is found, the support directory of an AutoCAD installation (if one exists on the computer) is used. The default is set to acad.pgp, as this is the default file used by AutoCAD.

The format of the PGP file is simple: each line is either a comment (beginning with ; ) or an alias, followed by the command that it initiates. AutoCAD commands begin with *. Therefore , X, *EXTEND defines the alias X for the AutoCAD EXTEND command. In addition to the AutoCAD commands, MicroStation also interprets strings within quotes as standard MicroStation key-ins. For example, PX, “Popset ON” defines the alias PX for the MicroStation key-in command Popset ON.