See the top rated post in this thread. Click here

Results 1 to 7 of 7

Thread: .pgp File Mystery

  1. #1
    I could stop if I wanted to RevitNinja's Avatar
    Join Date
    2007-09
    Posts
    490
    Login to Give a bone
    0

    Default .pgp File Mystery

    Hi all...have a mystery with my acad.pgp file I'm looking to solve.

    I have a team of 6 people running AutoCAD 2015. We run a third-party program that interfaces with AutoCAD that has its own Ribbon Tab, keyboard shortcuts, etc. We noticed that the program (when loaded) puts its own "acad.pgp" in place by bumping the folder containing it to the top of AutoCAD's support file search path. The folder containing the personally modified .pgp file gets bumped to second slot, which (predictably) disables the user's shortcuts. I know that AutoCAD will use the first .pgp file it encounters in the support file search path, so all of this makes sense.

    I saw this happen on every machine except my own. My user account privileges are no different than anyone else's, but for some reason, my personal .pgp takes precedence over the third-party app's. This is awesome and is exactly what I want to happen, but because I don't know what is causing it, I can't make it happen for the other users.

    Anyone know why the .pgp file in the second slot would take precedence over the one in the first? Thanks in advance.

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,145
    Login to Give a bone
    1

    Default Re: .pgp File Mystery

    In the shortcut for opening AutoCAD 2015 is the Start in: folder the same?
    Does
    Code:
    (findfile "acad.pgp")
    return the same location?
    Tom Beauford P.S.M. - Civil 2019 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

  3. #3
    I could stop if I wanted to RevitNinja's Avatar
    Join Date
    2007-09
    Posts
    490
    Login to Give a bone
    0

    Default Re: .pgp File Mystery

    Running "Findfile" shows that AutoCAD is looking at the personal .pgp in the folder that occupies the second slot.

    The shortcut "Start in:" seems to be looking at the C: drive in a location called Autodesk\AutoCAD 2015\UserDataCache

  4. #4
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,621
    Login to Give a bone
    0

    Default Re: .pgp File Mystery

    Quote Originally Posted by RevitNinja View Post
    Running "Findfile" shows that AutoCAD is looking at the personal .pgp in the folder that occupies the second slot.

    The shortcut "Start in:" seems to be looking at the C: drive in a location called Autodesk\AutoCAD 2015\UserDataCache
    So am I to understand that your Support File Search Path looks something like this:

    1. C:\Custom_Program\Support\
    2. C:\My_Personal_Stuff\
    3. Normal AutoCAD stuff from here down....

    ....and that there is a file named "acad.pgp" in the #1 folder and the #2 folder....
    ....and that (findfile "Acad.pgp" returns C:\My_Personal_Stuff\ ?
    R.K. McSwain | CAD Panacea |

  5. #5
    I could stop if I wanted to RevitNinja's Avatar
    Join Date
    2007-09
    Posts
    490
    Login to Give a bone
    0

    Default Re: .pgp File Mystery

    That's correct. My personally modified pgp resides in the default AutoCAD 'Support' folder, which stays in slot #1 until the third-party app is loaded. Then it is bumped to #2 and replaced by that application's pgp. If it helps, the third-party app is Archibus.

  6. #6
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    3,145
    Login to Give a bone
    0

    Default Re: .pgp File Mystery

    Maybe copy the "User Defined Command Aliases" from your acad.pgp file to the Archibus one and put that folder in slot #1 so you will use it all the time. What other files are in the Archibus folder?

    It would probably be hard to change what Archibus is doing unless it's using a bat, scr, or ini file with the paths included.
    Tom Beauford P.S.M. - Civil 2019 on Windows 10 Enterprise
    Design Analysis - Leon County Public Works/Engineering Wrap [CODE] tags around selected text
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516 Home Page

  7. #7
    Member
    Join Date
    2006-07
    Location
    Portland, OR
    Posts
    28
    Login to Give a bone
    0

    Default Re: .pgp File Mystery

    I was wondering if you checked the .pgp files to see how the new aliases were added. (In the system file)
    Are the aliases in the system .pgp file added to the end under 'user defined' or were they entered manually in line with the built-in aliases?
    ~~~~>~~~~@~~~~>~~~~@~~~~<~~~~
    Elizabeth K.
    Using AutoCAD 2002 - 2017 and Revit 2014 - 2017
    on Windows 7 and 10

Similar Threads

  1. 2012: Linked Structural File with Mystery Walls
    By Mike B in forum Revit Architecture - General
    Replies: 3
    Last Post: 2012-01-27, 03:30 PM
  2. FILLET MYSTERY
    By sandeep_koodal in forum AutoCAD General
    Replies: 11
    Last Post: 2010-11-22, 04:00 AM
  3. Linked File Mystery
    By grudy in forum Revit Architecture - General
    Replies: 7
    Last Post: 2010-10-08, 09:28 PM
  4. ADT 2005 Mystery???
    By troberts.123206 in forum ACA General
    Replies: 0
    Last Post: 2006-10-31, 11:37 PM
  5. VLX Mystery
    By lance.81922 in forum AutoLISP
    Replies: 2
    Last Post: 2005-03-18, 04:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •