How can I reset to the previous used current color? I find that this is no problem if the layer is color bylayer, but if the layer is set to a color (rather than bylayer) then the color is not reset. I know if a layer is set to a color then then is bad practice- but there are certain objects in our dwgs that have the same layer but different colors. thanks Russ (defun C:MX1( / ) (setq OldCmd (getvar "CMDDIA") OldLay (getvar "CLAYER")) etc etc etc (setvar "CLAYER" OldLay) (setvar "CMDECHO" OldCmd) (princ) )