View Full Version : Change the Color of an Existing Layer to a New Standards Color When Opening an Old Drawing
Drafter_Joe
2015-11-03, 01:56 PM
Hello!
I have done a good amount of searching on different forums for a solution to my problem. My problem is when opening older drawings, the color of a certain layer needs to be changed to a new standard for that particular layer. I already have a function in my acaddoc.lsp file that creates that layer in old drawings if it doesn't exist. If someone can shed some light on this issue, I'd greatly appreciate it!
Thank you for your time and attention!
Drafter_Joe
Hello!
I have done a good amount of searching on different forums for a solution to my problem. My problem is when opening older drawings, the color of a certain layer needs to be changed to a new standard for that particular layer. I already have a function in my acaddoc.lsp file that creates that layer in old drawings if it doesn't exist. If someone can shed some light on this issue, I'd greatly appreciate it!
Thank you for your time and attention!
Drafter_Joe
Why don't you change your routine (in your Acaddoc.lsp) to create the layer even if it does exist?
That way it will change it to the color (and other properties) you want.
Drafter_Joe
2015-11-03, 02:04 PM
Hi Ted!
Doing that would change whatever property I needed to? Hmmm...I'll give that a try.
Thank you!
Drafter_Joe
2015-11-03, 02:11 PM
Why don't you change your routine (in your Acaddoc.lsp) to create the layer even if it does exist?
That way it will change it to the color (and other properties) you want.
Hmmm...That worked! That was quick and easy!
Thanks Ted!
:beer:
Hmmm...That worked! That was quick and easy!
Thanks Ted!
:beer:
You seemed surprised :p
You're welcome, glad I could help.
I too have similar routines that make layer if they don't exist, because they may be within a standard I need to keep them to those properties.
But, as you just found out, if you simply "create the layer", it will over-write ones that do exist with the same name(s), a great way to change /update layers from one standard to another.
:beer::beer:
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.