How to change the color of a single line in a sketch?

Tera
Posts: 227
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 487
x 91

How to change the color of a single line in a sketch?

Unread post by Tera »

I'm trying to change the color of a single line in a sketch to red.
I select the line and then use Line Color button from Line Format toolbar and change its color. As soon as I fully define the line, it turns back to black.

If I first fully define the line and then change its color, it stays in red. But if I exit sketch and turn back to edit something, OR exit Solidworks and re-open the file, it's black again.

Is there any way to keep the color of a single entity?

thanks.
by DanPihlaja » Wed Sep 21, 2022 7:22 am
You have to toggle color display mode off to see a custom color.
image.png
image.png
Go to full post
bearsfeat
Posts: 7
Joined: Fri Sep 02, 2022 10:49 am
Answers: 0
x 2
x 1

Re: How to change the color of a single line in a sketch?

Unread post by bearsfeat »

Hello Tera!
The only thing I can think of is to make a block that only contains the "single entity" you want to be a different color. I am pretty sure you can color blocks individually and they can exist in the same sketch as other entities / blocks. You can also fully define the block so it would behave as if it were "just a line." Hopefully someone else comes up with an easier solution. Please let us know if this works or if you find something better!
-Nate
Frank_Oostendorp
Posts: 223
Joined: Tue Mar 09, 2021 7:25 am
Answers: 3
Location: Netherlands
x 185
x 230

Re: How to change the color of a single line in a sketch?

Unread post by Frank_Oostendorp »

In my versions 2019 and 2022, the line keeps the assigned color, even after fully defining it, or closing, re-opening and modifying the sketch. Might need a re-start? 👍
User avatar
DanPihlaja
Posts: 862
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 815
x 993

Re: How to change the color of a single line in a sketch?

Unread post by DanPihlaja »

You have to toggle color display mode off to see a custom color.
image.png
image.png
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
Tera
Posts: 227
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 487
x 91

Re: How to change the color of a single line in a sketch?

Unread post by Tera »

@DanPihlaja Yes, I know. But I thought it should be ON to show the color mode.
No idea why it should be off to show the colors.

Color Display = OFF --> shows the colors. Isn't it a little strange.

Anyhow, Now I know.
Million thanks for your help.
Problem solved.
User avatar
DanPihlaja
Posts: 862
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 815
x 993

Re: How to change the color of a single line in a sketch?

Unread post by DanPihlaja »

Tera wrote: Thu Sep 22, 2022 2:35 am @DanPihlaja Yes, I know. But I thought it should be ON to show the color mode.
No idea why it should be off to show the colors.

Color Display = OFF --> shows the colors. Isn't it a little strange.

Anyhow, Now I know.
Million thanks for your help.
Problem solved.
Well, I think that they are referring to SYSTEM color display is off....allowing for custom colors.

And no problem. Glad I could help
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
Post Reply