I'm writing a lisp that will completely delete the current layer, and it's coming along nicely. It basically sets the current layer as "vclayer", creates a list of layers in order to get the next and previous layer, if the layer is the last layer in the drawing it goes to the previous layer, otherwise it goes to the next layer, and then it deletes what was the current layer. I've got everything working, except for the most important part: the deleting.
I've tried:
(c:laydel "t" vclayer "" "yes")
(command "c:laydel" "t" vclayer "" "yes")
(command "laydel" "t" vclayer "" "yes")
(command "(c:laydel)" "t" vclayer "" "yes")
...and none of them work.
Keep in mind that I want the layer completely gone...I don't just want everything off of the layer.
Thanks for any help you can give me...
Don