|
|
|
Not sure what you're talking about.
If you mean RK's suggestion on the LISP routines, follow his detailed instructions, they do not go in the PGP file.
You place them in a special directory, create an acaddoc.lsp and have them loaded in every session.
You can only re-define commands in the PGP file, not run LISP.
Another option for this is to simply edit the PGP file (instead of using the "alias editor".
Make a copy of it first in case you screw it up.
HTHCode:(startapp "notepad" (findfile "acad.pgp"))
Thanks. I will try the exact instructions. Regarding my question and your alternate instructions, YES I was referring to changing the .pgp file.
I had to download my ACAD software onto my laptop but it didn't include Express Tools so Ill have to get that too.
You don't need express tools if you are just editing the "acad.pgp" file, the "aliasedit" is an express tool that edits it for you.
If you just type on the command line (or copy and paste this line) (startapp "notepad" (findfile "acad.pgp"))
It will bring up your acad.pgp file in notepad, and you change/add alias' as needed at the bottom of the file using the same format the OOTB alias' are.
Once you edit the pgp file, save it, and go into Autocad; then on the command line type "reinit" and select PGP file, you should have your new alias'.
Hope that all makes sense..
Another note.
@tedg 's suggestion of doing (startapp "notepad" (findfile "acad.pgp")) was right on target and this is what I do too.
But there is a GUI element in the stock AutoCAD Ribbon (Manage > Edit Aliases > Edit Aliases) that *should* do the same thing.
No express tools, or remembering code needed.
tn.png
R.K. McSwain | CAD Panacea |
Thanks RK,
That is something I wasn't aware of, interesting.
I don't use the Ribbon, still running 2014 with Classic interface.
I'm curious though, this thread refers to AutoCAD 2011, is that interface available for that release?
I assumed express tools was the only way to get the "alias editor".
Thanks for the added info.
Good point @tedg.
According this this image, it was in 2011 LT, so I'm presuming it was in AutoCAD 2011 also.
But you did make me look
Manage.png
R.K. McSwain | CAD Panacea |
Now I understand that there are 2 parts to the answer. To change Copy to C you just need to change the .pgp file BUT to change the "Zoom, enter, Window, enter" to a single command of "ZW, enter" requires creating a small macro.
So I changed the .pgp file by adding a suffix of .old then created a new one with my new commends added to the end but when I tried to save it, it would not allow me and said I was not authorized. I checked my account type and I am the administrator. Any Thoughts?
1) what folder was the new acad.pgp being created in?
2) There is no need to do 'zoom enter W enter' as a macro... The ZOOM command automatically defaults to Window mode. The "W" option is still there for legacy purposes -- eg those people who have been maintaining the same customization for years.