Change all objects to a new layer & keep properties such as linetypes

Change all objects to a new layer & keep properties such as linetypes

Anonymous
Not applicable
4,521 Views
3 Replies
Message 1 of 4

Change all objects to a new layer & keep properties such as linetypes

Anonymous
Not applicable

Hello

 

I need to Change all objects (in different layers) to a new (and single) layer and keep the existing properties like `linetypes' etc that are in properties of a layer.

Brief Description:

1. Create a New Layer (to accomodate the unwanted/changing layers)

2. For some reason some entities such as linetypes do not keep their original properties when the Change layer command is completed.

 

Is there a command that will change layers keeping their original properties ?

 

Thankyou

 


 

0 Likes
4,522 Views
3 Replies
Replies (3)
Message 2 of 4

mnorris843
Enthusiast
Enthusiast

the lines change linetype because their linetypes are associated "by layer" in the properties tab when you select them.

I dont believe there is a command that will keep them the same linetype.

 

You'll probably have to go thru all of the lines and change their linetype to whatever you want before you change the layer. 

0 Likes
Message 3 of 4

pendean
Community Legend
Community Legend
Ask in the LISP forum for a customization that will override bylayer settings to your objects so you can do what you want https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1
0 Likes
Message 4 of 4

gotphish001
Advisor
Advisor

When you switch an object from one layer to another it will keep all the overrides.  So to do what you want to do you could:  Select everything on a layer that you want to move over. Change all the properties that you want to keep to an override. Like if it's a hidden linetype in the old layer set by layer, change it to hidden linetype as an override. It already is that so nothing will change.  Then change the layer to the new layer. It will keep the override.



Nick DiPietro
Cad Manager/Monkey

0 Likes