View Full Version : PGP file in 2007
whteglve
30th Jan 2007, 10:47 pm
I searched, maybe not hard enough, but I did search and I can't find anything on my problem. The problem is that I've already edited my pgp file for 2007, but I can't get it to work. I've done a "reinit" and restarted AutoCAD. It seems as like it doesn't want me to change it. Has anyone had this problem?
StykFacE
30th Jan 2007, 10:57 pm
what exactly were you editing?
whteglve
30th Jan 2007, 11:17 pm
I was changing the "D" started the dimlinear command, like this:
D, *DIMLINEAR
DAL, *DIMALIGNED
DA, *DIMANGULAR
and a handfull of others.
Alan Cullen
30th Jan 2007, 11:30 pm
Your really shouldn't change any of the shortcuts.....just add the new ones you prefer to the end of the pgp file under the -- User Defined Command Aliases -- section. they will take precedence over any others in the file.
The other alternative is to add the following code to your acaddoc.lsp...
(defun C:LL()(command "Dim" "Lea"))
(defun C:VE()(command "DIM" "ver"))
(defun C:HO()(command "DIM" "hor"))
(defun C:AL()(command "DIM" "ALIGNED"))
(defun C:AN()(command "DIM" "ang"))
(defun C:OR()(command "DIM" "ord"))
(defun C:RD()(command "DIM" "rad"))
(defun C:RO()(command "DIM" "rot"))
Obviously change the C:LL (the LL part) to whatever you want the shortcut to be..... :)
Cad64
30th Jan 2007, 11:43 pm
I searched, maybe not hard enough, but I did search and I can't find anything on my problem. The problem is that I've already edited my pgp file for 2007, but I can't get it to work. I've done a "reinit" and restarted AutoCAD. It seems as like it doesn't want me to change it. Has anyone had this problem?
You probably have more than one pgp file on your computer. Do a search of your system, for acad.pgp, with the windows search function on the start menu.
dbroada
30th Jan 2007, 11:49 pm
remembering that many of the support files (at least for 2006) are in hidden folders.
whteglve
31st Jan 2007, 02:41 pm
I've found all of the pgp files and changed them. I still can't get the changes to work in AutoCAD. I have "show hidden files" turned on. Could it be another type of file?
dbroada
31st Jan 2007, 02:48 pm
have you made sure that each alias is used only once?
whteglve
31st Jan 2007, 02:57 pm
Yep! I just figured out the trick to it. You can't add or changes OUTSIDE of AutoCAD, like finding the file and changing it. It works if you change it INSIDE of AutoCAD. By going to "Tools>Customize>Edit Program Parameters". Thanks for the help guys.
Powered by vBulletin™ Version 4.1.2 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.