I'm incorporating AutoCAD layer descriptions into my standard set of lisp routines. So far this is where I'm at. Sometimes when I run it line by line it will set the description. When ran as is sometimes it doesn't set it at all and I can't figure out why? Plus I'm sure this code can be trimmed down some. I'd also like this code to run on both AutoCAD 2002 and 2005. Thoughts? Oh and Thanks a bunch for taking a look. :) Sage ;(MAKELAYER "TEST" "1" "CONTINUOUS" "" "TESTING TESTING") (defun MAKELAYER (LAYNAME LAYCLR LAYLT LAYWEIGHT DESCRIPTION / ELIST) (setq ELIST '((0 . "LAYER") (100 . "AcDbSymbolTableRecord") (100 . "AcDbLayerTableRecord") (70 . 0) ) ) (setq ELIST (append ELIST (list (cons 2 LAYNAME)))) (if LAYCLR (setq ELIST (append ELIST (list (cons 62 (read LAYCLR))))) ) (if LAYLT (setq ELIST (append ELIST (list (cons 6 LAYLT)))) ) (if (= LAYNAME "DEFPOINTS") (setq ELIST (append ELIST '((290 . 0)))) ) (if (/= NIL (distof LAYWEIGHT)) (setq ELIST (append ELIST (list (cons 370 (atoi LAYWEIGHT))))) ) (entmake ELIST) (if DESCRIPTION (progn (setq LAYER_OBJECT (tblobjname "layer" LAYNAME)) (entmod (append (entget LAYER_OBJECT) (list (list -3 (list "AcAecLayerStandard" '(1000 . "") (cons 1000 DESCRIPTION)))) ) ) ) ) )