acad.pgp file doesn't load properly
I have had my own pgp file for years and suddenly it doesn't load properly
I only have one acad.pgp file on my computer (I renamed Autodesk's file).
I have my pgp file's folder at the top of my files: search path list.
Somehow I get the default shortcut list (ie c for circle)
Using the notebook, find file tip (mentioned in other posts) returns the correct folder and file.
The Reinit command doesn't change anything.
I don't have any custom startup items.
I don't have any third party software loaded.
Any ideas why this happens?
Re: acad.pgp file doesn't load properly
Quote:
Originally Posted by
huntbh
I have had my own pgp file for years and suddenly it doesn't load properly
I only have one acad.pgp file on my computer (I renamed Autodesk's file).
I have my pgp file's folder at the top of my files: search path list.
Somehow I get the default shortcut list (ie c for circle)
Using the notebook, find file tip (mentioned in other posts) returns the correct folder and file.
The Reinit command doesn't change anything.
I don't have any custom startup items.
I don't have any third party software loaded.
Any ideas why this happens?
If you open the acad.pgp file as a text file, do your custom aliases show up?
Re: acad.pgp file doesn't load properly
Quote:
Originally Posted by
huntbh
I have had my own pgp file for years and suddenly it doesn't load properly
I only have one acad.pgp file on my computer (I renamed Autodesk's file).
I have my pgp file's folder at the top of my files: search path list.
Somehow I get the default shortcut list (ie c for circle)
Using the notebook, find file tip (mentioned in other posts) returns the correct folder and file.
The Reinit command doesn't change anything.
I don't have any custom startup items.
I don't have any third party software loaded.
Any ideas why this happens?
You tried the (startapp "notepad" (findfile "acad.pgp")) while in your application?
Were your custom aliasess's (aliai ?) :lol: in there?
Re: acad.pgp file doesn't load properly
Have you had a newer version of ACAD installed?
This brings up a good point for a reminder to all CAD users, if you modify your ACAD.pgp put your changes to the bottom of the file so when you get a new version of cad you can just copy your edits from your old PGP file to the bottom of the newer version PGP file. If you transfer the whole file then things will go wonky. I just checked my old 2005 PGP and compared it to my new 2008 PGP file, the setup has very different calls for pretty much every item.
:Cheers:
Re: acad.pgp file doesn't load properly
Quote:
Originally Posted by
andy.manninen
This brings up a good point for a reminder to all CAD users, if you modify your ACAD.pgp put your changes to the bottom of the file so when you get a new version of cad you can just copy your edits from your old PGP file to the bottom of the newer version PGP file.
Another way to approach this problem is to just not edit the PGP file at all. Add your shortcuts to the user defined "acaddoc.lsp" file, as a lisp function. This file is portable between versions without having to copy/paste anything to/from PGP files.
Example shortcut function, defines ZP
Code:
(defun c:zp ()
(command "._zoom" "_P")
)
Re: acad.pgp file doesn't load properly
Thank you for your replies.
I looked at the bottom of the file and found the list of original shortcuts.
I saw that in previous threads, but didn't think I needed to look there.
I don't know how they got there, but after removing them I am back in my comfort zone.
Re: acad.pgp file doesn't load properly
I agree, I haven't changed the PGP for 10 years or more. So much easier to have your own lsp file to load that stuff and it moves that much easier to the next upgrade.