Xref to Gray color
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Xref to Gray color

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
Tim Robben
Guest





Posted: Mon Dec 06, 2004 9:05 pm    Post subject: Xref to Gray color Reply with quote

Does anybody know/ or has a script to put the xref in gray color. Just by
clicking on one button?

Back to top
Marc Clamage
Guest





Posted: Mon Dec 06, 2004 9:35 pm    Post subject: Re: Xref to Gray color Reply with quote

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
"Tim Robben" <timrobben@wanadoo.nl> wrote in message
news:41b4834e$0$97443$b83b6cc0@news.wanadoo.nl...
Quote:
Does anybody know/ or has a script to put the xref in gray color. Just by
clicking on one button?
Back to top
Jim Claypool
Guest





Posted: Tue Dec 07, 2004 3:13 am    Post subject: Re: Xref to Gray color Reply with quote

(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)
)

"Tim Robben" <timrobben@wanadoo.nl> wrote in message
news:41b4834e$0$97443$b83b6cc0@news.wanadoo.nl...
Quote:
Does anybody know/ or has a script to put the xref in gray color. Just by
clicking on one button?


Back to top
Frank Burns
Guest





Posted: Mon Dec 20, 2004 9:48 am    Post subject: Re: Xref to Gray color Reply with quote

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.
"Tim Robben" <timrobben@wanadoo.nl> wrote in message
news:41b4834e$0$97443$b83b6cc0@news.wanadoo.nl...
Quote:
Does anybody know/ or has a script to put the xref in gray color. Just by
clicking on one button?

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB