Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been using this lisp I found somewhere on the internet to change a layer color by picking an object on the layer and the color dialog appears and I select new color. This dialog only has index colors though. Does anyone know if this could be modified to also include True Colors?
(defun C:xlc (/ lay col) (setq lay (cdr (assoc 8 (entget (car (nentsel "\nObject on Layer to assign color to: "))))) col (acad_colordlg (cdr (assoc 62 (tblsearch "layer" lay))) nil) ) (command "_.layer" "_color" col lay "") (princ) )
Solved! Go to Solution.