Does anybody know/ or has a script to put the xref in gray color. Just by clicking on one button?
No, but how hard is it anyway? Call up layers, select all the xref layers and change the color. Or alternately, type -la Enter c Enter 8 (or whatever color you want to use) Enter xrefname|* Enter Enter Marc
(defun c:xreftogray (/ data name tmp rtn layname) (setq laynames "") (while (setq data (tblnext "block" (null data))) (setq name (cdr (assoc 2 data))) (if (= 4 (logand 4 (cdr (assoc 70 data)))) (setq laynames (strcat laynames "," name "*")) ) ;end if );end while (command ".layer" "c" "8" laynames "") (princ) )
I actually have a lisp routine that will turn all xref layers to any color you want. I f you want it let me know and I will send it to you.