Using Layers to Change Colors
From time to time I am asked how to change the color of a specific component in a drawing view. For example, you might want to show one of the components in an assembly drawing view in the color red and all the others as the default black. This can be easily accomplished using layers.
Using either the Line Format toolbar or the Layer toolbar, click Layer Properties.
In the dialog box that appears, create a new layer and set the color of the layer to red. Click OK when finished.
Right-mouse click on the component you want to display in the red color and select “Change Layer” from the pop-up menu. Then select the name of the red layer.
Or, you can click on the component you want to display in the red color and click the “Change Layer” button on the Line Format toolbar. Then select the name of the red layer.
You can also click on the component you want to display in the red color and click the layer name dropdown on the Layer toolbar. Then select the name of the red layer.
All of these methods make it simple to change the color of a component in an assembly drawing.
Considering Only One View
What if you only want to change the color of a component in one view, not all views?
For this, right-click the component you want to change in the view you want to change it. On the pop-up menu, choose Component Line Font.
In the dialog box that appears, clear “Use document defaults.”
At the bottom of the box, there is a place to select what layer you want the component to use. Select the newly created layer.
Select the option “From Selection” to make the change apply only to the selected view. Click OK when finished.
Now you have one drawing view with one red part.
We hope you found this how-to helpful! Now you have a few go-to options when changing component colors.
This blog is authored by John Setzer, GSC’s Training Product Manager. John discovered his love of teaching early in life. He worked his way through college as a youth coach, umpire, and referee before earning his bachelor’s degree in education. As Training Manager at GSC, he has been sharing his SOLIDWORKS wisdom with GSC customers ever since – 21 years and counting! John is a Certified SOLIDWORKS Expert (CSWE), a Certified SOLIDWORKS Instructor, and a Certified SOLIDWORKS Technician. As the only CSWE with a state certification in teaching, John is well-versed is teaching all types of learning styles. John is a regular contributor to the GSC blog, available at www.gsc-3d.com/articles.