TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: One Shot on April 22, 2005, 06:11:44 PM

Title: Kill Ashave again
Post by: One Shot on April 22, 2005, 06:11:44 PM
When I load this lisp and I get this "Unknown Command".  I have checked the path and it is correct.  Can someone enlighten me on how to make it work?

Code: [Select]

(defun C:KILLASHADE()
   (command "-layer" "U" "ASHADE" "")
   (command "_.erase" (ssget "x" '((8 . "ASHADE"))) "")
   (command "_.purge" "B" "AVE*" "N")
   (command "_.purge" "LA" "ASHADE" "N")
)



Thank you,

Brad
Title: Kill Ashave again
Post by: Kerry on April 22, 2005, 07:16:41 PM
works for me ..

when do you get the message ?


load it again and try to run it, then post your commandLine output.
Title: Kill Ashave again
Post by: One Shot on April 22, 2005, 07:18:49 PM
I got it to work.  The first time I must have loaded the wrong lisp.  But it works.

thank you,