Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki AutoCAD PGP Files
    • Sign in

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • -DWG - MicroStation
          • +Dimensions - DWG - MicroStation
          • +Edit - DWG - MicroStation
          • -General - DWG - MicroStation
            • 3D LineStrings are becoming planar when saved to DWG
            • AutoCAD PGP Files
            • Bentley CONNECT Edition - Autodesk RealDWG(TM) FAQ
            • Bentley V8i (SELECTseries 4) - Autodesk® RealDWGâ„¢ 2016 FAQ
            • Bentley V8i - Autodesk RealDWG(TM) FAQ
            • Cannot Copy/Paste Block from DWG to DGN
            • Cannot open Civil3D DWG fully in Microstation.
            • Civil 3D 2022 Object Enabler failure message when opening DWG files
            • Crash when opening any file - Windows error message
            • Creating a DWG Viewport using MicroStation
            • DGN - DWG Terminology
            • DGN reference files in DWG work mode
            • Disable autosave for DWG/DXF files
            • Display of some text in DWG viewports is not scaling correctly
            • DWG DXF Units Alert Box
            • DWGs created in AutoCAD Plant 3D cannot be displayed as Solid
            • Enable "RealDWG 2016" Update for DWG 2015/2016 format in SS3/SS4
            • Having saved my DGN to DWG why am I seeing duplicate Layers with ( Construction )
            • How to attach an ECW raster image to a DWG file within MicroStation?
            • How to download Autodesk REALDWG
            • How to get the DWG units alert box back
            • How to store DWG settings that will be used on a number of files.
            • In a DWG drawing with clipped reference
            • Line Styles And DWG Files
            • Line styles from reference appear as style Continuous
            • Microstation J support for AutoCAD 2004/2005
            • OHM symbol in blocks in DWG is not displayed correctly in V8i
            • Open views do not retain open after closing and reopening DWG
            • Option Save relative path in MS XM when working with DWG is not available
            • Place line string using ACAD line type
            • Prefix \ not working for DWG key-ins
            • RealDWG(TM) [TN]
            • Reference DXF into DXF capability
            • Referencing 3D DWG files to 2D design files elements are not correctly display
            • Supported AutoCAD Keyins
            • When in a DWG the sheet model does not show linestyles
            • Which MicroStation version supports which DWG/DXF version formats?
            • Will MicroStation support the .dwf format?
            • Would like to set up Workspace so DWG/DX...
          • +Open - DWG - MicroStation
          • +Raster - DWG - MicroStation
          • +Save - DWG - MicroStation
          • +Text - DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • +UI Customization - MicroStation
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    AutoCAD PGP Files

      Product: MicroStation
      Version: V8.1 and above
      Environment: N\A
      Area: DWG
      Subarea: General

    Document Information

    Document Type: TechNote 

    Legacy Document Number:  8354

    Overview

    The .pgp file is a text document that contains 240 shortcut commands used in AutoCAD. These shortcut commands allow the AutoCAD user to enter the corresponding letter or group of letters in the command line to initiate a tool, rather than searching for and selecting the corresponding tool icon. For example, enter the letter "c" in the command line, and the place circle tool is initiated.

    While MicroStation has always had the key-in browser that functions in much the same way, many users have requested the ability to use these AutoCAD commands in MicroStation. Support for these files was implemented in MicroStation V8.1. The user now need only enter the required prefix and the corresponding letter in the key-in browser to initiate the tool. For example, entering \c will initiate the Place Circle tool. (It should be noted that not all 240 native AutoCAD shortcut commands work in MicroStation.)

    The prefix must be used in the key-in to differentiate between a MicroStation command and an AutoCAD .pgp file command. By default, the prefix is "\". This can be changed by the user by going to Workspace > Configuration > DWG/DXF > DWG Command prefix. You can change the "\" to almost anything you wish.

    The .pgp file to be used is controlled by the MS_DWG_PGPFILE variable. By default, this variable points to the AutoCAD\Support directory if AutoCAD is installed on the computer. If it is not installed, or if you wish to use a different .pgp file, reset this variable to point to the .pgp file that is to be used.

    Important Note: MicroStation does supports the use of these files now, however, Bentley and its affiliates WILL NOT supply users with a .pgp file. These are strictly AutoCAD files that are merely supported in MicroStation.

    Along with the AutoCAD commands, MicroStation commands may also be added to the .pgp file for use in MicroStation. To create a shortcut key-in for this command, open the .pgp file. In the list of shortcuts and commands, you will notice the shortcut command followed by a comma, then the corresponding command prefixed with *. Note that the Circle command shortcut looks like this: C, *CIRCLE Thus, \C entered into the key-in will start the Place Circle tool.

    This format should be followed for any MicroStation commands to be added with one exception. Instead of the * prefix, the MicroStation key-in command should be enclosed in quotes and the * is not used, but word spaces may be used. For example, the MicroStation key-in used to open the Level Display dialog box is leveldisplay dialog open. To add a shortcut for this command, add the following line to the list of shortcuts in the .pgp file: LD, "LEVELDISPLAY DIALOG OPEN"

    Save the file and start MicroStation. In the key-in browser enter \LD. The Level Display dialog box will open. You may choose any combination of letters for the shortcut as long as that letter or letters is not already defined in the .pgp file.

    See also

    Other language sources

      Original Author: Bentley Technical Support Group
    • MicroStation V8
    • TechNote
    • TN8354
    • Share
    • History
    • More
    • Cancel
    • Dan Koval Created by Bentley Colleague Dan Koval
    • When: Fri, Sep 6 2013 9:35 AM
    • Andrew Bell Last revision by Bentley Colleague Andrew Bell
    • When: Wed, Jun 12 2019 9:30 PM
    • Revisions: 2
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies