How would I use co1 in a routine to change a layer? I want to change the layer of the line selected to clayer. (setq co1 (objsel " * Select First Line *")) ;;code by Dan <no last name> ;;code taken from Corner Notch routine posted eariler today. (defun objsel ($prompt / ent obj) (setq ent (car (entsel $prompt))) (if (/= ent nil) (setq obj (vlax-ename->vla-object ent)) (princ " * No Object Selected *")) obj ;returns result for use in calling program ) Gary