In my acad.pgp I have the line:
X, *EXPLODE
However, when I type X to start the EXPLODE command nothing happens.
Command: X
Command:
Command:
I have NO idea why.
Is anybody able to suggest why ?
Solved! Go to Solution.
Solved by Lineabove. Go to Solution.
Solved by j.aaij. Go to Solution.
Yes I did,
Also
1. Changed the pgp file directly.
2. Used Express Tools Alias Editor
3. Edit pgp under the Manage Tab.
Using AutoCAD 2012.
I would say the X does not work.
Explode works OK from the command line.
If I use XP as the alias for Explode it will work.
If I use X as the alias it will not work.
There has to be something about the X which I do not know and I wish to understand why.
I see, dont have autocad with me right now. perhaps a pre-loaded lisp program. lisp supersedes PGP alias command
or have you tied reloading the menus? Oh well. only thing i could do right now is guess
sorry i cant be of more help Lineabove
Well, I thank you for you suggestions.
If I can figure it out I will post.
It is one of those "nagging: things that keeps you up at night.
Ther must be something about the X.
I just do not know what.
Is there a way where I can determine what alias (ie: X) is being used by what lisp
Or even if it is a shortcut key used by windows?
(defun LC (cmd) (foreach i (atoms-family 1) (if (EQ (strcase cmd) I) (print (strcat "Lisp Command found: " i))) ) )
Run this on your command prompt
(LC "C:X")
if its a lisp command it will show the message
"Lisp Command Found: C:X"
pbejse, I tried your suggestion which returned this result.
"Lisp Command found: C:X" nil
So I can rule out a lisp function.
I will start looking at Windows shortcuts and contine my quest.
Your lisp file was very helpful.
Thank you.
i made a code error my friend
add (princ) before the last ")"
It is indeed a lisp file, the message wont appear if its not.
Please rename the attached acad.txt to acad.pgp
Required to do this as "pgp" was not a permitted attachment type.
Please rename the attached acad.txt to acac.pgp
The file extension of pgp is not a permitted extension for an attachment.
This is interesting.
I added the (princ)
This is what I now see when I run.
"Lisp Command found: C:X"
This tells me that there is a Lisp with the name X - correct?
(Or is this referring to the alias command?)
Is it possible to actually list the lisp file on screen?
When I put your Acad.pgp in my support and REINIT the PGP file, then X starts EXPLODE.
On my computer (LC "C:X")
gives:
On my computer (LC "X")
gives:
But, when I load piston.lsp with the command PISTON I get:
(LC "C:PISTON") -> "Lisp Command found: C:PISTON"
(LC "PISTON") ->
You can use FunctionList from Lee Mac for investigation!
Jan.
Thankyou j.aaij
I can confirm (twice now) that I do have a function C;X by using FunctionList from Lee Mac.
All I need to do is go through my lisp which load when I start and figure out where C:X is coming from (and what it is supposed to do and then rename it)
Eureka !!!
Thank you both j. aaij and pbejse for your assistance.
I found the issue.
I had a lisp loading at Startup which contained a global function C:X
I found it by downloading "UltraFileSearch" and scanning my Lisp folder for the text C:X
After finding, I renamed and BINGO... I now have the alias X = Explode.