More stuff:
;; Layers delete by Leemac
;; http://www.theswamp.org/index.php?topic=40745.msg460267#msg460267
;; It will Thaw / Unlock / Turn On the layer (if it exists), then iterate over all blocks in the drawing
;; (including Modelspace / Paperspace blocks), then, for each block, will iterate over all objects in
;; the block. If the object resides on the layer in question, the object will be deleted.
;; Finally, the function attempts to delete the layer from the layer collection.
;; http://cadtutor.net/forum/showthread.php?t=14393
;; move objects to new layer, delete old layer
;|
* Change all entitites lied on layer with old-name to a layer named new-layer
* Tried to erase old-name layer
* Call parameters:
* old-name old layer name. Supports wild-cards in name
* new-name new layer name.
|;