Change layer colour across layer states.

Change layer colour across layer states.

apstevenson
Advocate Advocate
4,249 Views
17 Replies
Message 1 of 18

Change layer colour across layer states.

apstevenson
Advocate
Advocate

I use layer states to work on different areas of a plan. I have states like print, lighting, graphics, power and so on. If I'm working in power and I change the colour of a layer it does not change colur in the other layer states, and I would like any layer colour chage to be applied across all layer states.

Is there any way to do this?

Thanks.

0 Likes
Accepted solutions (1)
4,250 Views
17 Replies
Replies (17)
Message 2 of 18

pendean
Community Legend
Community Legend

That's all part of your LAYERSTATE setup and what you choose to restore when you call each up: make your changes there to better suit your needs.

 

Capture.PNG 

 

 

 

0 Likes
Message 3 of 18

cadffm
Consultant
Consultant
"If I'm working in power and I change the colour of a layer it does not change colur in the other layer states"

Why should they do it? A layerstate is for restoring "old" settings..
You can only refrain from restoring the (old) colors as it showed pendean.

Or you must edit the color of that layer for each layerfilter.

Sebastian

0 Likes
Message 4 of 18

apstevenson
Advocate
Advocate

Ok, I do get how it works.

What I'm asking is if there is a way to get a change in layer colour to affect all layer states.

It seems it would be useful. I personally use layer states so I can easily switch to different working enviroments. If I change a colour of a layer I would like it to change in all layouts, having to go to each one in turn to change to colour would take me a long time.

If there was another column with tick boxes in Layer States Manager called 'change property in all Layer States', that would be very useful.

My question is whether there is a way to do that.

0 Likes
Message 5 of 18

cadffm
Consultant
Consultant

There is no ootb this function, only layer names updates.

(but you could program an update function)

Sebastian

0 Likes
Message 6 of 18

pendean
Community Legend
Community Legend
Forgive me but on that LAYERSTATE MANAGER pop-up, is there a reason you don't wish to explore the EDIT button on your own?
Or tap that HELP button on that pop-up and find out more about what is on offer with the command on your own?


0 Likes
Message 7 of 18

apstevenson
Advocate
Advocate
I was just asking a question in the hope that someone who knew the answer
might be willing to offer some assistance rather than spend hours trawling
through pages of stuff.

If that's not you, fine.
0 Likes
Message 8 of 18

pendean
Community Legend
Community Legend
Clicking on a button on a pop-up or tapping HELP to read one single page is never a waste of time to learn something new: your fear of just trying it is palpable, so use SAVEAS to create a test file then experiment. This is not rocket science, it is just drafting.

Help yourself my friend.


0 Likes
Message 9 of 18

dominique.spicher
Autodesk Support
Autodesk Support

Hi @apstevenson,

 

I think @pendean and @cadffm already grasped the issue at hand and provided you with the essential  information. As mentioned in the above replies, the layer states are a tool to restore certain layer

settings. This essentially means each layer state has no connection to the other layer states, therefore changes made in one are not applied to others.

 

Although not possible within the general AutoCAD functions, you could try your luck in the AutoCAD Customization Forum, if other crafty users got a solution for your inquiry.

 

I hope this  wraps up this topic. If there are any further questions regarding this, just let me know.

 

Cheers.

______________________________________________________________________

Ihr fandet einen Beitrag hilfreich? Dann vergebt dafür Likes!
Eure Anfrage wurde erfolgreich gelöst? Dann einfach auf den 'Als Lösung akzeptieren'-Button klicken!


Dominique Spicher
Global Product Support
0 Likes
Message 10 of 18

apstevenson
Advocate
Advocate

Thanks Betreff. Before I get involved with customisations can I check that they are possible with AutoCAD LT rather than full CAD?

0 Likes
Message 11 of 18

dominique.spicher
Autodesk Support
Autodesk Support
Accepted solution

Hey @apstevenson ,

 

now that you mentioned it, I completely overlooked that this thread is in the AutoCAD LT Forum.

So to be completely honest - no these can't be applied to AutoCAD LT.

 

Sorry to get your hopes up. Basically, this means a bit of manual labor for you, changing the color in the layer states you currently are using.

 

Cheers.

______________________________________________________________________

Ihr fandet einen Beitrag hilfreich? Dann vergebt dafür Likes!
Eure Anfrage wurde erfolgreich gelöst? Dann einfach auf den 'Als Lösung akzeptieren'-Button klicken!


Dominique Spicher
Global Product Support
0 Likes
Message 12 of 18

cadffm
Consultant
Consultant

No or better: It isn't easy.

 

1. (Only) You know exactly what you need and how the workflow and standards is in your enviroment,

    but you don't know which solutions are possible and if they get close enough to your "perfect 100% wish"

 

2. (Only) We know possible solutions, but we don't about your workflow, standard and enviroment,

    so we can not say there are solutions which are close enough to your "perfect 100% wish" for you.

 

 

I am pretty sure: There is no way so simple like uncheck the COLOR-Property by restoring your layerstates.

 

If you are talking about only known layerstates (everytime everywhere the same names),

and thats all Modelspace-states:

 

Do you want to Update all layer colors to the current colors?

 

I would try these steps:

1. Save current state as "tmpstate"

2. For all my known layerstates:

    Setq Color-flag to No, restore this state, save this state.

3. Set "tmpstate" current, delete them.

 

The result should be only the colors refreshed.

 

 

Do you want to Update only the color for one layer ?

 

 

I would try these steps:

1. Save current state as "tmpstate", ask user for Layername and color (and save this answers)

2. For all my known layerstates:

    Setq Color-flag to No, restore this state, setq Layer color for this one layer to the color of your choice, save this state.

3. Set "tmpstate" current, delete them.

 

 

 

And again: I am pretty sure: There is no way so simple like uncheck the COLOR-Property by restoring your layerstates.

Sebastian

0 Likes
Message 13 of 18

apstevenson
Advocate
Advocate

Thanks for this. I'll have a look into your suggestions and let you know how I get on. Much appreciated.

0 Likes
Message 14 of 18

danawebster
Observer
Observer

Is there such a thing as a Default later state or not being in one,

If I make a layer state, Change a few colors, on and off, etc.  and then save, but

then want to start another one, how can i revert back to where I was before I made the new state, and then save another new layer state , starting from my original colors. etc.?????????

0 Likes
Message 15 of 18

pendean
Community Legend
Community Legend
@danawebster the software has no ability to 'revert back" to something you edited and changed.
Looks like you needed two layerstates, an original that remains as is, and a copy to edit to reflect new desired settings.

HTH
0 Likes
Message 16 of 18

danawebster
Observer
Observer

I thought so, 

So my Plan is before making any Layer States, Set up all Layer settings, COLOR, linetype, etcetera and save my 1st layer state as "Default All On Layer State", 

then

 

turn off and on, colors etc, from the Layer Manager, and then save my new state, for Example "ALL OUTSIDE WALLS"

Then 

restore the Default, and Turn on only the inside walls and set the layer setting like color etcetera, then save" All INTERIOR WALLS"  then repeat

 

Each time after making a layer state, restoring default each time.

 

Will this work???????

 

0 Likes
Message 17 of 18

pendean
Community Legend
Community Legend
That looks to be the correct methodology.
Message 18 of 18

danawebster
Observer
Observer
Thanks for the Feed back, I tested it , It Worked!!!!!!!