Abstract: We have learned some basics about Layer in my previous post and learned how to change the color, linetype, and lineweight. Here comes the question: If we change the color of layer, will the color of objects on the layer change accordingly? Let’s explore the following experiment.
Please note that I have included some basic operations of Layer to make beginners learn more about Layer properties.
Change object color using Layer Properties Manager
1.Open Layer Properties Manager, create a new layer “Experiment”
2. Click Color to change it to Red, Click OK to confirm and exit the Layer Properties Manager.
3. Set up the current layer
Can you tell which layer is current layer? Do we have to open the Layer Properties Manager every time we want to do settings to the current layer?
Not really, with the Layer Control from the upper interface as shown in the following picture, we can easily get the layer name and switch between different layers.
As you can see the current layer is the one shown in the Layer Control — — layer 0, we can select other layers in the drop-down menu list to make them the current layer, as shown in the following picture.
Now set “Experiment” layer as the current layer, and all objects drawn later will be added to the “Experiment” layer until you set some other layer as the current layer.
4. Draw a circle and a line.
What we draw is in red color because the “Experiment” layer color is red. That’s to say, we can change the object color by changing layer properties.
5. The color of objects
When we select an object in CAD, the properties panel will list all the properties of the selected object (If the Properties panel doesn’t appear, press CTRL + 1 to activate). Select the circle we just drew and check its properties, as shown in the following picture.
We can see that there is “ByLayer” in the Properties panel, which means that this property of the object will change according to the layer.
6. Drop down the color property as shown in the following picture, you can choose ByLayer or any other color, it’s quite flexible, now change the color to Blue.
7. Create a new layer “Green”, set the color to green.
8. Move the object to other layers.
Select the objects we drew and select “Green” Layer in the drop-down menu in the Layer Control —that’s the easiest way to move an object from one layer to another.
We can see that the circle remains blue because we had changed its color property from ByLayer to Blue in step 6. The line becomes green because we didn’t change its color property and it’s still ByLayer.
We can get the same effect if we change the color of the “Experiment” layer to green instead of move the object. Properties such as linetype and lineweight have similar operations, how about doing some exercise yourself?
Conclusion: some basic operations we’ve mentioned.
- Double-click Name in the Layer Properties Manager can rename the layer.
- The layer shown in the Layer Control is the current layer and all objects drawn later will be added to it. We can change the current layer directly by dropping down the menu
- Selecting an object will activate the Properties panel that shows all the properties of the selected object.
- If the color of an object is set to ByLayer, the object use the same color as the layer it’s on. We can use this to change the color of multiple objects on a layer.
- Please note ByLayer is only one option, we can object color different from its layer, and if we do so, the color property will not change according to the layer color.
- Select an object and then select a layer in the drop-down menu in the Layer Control can move the object to the selected layer.