• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / AutoCAD / Set All Your Objects Properties Back to ByLayer

Set All Your Objects Properties Back to ByLayer

August 4, 2009 by Edwin Prakoso 13 Comments

I don’t like when I receive AutoCAD drawings with the properties overridden to other than ByLayer. It’s a bit hard to distinguish between layers in that drawing. I usually can determine objects layer when I see their color.

There are many ways to change them back to ByLayer. One popular method is to select all objects and set the properties to ByLayer or using Match Properties.

pressing-key.png

But it will be a problem when it has blocks that also have it’s property overridden.AutoCAD actually has a very handy tool for this purpose: SETBYLAYER.

You can type it in command line/ dynamic input or accessing menu modify>change by layer. Or you can find it in home tab> modify panel. Expand the panel and you should see this command like below.

SETBYLAYER command

You can see that this tool will change these properties to ByLayer:

  1. Color
  2. Linetype
  3. Lineweight
  4. Material

By default, this command will change all those properties. However, you can choose only specific properties to change. For example, you want to change the color and lineweight to bylayer, but you don’t want to change the others.

You can also see that this tool can change ByBlock to ByLayer. And you can also change objects inside blocks!

Command: SETBYLAYER
Current active settings: Color Linetype Lineweight Material
Select objects or [Settings]:
Specify opposite corner: 167 found
Select objects or [Settings]:
Change ByBlock to ByLayer? [Yes/No] :
Include blocks? [Yes/No] :
167 object modified.

This is a great tool to implement your CAD standard to a drawing. It won’t take long to restore all properties to ByLayer!

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: AutoCAD

5 2 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

13 Comments
Inline Feedbacks
View all comments
Anco
Anco
5 years ago

okay, you just spared me about 30 minutes for every drawing I have to work with which easily means you will spare me weeks of work in the future.
So thank you soooooo much!!! Do you have more tips and tricks like this one?

1
Reply
ANANDHA BALAJI
ANANDHA BALAJI
8 years ago

sir
How to “replace object color” in all different AutoCAD drawings in a folder without opening all drawings..

0
Reply
Edwin Prakoso
Edwin Prakoso
Author
Reply to  ANANDHA BALAJI
8 years ago

You can try using Scriptpro to run a script on multiple drawings at once. I’ll publish something about this soon.

0
Reply
KenSmith
KenSmith
8 years ago

I’ve used AutoCAD since R14 as a Mechanical Draftsman and never knew about the “Setbylayer” command (or perhaps had forgotten about it). Thank you for this tip! It has helped save hours of work today!

1
Reply
Martin Moran
Martin Moran
10 years ago

Hey, that´s really neat, a bit late but hope get some response anyhow. Well, the thing is somehow I need to change all blocks´ components to ´BY BLOCK´. is there a way to set them altogether at once, just like you happened to mention above? only a bit different…hehe
thanks

0
Reply
Edwin Prakoso
Edwin Prakoso
Author
Reply to  Martin Moran
10 years ago

Hi Martin,

Unfortunately, I don’t think there’s a feature in AutoCAD that does that.

0
Reply
Don B
Don B
12 years ago

omg if only I could have known this 6 years ago. I as well have spend many an hour "fixing" architecutral files to use as XREFs. This saves me tonnes of time, thank you so much.

1
Reply
Paul W
Paul W
12 years ago

that has just saved me 3 hours to change Architects drawings – I owe you about 20 working hours a month. thank you!!

0
Reply
SiLvia Morrone
SiLvia Morrone
14 years ago

Digo… 2010…

0
Reply
SiLvia Morrone
SiLvia Morrone
14 years ago

En Acad 2110 se encunatra igual x línea de comandos! y en Modify. =)

0
Reply
Arni Vidar
Arni Vidar
14 years ago

Hahaha, well, it's sold hours so I guess it's not too bad, but those were some really BORING hours. :)

Thanks again.

0
Reply
Arni Vidar
Arni Vidar
14 years ago

You know… the first thought that came to my head was "You've got to be f#$%$g kidding me!!!!"

LOL, I don't know how many hunreds of hours I've spent on this one project, exploding blocks as much as 10 block layers deep, just to be able to set them all to by layer.

Thank you, thank you, thank you, THANK YOU for this tip! :D

2
Reply
Edwin Prakoso
Edwin Prakoso
Author
Reply to  Arni Vidar
14 years ago

I'm glad you find it useful :) So now you can use that hundreds of hours for something else fun!

1
Reply
wpdiscuz   wpDiscuz

Featured

How to add dimensions in Revit 3D view

You can create a 3D view with dimension in Revit. Using visual effects on this view will make it a stunning image for your presentation!

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz