Join Shaun Bryant for an in-depth discussion in this video Working with BYLAYER, part of AutoCAD: Tips & Tricks.
- [Instructor] So here we are again in AutoCAD, ready for another tip and trick to make you that little bit more effective with AutoCAD in the office. It might even make you that little AutoCAD guru for the week, you never know. So we've got a new drawing open for you here. Its PROPERTIES_WorkingWithBYLAYER.dwg, and as the title says, we're looking at the properties of the objects in the AutoCAD drawing, and we're going to look at the ByLayer setting for each of the properties for each of the AutoCAD objects in the drawing.
Now, I'm not going to look at every single AutoCAD object, but we're going to look at some of them, just to see how this ByLayer setting actually works. So, got the drawing open, we're in the Model tab, and we're looking at a nice floor plan with grades, dimensions, walls, doors, windows, and so on. Now, the ByLayer setting is in the Home tab on the ribbon in the properties panel here. So you can see, look, color is ByLayer, line weight, ByLayer, line type, ByLayer. So basically, if I go and select a dimension, let's say that one there, that's now the individual properties there.
Color ByLayer, et cetera, et cetera, like we just mentioned. But what happens if I want to change the individual color of that particular dimension? I don't want it to follow the layer color. So that dimension is on the layer A-ANNO-DIMS, which is the current drafting layer. You can see that in the layers panel at the top of the screen. But what I can do is I can go up here and change the individual object color, so let's change that to say, a yellow, so that it stands out on the drawing. Hit Escape to deselect, and you'll see that dimension is now a yellow color.
Now, if I go and select it, you'll notice in the properties now, can you see, it's got the RGB value 241,235,31. So it's that particular yellow color. So I can change any object color, any object line type, any object line weight, as well. So, let's have a look at how that works. I've done that with some annotation with a dimension. What about if I wanted to change the line type and the color of a particular wall because it hasn't been built yet, for example? Let's pop down here, I've got the office space here.
And you can see this wall here, this lower horizontal wall. I'm now going to change the properties of that wall. So I'm going to select that one, that one, and that one there, and I'm going to change their color, I want them to be a different color. So I'm going to go up here, you'll notice, look, the actual line thickness there, the line weight, is 0.25, so let's change that to ByLayer as well, so that everything is ByLayer. And then what we're going to do is we're going to change the individual color, let's change it to a sort of magenta-y pink, like so. So change the color, and I'm going to change the line type to a dashed line.
I could use a grid line, I could use an overhead line, I'm going to use a dashed line like so. Now, you can kind of see that that's dashed. If I hit Escape a couple of times, the reason that it's a bit continuous still is if I zoom in really close, there's the dashes. So I actually need to change the LT scale. So let's change the LT scale, the line type scale, so that we can actually see that as dashed. So at the moment, it's at one. So, I need to maybe make that line type factor a bit bigger or a bit smaller. Let's type in 50 and see what happens.
As you can see, everything that's dashed now has changed completely. You only want to change it for those walls. That LT scale is global line type scale change. So I'm just going to undo that, and what you do is you actually select these lines, and you can change the individual LT scale by right-clicking, going to Properties, and on the Properties palette, you've got line type scale there. So I'll change it to 50 just for those three purple lines, like that, close the Properties palette, and as you can see, I've now highlighted those beautifully by taking them away from that ByLayer setting.
So if I select that line there, you can see now it's using a dashed line type individually, and a different color. So if I change that one line back to ByLayer, and I change that to ByLayer, it all goes back to the way it was before. If I select that, and I select that, change it all back to ByLayer, it all adopts the properties of the layer that it's on in the Layer Properties Manager. If I zoom out again, find that dimension that I changed, select there, again I change that color back to ByLayer, hit Escape a couple of times, and the drawing is now back to normal.
So I'll just double-click on the wheel of the mouse, zoom extend, and it's like nothing ever changed. But that ByLayer setting is really useful. And if I go into the Layer Properties Manager here, and just bring the palette down into the center of the screen like so, there we go, actually make it a little bit bigger as well so that we can see what we're doing, and just bring these dimensions and bits and pieces and everything out so that that's a bit bigger. You can change the dimensions of any of the columns like that so that you can actually see the names of the layers. So that's dimensions layer. As you can see, it's colored tan, and continuous line type.
And the yellow layer I was using was walls, so if I come down here to S, I've got walls there. You can see I've got wall patterns there as well, and I've got all different layers, and there's an internal wall layer right there. And that's the yellow one that we were using, and again you can see it's got a particular line weight, particular line type, particular color. So when you set to ByLayer, it adopts those properties in the Layers Properties Manager. If you want to individually change them, you go to the Home tab on the ribbon, into that properties panel, and change them individually using the pull-down menus.
I'll close the Layer Properties Manager, and there you go. That's how you can mess around with that ByLayer setting, but also deviate from that ByLayer setting if you need to highlight something in particular on one of your AutoCAD drawings.
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.