Creating a "table" to show what colors mean

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
User avatar
CarrieIves
Posts: 163
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 377
x 136

Creating a "table" to show what colors mean

Unread post by CarrieIves »

We use color to show where different surface finishes or textures are applied on injection molded parts. We have been creating a table, adding sketched boxes slightly inset, adding solid hatch, and changing the hatch color. The image below shows what this looks like on from one of our drawings. We place a shaded color view on the drawing near the table. We can export the STEP with color.

If we then need to copy this to a similar drawing, the table copies and the sketches will copy, sometimes we get the hatch to copy. The hatch doesn't come in the right color.

Today I made what appears to be a table (with sketch lines) and notes to make a similar appearing table. I created this in an empty view. I found that I can copy the whole view to a new drawing and the colors tag along.

Is it possible to save this drawing view to my library like a library feature? It looks like it is trying, but doesn't appear to save?
Would you make this into a block?
We may want to add or remove lines which is why I am reluctant to make it into a block.
Or, I could just have a drawing that we all know to go to and copy this view from.

What are your recommendations? We have only 5 MEs in our local group, but may be adding two more from another division of our company.
image.png
by josh » Wed Jun 12, 2024 8:46 pm
If you don't mind the color not being absolutely continuous, you could use this table. It just uses the character █ in a colored font.
image.png
Go to full post
User avatar
josh
Posts: 295
Joined: Thu Mar 11, 2021 1:05 pm
Answers: 16
x 22
x 508

Re: Creating a "table" to show what colors mean

Unread post by josh »

If you don't mind the color not being absolutely continuous, you could use this table. It just uses the character █ in a colored font.
image.png
Attachments
ColorTbl.zip
(1.45 KiB) Downloaded 39 times
User avatar
Glenn Schroeder
Posts: 1522
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1759
x 2132

Re: Creating a "table" to show what colors mean

Unread post by Glenn Schroeder »

Hello Carrie,

Does it have to be a block of color, or can you indicate the colors a different way?

image.png
image.png (2.14 KiB) Viewed 1210 times
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
User avatar
josh
Posts: 295
Joined: Thu Mar 11, 2021 1:05 pm
Answers: 16
x 22
x 508

Re: Creating a "table" to show what colors mean

Unread post by josh »

Alternately, if you hate the space between the characters you can add a custom symbol to your gtol.sym file to create a solid block that can go anywhere you type text. The code for a solid block that's 10 characters wide is:

*BL,Solid Block
A,POLY 0,0,10,0,10,1
A,POLY 0,0,10,1,0,1

The main downside of this one is that symbols only live in the gtol.sym file. If someone opens the SW drawing file on a computer that doesn't have that symbol in the file, it will be replaced by <CUS-BL> (with "CUS" being replaced by whatever category you paste the block above into). Of course, replacing "10" above with any other number will change the width of the block.

Here's what that looks like in a note:
image.png
User avatar
CarrieIves
Posts: 163
Joined: Fri Mar 19, 2021 11:19 am
Answers: 2
Location: Richardson, TX
x 377
x 136

Re: Creating a "table" to show what colors mean

Unread post by CarrieIves »

@josh Your ColorTBl.sldtbt is exactly what we need. The characters all run together on my screen and in our PDF and look like a solid block.

Thank you.
User avatar
AlexLachance
Posts: 2187
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2373
x 2015

Re: Creating a "table" to show what colors mean

Unread post by AlexLachance »

This is how we did it
image.png
TEXT - LINE SEGMENT (with thickness and color assigned) is how we did it.
User avatar
DennisD
Posts: 706
Joined: Fri Mar 12, 2021 10:04 am
Answers: 1
Location: Near Jacksonville, FL
x 1031
x 1467

Re: Creating a "table" to show what colors mean

Unread post by DennisD »

AlexLachance wrote: Thu Jun 13, 2024 11:51 am This is how we did it
image.png
image.png (53.42 KiB) Viewed 1161 times
TEXT - LINE SEGMENT (with thickness and color assigned) is how we did it.
Brick walls are there for a reason. The brick walls aren't there to keep us out. The brick walls are there to show us how badly we want things.
- - -Randy Pausch
User avatar
AlexLachance
Posts: 2187
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2373
x 2015

Re: Creating a "table" to show what colors mean

Unread post by AlexLachance »

DennisD wrote: Thu Jun 13, 2024 12:02 pm
French is indeed a walking contradiction as a language though :lol:
User avatar
SPerman
Posts: 2056
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2227
x 1878
Contact:

Re: Creating a "table" to show what colors mean

Unread post by SPerman »

Glenn Schroeder wrote: Thu Jun 13, 2024 8:31 am Hello Carrie,

Does it have to be a block of color, or can you indicate the colors a different way?


image.png
As someone who is red/green colorblind, the solid block is much easier for me to identify.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
AlexLachance
Posts: 2187
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2373
x 2015

Re: Creating a "table" to show what colors mean

Unread post by AlexLachance »

SPerman wrote: Thu Jun 13, 2024 3:12 pm As someone who is red/green colorblind, the solid block is much easier for me to identify.
It is the reason we went with text + solid block for colors. The "distinction" for colorblind people can be more noticeable that way too.
Post Reply