I have the following lisp that has worked fine on all versions prior to 2015, can anyone tell me why it won't work now and what I would need to modify to get it to work.
;--------------------------------------------------------------------------
(defun c:gl (/ LAYER)
(setq LAYER
(cdr
(assoc 8
(entget
(car
(entsel "Pick item for new layer "
))))))
(command "-LAYER" "SET" layer "")
)
(setq onck 0)
Solved! Go to Solution.
Solved by David_W_Koch. Go to Solution.