Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

a quick question about a hidden command

3 REPLIES 3
Reply
Message 1 of 4
HullDrafter
362 Views, 3 Replies

a quick question about a hidden command

I tried to create a shortcut on a hidden command "Overkill"

I was using autolisp to shorten the command to "OK". It comes in handy when it is time to clean up my drawings.

When I tried, autocad said "Unknown command "-OVERKILL" "

I thought I had everything correct, any suggestions?

HD

3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: HullDrafter

I've done this myself simply by editing the acad.pgp file or you could use the command alias editor in express tools. I use this little gem all the time. Good luck.

Message 3 of 4
Moshe-A
in reply to: HullDrafter

Hi,

 

OVERKILL is not a standard autocad command, it is lisp it self (from Express Tools) and you can not call a lisp function from (command) function

 

but you can do this:

 

(defun C:OK ()

 (c:overkill)   ; or (c:-overkill) for the command line version 

)

 

not that if express tools will fail to load OK function will fail also and it is better

to verify that Express Tools is memory

Cheers

Moshe

 

Message 4 of 4
HullDrafter
in reply to: HullDrafter

Thank you for the suggestions, I will give them a try and let you know of the outcome.

HD

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report