I have this lisp routine that toggles a layer on and off. what I would like to do is use it to toggle on and off all layers beginning with...I tried putting an asterik after the layer name but that didnt work...any help would be appreciated. I realize you can do this easily with the command line -layer command but our company uses this in a toolbar as a toggle... (defun C:LXTOPO (/ ldat clr) (setq ldat (entget (tblobjname "layer" "topo")) clr (- (cdr (assoc 62 ldat))) ) (entmod (subst (cons 62 clr)(assoc 62 ldat) ldat)) (princ) )