I am working with AutoCAD 2012 on a single computer. It appears that the acad.pgp doesn't work. for example when i type DI in command line it refers to:
Command: di DDINSERT
but i have checked the pgp file and in it, the letters DI refer to command DIST. Also in Command Alias Editor they refer to command DIST. I have also tried this:
Command: (findfile "acad.pgp")
and the answer is:
Please help me!
Solved! Go to Solution.
>> Command: di DDINSERT
>> Command: nil
for me the second line looks like you are starting a LISP function. That's my first question mark.
The other question then is: does DDINSERT (called with the complete command-name) work?
- alfred -
after every command alias that I enter that "nil" comes, but the comand works. for example when i insert "a" the result would be:
Command: a ARRAY
Select objects: nil
and the command array goes on. But in acad.pgp "a" refers to Arc. Could any LISP disable acad.pgp and forces its own alias?
>> after every command alias that I enter that "nil" comes
That is absolutly unusual!
Had you opened the ACAD.PGP with a texteditor? Maybe it's now stored with the wrong coding?
- alfred -
I've just opened ACAD.PGP with notepad. The codes are correct! Examples:
>> The codes are correct!
That's not what I ment, it's the coding like ANSI, ASCII, UTF, USC (see >>>this<<<)
BTW: I don't see any spaces that may exist at the end of the line.
Another option maybe that you have some application/tool running that watches for/reacts to command-inputs.
That brings me to:
- alfred -
find the acad.lsp file (findfile "acad.lsp") and put it a side for a while and
see if this helps. if it does? then you got duplicate shortcuts definition and
you need to syncronize them (e.g remove the duplicate definition from acad.lsp)
I didn't undrestand what you ment about coding. :-(
I am using AutoCAD 2012 and not using any other verticals.
About the Applications, How can I understand? If Applications are .LSP files, there is a long list of files in LOADED APPLICATIONS in APPLOAD Dialog Box.
I've not installed any tools other than Express.
>> I didn't undrestand what you ment about coding
Therefor I have hyperlinked a text (in my previous message) where you can read a little bit about it. In short: characters in textfiles can be stored in different ways. The differences are not so big, Notepad knows them and so you won't see a difference. But there may be a difference how AutoCAD sees and interprets the file.
The idea to search your local drive for another ACAD.PGP is quite good, if you have more than one you can try to exchange them (but make sure to backup them before!)
>> About the Applications, How can I understand? If Applications are .LSP files
At least yes, LISP files can build up an application. At least to see some customization as tool or as application is more individual than any defined border between those definitions.
Such tools may be loaded via APPLOAD or via a menu (and then within the MNL-file) or by expanding the ACAD.LSP or ACADDOC.LSP file ..... and a lot more options of how to build it in, even without modifying any file from AutoCAD, just by copying some (well prepared) files into the Plugins-folder may load a tool/an application.
>> I've not installed any tools other than Express.
If you don't have and nobody else have done it I really don't understand why the nil comes up after calling any shortcut. Sorry, for me it looks like there is something playing on top of your AutoCAD.
- alfred -
thank you very much!
now it's over. i found two acad.lsp, one in FONTS directory and one in Acad root. i've removed both and now the pgp file works. that was a great help. thank you very much.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.