Colored Drawings

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

Colored Drawings

Unread post by Tera »

I'm having a hard time with layers in drawing and how to print drawings in color.
Here's a test.
A).In bellow image, I've selected blue layer for Area Hatch, but for some reasons, the color is magenta. As you see, there's no magenta color in my layers collection at all.
.
2024-11-06_09-25-17.png
.
B).The following image is what I have on my drawing:
.
2024-11-06_09-28-36.png
.
There's a hatch fill color in magenta (which should be blue), and a line in green. But when I print it with adobe pdf printer, the result is the following :
.
2024-11-06_09-29-51.png
2024-11-06_09-29-51.png (13.55 KiB) Viewed 959 times
.
The isometric is in color, but the top view is in black and white.

Now My questions:
1- Why even if the selected layer is blue, still the hatch fill color remains magenta?
2- Why the top view in pdf file is in black and white. I assume Adobe printer setting is set correctly, because the isometric view is colored.

Ps: SolidWorks 2022 sp5. Used template is iso template coming originally with SW.
A zip containing the test files are attached if you need to take a look.

Thanks for any kind of advice.
Attachments
test.zip
(389.22 KiB) Downloaded 52 times
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

I was able to solve the first puzzle.
I have to select hatch, select Line Color and select a color. Seems that Layer in Hatch property sheet has nothing to do with anything.

I appreciate any help on second question.
thanks.
User avatar
gupta9665
Posts: 407
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 427
x 447

Re: Colored Drawings

Unread post by gupta9665 »

The hatch color is controlled by the layer unless some overwrite it by unchecking the default checkbox in the line color window, and/or selecting a different color. See below image. Once you select the default option, the hatch will use the layer color.
Line Color.png
And I'm getting the correct colors in the PDF. So try toggling the PDF save as setting, and check if that helps.
test - DG.pdf
(107.72 KiB) Downloaded 35 times
Deepak Gupta
SOLIDWORKS Consultant/Blogger
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

gupta9665 wrote: Wed Nov 06, 2024 4:39 am And I'm getting the correct colors in the PDF. So try toggling the PDF save as setting, and check if that helps.
test - DG.pdf
I used "Print", and selected pdf printer.
I didn't use "Save as PDF" because if I do so, the lines in "Sheet Format" are printed in gray, not black.
Is there any setting to make lines in "sheet format" being printed in black, not gray?

thanks.
Frank_Oostendorp
Posts: 221
Joined: Tue Mar 09, 2021 7:25 am
Answers: 3
Location: Netherlands
x 183
x 229

Re: Colored Drawings

Unread post by Frank_Oostendorp »

Tera wrote: Wed Nov 06, 2024 9:14 am I used "Print", and selected pdf printer.
I didn't use "Save as PDF" because if I do so, the lines in "Sheet Format" are printed in gray, not black.
Is there any setting to make lines in "sheet format" being printed in black, not gray?

thanks.
We have the layer FORMAT set to black. The borders and title block lines are set to the layer FORMAT. So save as PDF results in black lines for borders and title block lines.
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

Frank_Oostendorp wrote: Wed Nov 06, 2024 9:33 am We have the layer FORMAT set to black. The borders and title block lines are set to the layer FORMAT. So save as PDF results in black lines for borders and title block lines.
I don't know why SolidWorks makes a simple task so sophisticated.
Mine is the same. The default color for FORMAT layer is black.
But it always prints in gray. As you see, @gupta9665's pdf also has gray borders.
I've set the border and block lines' layer to Format, as suggested.
.
1.png
1.png (6.91 KiB) Viewed 796 times
.
and this is the layer details:
.
4.png
.
But when select "Save as" and from drop down choose pdf, the result is gray.
.
3.png
3.png (15.33 KiB) Viewed 796 times
User avatar
jcapriotti
Posts: 1854
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 29
Location: The south
x 1196
x 1984

Re: Colored Drawings

Unread post by jcapriotti »

@Tera We have never used the "Border" function which was added later. I did find if there is an Automatic Border like in the default template, you must edit it to add it to a layer. When editing the sheet format, selecting it from the graphics area doesn't change the layer it even though it appears to do so.
image.png
Set layer in Property Manager
image.png
Jason
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

With the help of all, specially @jcapriotti, it seems that my problem is solved.
Thanks to all and if you don't mind one more question.

(Though I have a new working method) Back to my original question, does anyone know why printing a sheet in pdf, prints the views(Fills, lines, etc)in black and white?

Thanks again.
User avatar
AlexLachance
Posts: 2177
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2355
x 2010

Re: Colored Drawings

Unread post by AlexLachance »

Tera wrote: Wed Nov 06, 2024 4:54 pm With the help of all, specially @jcapriotti, it seems that my problem is solved.
Thanks to all and if you don't mind one more question.

(Though I have a new working method) Back to my original question, does anyone know why printing a sheet in pdf, prints the views(Fills, lines, etc)in black and white?

Thanks again.
I'm not getting that issue, that's odd.
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

AlexLachance wrote: Wed Nov 06, 2024 4:57 pm I'm not getting that issue, that's odd.
How exactly do you print your drawings in pdf? A step by step please.
And what's your SW version?
And if possible, can you please show a portion of a drawing, printed colored in pdf?

Thanks.
User avatar
Dwight
Posts: 273
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 219

Re: Colored Drawings

Unread post by Dwight »

Tera wrote: Wed Nov 06, 2024 4:54 pm . . . does anyone know why printing a sheet in pdf, prints the views(Fills, lines, etc)in black and white?
Set in Page Setup?
image.png
User avatar
AlexLachance
Posts: 2177
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2355
x 2010

Re: Colored Drawings

Unread post by AlexLachance »

Tera wrote: Wed Nov 06, 2024 7:27 pm How exactly do you print your drawings in pdf? A step by step please.
And what's your SW version?
And if possible, can you please show a portion of a drawing, printed colored in pdf?

Thanks.
Our PDF's are generated through the save process, not the print one, though the settings controlling this are here:
image.png
If you are using Microsoft Print to PDF, then most likely the settings you need to toggle are the page setup that Dwight posted.
User avatar
Dwight
Posts: 273
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 219

Re: Colored Drawings

Unread post by Dwight »

Save as PDF used to have a lot of problems, so we haven't used it in quite a while. I tried it out just now and didn't find much difference. I did find that Save kinda missed the circle arrowhead, made it a little small. That's not an important difference to me, but it does show they aren't the same.

Here's a detail from Solidworks. The lines are too thin because Solidworks scales the lines as you zoom in (I really wish it wouldn't do that):
image.png
image.png (10.49 KiB) Viewed 637 times
Here's the detail using Print:
image.png
image.png (12.55 KiB) Viewed 637 times
Here's the detail using Save:
image.png
image.png (12.72 KiB) Viewed 637 times
Frank_Oostendorp
Posts: 221
Joined: Tue Mar 09, 2021 7:25 am
Answers: 3
Location: Netherlands
x 183
x 229

Re: Colored Drawings

Unread post by Frank_Oostendorp »

Dwight wrote: Thu Nov 07, 2024 8:20 am Save as PDF used to have a lot of problems, so we haven't used it in quite a while. I tried it out just now and didn't find much difference. I did find that Save kinda missed the circle arrowhead, made it a little small. That's not an important difference to me, but it does show they aren't the same.

Here's a detail from Solidworks. The lines are too thin because Solidworks scales the lines as you zoom in (I really wish it wouldn't do that):
image.png

Here's the detail using Print:
image.png

Here's the detail using Save:
image.png
Used Save as PDF for all drawings for almost 25 years. Needed some adjustment from time to time, but has always performed good.
Could you share the file with the variations in PDF results?

I am sure SolidWorks would become unusable if all lines would be scaled during the zoom. :)
User avatar
Dwight
Posts: 273
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 219

Re: Colored Drawings

Unread post by Dwight »

Frank

I don't have all the old issues. We've just been going along doing Print. The comparison I did this morning didn't show much difference.

I do think Solidworks would be more usable if the lines didn't scale in a drawing. Note that I don't mean for editing a model, which is completely different. For a drawing, I think a WYSIWYG view would help save time.

Dwight
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

Dwight wrote: Thu Nov 07, 2024 7:34 am Set in Page Setup?
It's already set to color. As you see, the isometric view in pdf is in yellow which shows the pdf printer side knows about the color. It's only Fill feature that doesn't show as color.

Thanks anyway for your time.
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

Dwight wrote: Thu Nov 07, 2024 8:20 am Save as PDF used to have a lot of problems, so we haven't used it in quite a while. I tried it out just now and didn't find much difference. I did find that Save kinda missed the circle arrowhead, made it a little small. That's not an important difference to me, but it does show they aren't the same.
If you change the color of a line (let's say to red), and print the drawing with a pdf printer (not save as), is the line in red in your saved pdf file?

Thanks.
User avatar
AlexLachance
Posts: 2177
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2355
x 2010

Re: Colored Drawings

Unread post by AlexLachance »

Tera wrote: Thu Nov 07, 2024 5:50 pm If you change the color of a line (let's say to red), and print the drawing with a pdf printer (not save as), is the line in red in your saved pdf file?

Thanks.
If your PDF Printer is not printing correctly, that is what you need to investigate IMO, not SolidWorks.
User avatar
DanPihlaja
Posts: 842
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 805
x 978

Re: Colored Drawings

Unread post by DanPihlaja »

Tera wrote: Thu Nov 07, 2024 5:45 pm It's already set to color. As you see, the isometric view in pdf is in yellow which shows the pdf printer side knows about the color. It's only Fill feature that doesn't show as color.

Thanks anyway for your time.
When you click this button, does anything change?
image.png
image.png (9.98 KiB) Viewed 500 times
I wouldn't expect it to...but just in case...
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
DanPihlaja
Posts: 842
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 805
x 978

Re: Colored Drawings

Unread post by DanPihlaja »

What do you have for this setting in the Adobe PDF printer settings?
image.png
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
DanPihlaja
Posts: 842
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 805
x 978

Re: Colored Drawings

Unread post by DanPihlaja »

Using the Adobe PDF printer, I get the exact same results.
Drawing:
image.png
PDF file:
image.png

I don't use the PDF printer normally..

Let me look at some settings.
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
AlexB
Posts: 498
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 266
x 444

Re: Colored Drawings

Unread post by AlexB »

I am looking into the print-to-pdf functionality and the only printer option I have is "Microsoft Print to PDF" and it doesn't give a lot of configuration options. However, it does print the filled hatched area the correct color.
image.png
User avatar
DanPihlaja
Posts: 842
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 805
x 978

Re: Colored Drawings

Unread post by DanPihlaja »

OK I think that I have it figured out.

Go to your print preview:
image.png
image.png (12.09 KiB) Viewed 481 times
You will notice that your Print to Adobe PDF is the same as the print preview.

Now go to Page Setup:
image.png
image.png (10.55 KiB) Viewed 481 times
If you change drawing color to "Color/Gray Scale" then it prints the colored items according to layer.
But if you leave it on "Automatic" then it ignores layer colors.
image.png
I, however, never use this normally. I was only dabbling in it for this thread.

I normally use "Save as PDF" instead. It seems much more robust.
-Dan Pihlaja
Solidworks 2022 SP4

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

Re: Colored Drawings

Unread post by Tera »

@DanPihlaja
I really appreciate your help and the time you put on this problem.

1- I've already tested both modes of "Color Display Modes". The result is the same.
2- My settings for "Color" tab in Adobe PDF Settings is exactly the same as your image.
3- I had tested "Color/Gray scale" but even though the fills and lines are printed colored, but it wasn't what I was looking for. Here's why:

When you create a new drawing out of any template, the border and title block of the drawing is in a special layer and they are in gray. If you go to edit your Sheet Format, you'll see that they are actually black. But when you end editing sheet format, they change to gray. It's mostly because SW wants to give you a circumstance that you can concentrate on your work. The borders and Title block are grayed out just not to stand out too much, but are there only for the purpose of giving you an imagination of what the end result looks like after being printed.
When you do a "Save as PDF", borders are actually printed in black, not gray.

Now let's go to your suggestion.
If you change the "Drawing Color" setting in Adobe PDF printer to "Color/Gray Scale", the border and Title Block, don't print in black. They are printed in gray.
Am I wrong? Do you really want your borders and title block being in gray when you publish your work as PDF?

thanks again.
Tera
Posts: 225
Joined: Fri Mar 19, 2021 4:58 am
Answers: 2
x 483
x 91

Re: Colored Drawings

Unread post by Tera »

AlexB wrote: Fri Nov 08, 2024 8:48 am I am looking into the print-to-pdf functionality and the only printer option I have is "Microsoft Print to PDF" and it doesn't give a lot of configuration options. However, it does print the filled hatched area the correct color.
What color is your border and title block?
I don't have "Microsoft Print to PDF", but I think the last time I used it, many years back, it prints the border in gray, not black. If you go to edit your Sheet Format, you actually see that the line format for borders is black.

I will test it again though to see if anything has changed since then.

Thanks.
User avatar
DanPihlaja
Posts: 842
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 805
x 978

Re: Colored Drawings

Unread post by DanPihlaja »

Tera wrote: Fri Nov 08, 2024 6:37 pm @DanPihlaja
I really appreciate your help and the time you put on this problem.

1- I've already tested both modes of "Color Display Modes". The result is the same.
2- My settings for "Color" tab in Adobe PDF Settings is exactly the same as your image.
3- I had tested "Color/Gray scale" but even though the fills and lines are printed colored, but it wasn't what I was looking for. Here's why:

When you create a new drawing out of any template, the border and title block of the drawing is in a special layer and they are in gray. If you go to edit your Sheet Format, you'll see that they are actually black. But when you end editing sheet format, they change to gray. It's mostly because SW wants to give you a circumstance that you can concentrate on your work. The borders and Title block are grayed out just not to stand out too much, but are there only for the purpose of giving you an imagination of what the end result looks like after being printed.
When you do a "Save as PDF", borders are actually printed in black, not gray.

Now let's go to your suggestion.
If you change the "Drawing Color" setting in Adobe PDF printer to "Color/Gray Scale", the border and Title Block, don't print in black. They are printed in gray.
Am I wrong? Do you really want your borders and title block being in gray when you publish your work as PDF?

thanks again.

Ahh. I saw the mention of borders. But I didn't notice a difference in mine. Of course, I wasn't looking for it either. Hrmm.

And now when I am testing it, automatic is printing with layer colors. grumph o[

I guess my advice is to switch to Save As PDF. hhhh
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
AlexB
Posts: 498
Joined: Thu Mar 18, 2021 1:38 pm
Answers: 28
x 266
x 444

Re: Colored Drawings

Unread post by AlexB »

Tera wrote: Fri Nov 08, 2024 6:49 pm What color is your border and title block?
I don't have "Microsoft Print to PDF", but I think the last time I used it, many years back, it prints the border in gray, not black. If you go to edit your Sheet Format, you actually see that the line format for borders is black.

I will test it again though to see if anything has changed since then.

Thanks.
Border and title block are set to black in the UI and they printed correctly to black with the "Microsoft Print to PDF" printer.
tate876
Posts: 7
Joined: Thu Nov 07, 2024 10:15 am
Answers: 0
x 1

Re: Colored Drawings

Unread post by tate876 »

For the hatch color issue, it sounds like it could be a problem with how the color settings are set in SolidWorks or how it’s handling the layers. Sometimes, even if you select one color, there can be overrides in place that are causing it to display differently. Double-check if there’s a color override specifically for hatch fills in the settings.
Post Reply