Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Check original color of layer in xref

21 REPLIES 21
Reply
Message 1 of 22
BMcAnney
428 Views, 21 Replies

Check original color of layer in xref

Hello all,

I am looking for a way to access the original color of a layer an xref
drawing. For example, you have an xref in your drawing. In the drawing you
change the xref layer color to something else. What I want is to access the
original color, as it stands in the xref drawing currently.

Once I can do this, my goal is to create a quick lisp that will let me pick
a particular layer, and restore it to it's default xref color. Kind of like
setting VISRETAIN to zero for that particular layer, temporarily.

Anyone know how I would go about this?

Thanks!
Brent McAnney
21 REPLIES 21
Message 21 of 22
Anonymous
in reply to: BMcAnney

Tim,

I think Autodesk could easily provide a set of options under reload xref similar to
the options for a saved layer state. Visretain on/off is a blunt club in comparison.
Which I guess was your point. 🙂

Joe Burke

wrote in message news:4945339@discussion.autodesk.com...
It kind of is, with "visretain" and reloading, but IMO, it does too much. All I want
to reload would be the color and the linetype. Maybe if I didn't plot bycolor, then
I would want the plot style to get refreshed also, but for now I don't care about
that stuff.

My 2 cents.
Tim
Message 22 of 22
t.willey
in reply to: BMcAnney

Yea, pretty much. Once I learned about the effects of visretain, I try to stay away from changing it, unless it is 0. That is why I wrote my little routine. =D

Tim

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost