I posted a query earlier about retreivin the colour information from an object, thankyou everybody for your help, and based on the first reply I wrote the following which sets the current layer and colour to that of the selected object. Tell me what you think, it may not be the most efficient but it works, and I am just learning. (defun c:setla() (setq ss (entget (car (entsel "Please choose an Object:")))) (setq colr (cdr (assoc 62 ss)) lay (cdr (assoc 8 ss)) ) (setq a (null colr)) (setq b T) (if (= a b) (command "-color" "bylayer") (command "-color" colr) ) (command "-layer" "s" lay "") )