(defun c:test
(/ a b ly ss u
) ;; Tharwat 06.May.2014 ;;
;; altered for list-of-lists approach by Kent Cooper 14 May 2014 ;;
(setq ly '
(("Layer1" 0.5) ("Layer2" 0.75) ("Layer3" 1.5))) (list '
(0 .
"INSERT,CIRCLE,ARC,ELLIPSE,*LINE,RAY,HATCH,REGION") ;; [added RAY,HATCH,REGION (people should avoid Hatching on non-continuous-linetype
;; Layers, but they do honor linetypes and linetype scale) -- any other possibilities? Leaders
;; and Dimensions honor linetypes, but for some reason not linetype scale.]
) ; list
) ; ssget
) ; setq
;; RJP - 5.5.2017 removed vl & added nested items
)
)
)
)
)
)
) ; while
) ; lambda
-1
)
) ; if
)