Changing Layers without changing the properties of curves and lines

How to change objects from one layer to another without changing properties?

For example, I have a few dotted lines, dashed lines with different colors red, yellow, blue, etc. They also belong to different layers. Now I want to take them under the same layer but I want to keep the colors and line type unchanged. Is there any shortcut way to do that?

Here is a script from my library that might help -

Select the objects in question, then run the script. Select the destination layer. The display color, linetype, line width and print color will be transferred from ‘by layer’ directly to the objects themselves and the objects changed to the new layer, those properties will remain unchanged.

ChangeLayerRetainObjProperties.py (1.1 KB)

1 Like