layer color doesn't stick

layer color doesn't stick

jdfnnl
Advocate Advocate
688 Views
8 Replies
Message 1 of 9

layer color doesn't stick

jdfnnl
Advocate
Advocate

I copied a legend of electrical symbols from another drawing and when changing the associated layer color, in time it always seems to snap back to its original color. Any ideas what could be causing this?

0 Likes
689 Views
8 Replies
Replies (8)
Message 2 of 9

imadHabash
Mentor
Mentor

Hi,

Can we have this legend as a CAD dwg file for testing?

Imad Habash

EESignature

0 Likes
Message 3 of 9

cadffm
Consultant
Consultant

Hi,

1. AutoCAD and ACAD LT cannot do this by themselves.

 

2. Which allows the layer color to be changed
Restore Layer State
User-specific extensions and third-party applications

 

(you are talking about an ACI color (color number 1-255) ?

What is the color you like to stick and to what color is it switching back?

Share  the File with the wrong layer color and we take look.

Sebastian

0 Likes
Message 4 of 9

TomBeauford
Advisor
Advisor

Are they blocks? You need to change the color properties of the block objects.

Properties like lineweight and color of block objects can be confusing, but this link explains how they work and why pretty well: https://www.cad-notes.com/layer-0-bylayer-and-byblock/

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes
Message 5 of 9

pendean
Community Legend
Community Legend
@jdfnnl Never seen that happen with only core AutoCAD content: share with us a DWG file that behaves this way, we all use the same tools you do, we should see it happen to us as well.
0 Likes
Message 6 of 9

paullimapa
Mentor
Mentor

When you say copy do you mean xref the legend?

If it’s an xref and you change it’s layer color you have to set visretain to 1 so current layer colors will stick. Otherwise after closing and reopening it’ll snap back to the original xref dwg color. 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 7 of 9

jdfnnl
Advocate
Advocate

Here is a dwg of the legend that contains the 'elec' layer, which in my current drawing keeps snapping back to color 152. I have not noticed exactly when this happens, but I still need to manually change it most times I publish to PDF. The legend was simply pasted from another file, not inserted as a dwg reference.

0 Likes
Message 8 of 9

paullimapa
Mentor
Mentor

well, without the dwg that you copy & pasted this legend in which has the problem, having the legend dwg won't help.

But may I ask why are you copy & pasting when you should be xreferencing which have multiple advantages:

1. any changes in original legend dwg, all other dwgs with this referenced in would automatically update

2. if you already have a block name in the current dwg like "Lighting fixture" that looks graphically different than what's in the legend dwg and you copy & pasted the legend into it, the "Lighting fixture" will now look different.

3. if you already have a Text Style "ARCH_48" in the current dwg and you copy & pasted this legend into it, the Text Style will change and look like your current dwg.

4. if you already have a Layer called "Elec" with a different Color like 3 in the current dwg and you copy & pasted this legend into it, the Elec Layer Color will change to 3.


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 9 of 9

pendean
Community Legend
Community Legend

I made this change in a new DWG file.

 

Closed and opened it a few times. Restarted AutoCAD 2023 and opened it. Even tested it in AutoCADLT, ARCH and MECH variants of AutoCAD. Nothing has changed back to "blue" from the Orange I assigned.

 

So... can you share your destination file here with us too?

 

pendean_0-1677014081001.png

 

0 Likes