How to edit multiple blocks

How to edit multiple blocks

Anonymous
Not applicable
31,744 Views
8 Replies
Message 1 of 9

How to edit multiple blocks

Anonymous
Not applicable

Hello everyone, so I have an old technical building plan drawing and I need to prepare it for publication, I need to make it easy readable for everyone. The drawing contains maybe several hundreds of different blocks, what I want to do is to set all of those blocks line colors, line weights and line types BYLAYER, and then move those lines to one or several my own created layers, so i then could easily manipulate all of the block lines at once (by just playing with layer properties) and see what suits best and not to go one by one to each block. Any ideas how i could do it? Cheers.

0 Likes
Accepted solutions (2)
31,745 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable

I attach a picture of the plan and a list of many many blocks... But basically there are just maybe 200 doors and each is as a different block. And there are maybe 500 hundred of different blocks if not more.. The wished end result is that all the lines in drawing and in the blocks would be set BYLAYER and i would have like ~5 different layers with different layer properties, like one is darker, another is thicker, so yeah. I hope you get the hook on what i want to do

0 Likes
Message 3 of 9

Alfred.NESWADBA
Consultant
Consultant
Accepted solution

Hi,

 

>> set all of those blocks line colors, line weights

>> and line types BYLAYER

You can use command _SETBYLAYER to get that done.

 

>> and then move those lines to one or several my own created layers

Not sure how that could be done automatically as I see no rule for the system to know which line in the blockdefinition should be moved to which layer...

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 4 of 9

RobDraw
Mentor
Mentor
Accepted solution

As @Alfred.NESWADBA stated, SETBYLAYER will get you started.

 

If the blocks are constructed in a consistent and logical way, merging layers might help out with the second part.

 

No matter what you do, you will probably wind up editing many or all of the blocks definitions individually.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
Message 5 of 9

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> And there are maybe 500 hundred of different blocks if not more..

Have not seen the screenshot before (our posts crossed).

Now seeing your block-names ... are you sure that they are all different? I guess many blocks are the same and only have different block-names because an interface from a none AutoCAD CAD-application wrote it that way.

In that case it first makes more sense to exchange the block-insertions that are equal to be based on the same block-defintion.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
Message 6 of 9

Anonymous
Not applicable

Thank you @Alfred.NESWADBA and @RobDraw, your ideas were useful.

Message 7 of 9

Anonymous
Not applicable

Hello,

lukasinica I searched for a solution that help me to clean faster architectural plans and change color to 252, for example, for all objects at the same time.
I tried setbylayer command but this didn't change color when I selected all objects and changed color to all at once, from color control drop down box. 
So I thought that I need to convert all blocks to byBlock. And I found that it is no simple solution for this.
Finally helped me setbylayer, but after setting color with this command, I selected all layers and changed color to all at the same time to 252, an that worked like magic.


Message 8 of 9

bart_korolN5S58
Explorer
Explorer

Currently using Autocad 2024 - command worked like a charm, thank you very much for this, great tool to have when creating library or adjusting older libraries of blocks to new layers. Cheers!

Message 9 of 9

alejandro_fonseca01
Community Visitor
Community Visitor

@Alfred.NESWADBA  and @RobDraw , I ran into the same problem, both gave great recommendations and save me a ton of time. I appreciate your help.