Need To Change All Properties To By-Layer

Need To Change All Properties To By-Layer

omorah
Collaborator Collaborator
178 Views
4 Replies
Message 1 of 5

Need To Change All Properties To By-Layer

omorah
Collaborator
Collaborator

AutoCAD 2025.1.2


Many times I get files to use as Xrefs. Many of these files would come with nested Xrefs, block inside a block.

With my drawing, I normally create a Paper Space View Port, and have everything inside the View Port (in Model Space) to color 253, to print light, which shows existing properties. Since the Xrefs has some blocks inside a block, with some properties by color, changing the whole Xref to be By Layer will not work.


I remember coming across a LISP that will change all properties of a file, including block, to By Layer. I could not find where this file got saved; kinda careless of me. I spend so much time digging inside the received file to change everything to By Layer, by exploding everything. 😥.


To help out, am attaching a part of the file for any help I can get. My goal is to have everything in Model Space, or though the View Port to the Model Space, to be color 253.


Cheers

 

0 Likes
Accepted solutions (2)
179 Views
4 Replies
Replies (4)
Message 2 of 5

Moshe-A
Mentor
Mentor
Accepted solution

@omorah  hi

 

Explore SETBYLAYER command.

 

Moshe

0 Likes
Message 3 of 5

Kent1Cooper
Consultant
Consultant
Accepted solution

@Moshe-A wrote:

Explore SETBYLAYER command.


... and the SETBYLAYERMODE System Variable, if you want to [for example] change only the color of objects.

Kent Cooper, AIA
0 Likes
Message 4 of 5

omorah
Collaborator
Collaborator

Thank you!

0 Likes
Message 5 of 5

omorah
Collaborator
Collaborator

Thank You!

0 Likes