The base engine could look like this;
(command "_.LAYER" "_Thaw" "0" "_ON" "0" "_Set" "0" "")
(while (setq tdef (tblnext "LAYER" (not tdef)))
(setq ln (cdr (assoc 2 tdef)))
(command "_.LAYER" "_ON" ln "_Thaw" ln "")
(princ (strcat "\nLayer " ln " Now Visible"))
(getstring"\nPress Enter To Continue: "))
The order of the layers in this scenario would be in order of the layers creation.
You could make a list of all layers, then sort them alphabetically, then feed it to a similar engine, or have a preset layer list. -David




Reply With Quote
Bookmarks