How do you find the color of a sketch during a mechanically welded process?

Hi all!

Let me explain my problem:

I created a profile (for a window) by drawing a sketch and I want this profile, when I use it in mechanical-welding, to have a "predefined" color. 

So my idea was to give a color (appearance) to my sketch, a color that appeared well when I extruded this sketch, but as soon as I went into mechanically welding with the same sketch, the color disappeared. So you have to put it back on manually during the mechanical welding while I would like the right color to appear automatically. 

How to do it?

 

 

Hello

It may not be very logical, but it is the switch to mechanically welding mode that causes this. It's like when you transform a volume into sheet metal.

For the transition to these two modules: it's a bit like if you were doing function recognition during an import: you lose all the subtleties of color, etc...

But our very clever and competent colleagues will surely give you a good solution

Kind regards

2 Likes

Just click on the sketches of the functions

 and show them through the eye

@+

2 Likes

Hello

I'm on SW2017 SP5 and I have no problem.

may the force be with you.

3 Likes

Thank you for your answers! 

I tried the gt22 method but it doesn't change anything, the part remains the same color :/ 

And OBI WAN, is it a profile that you created yourself (shapes and colors) and that you find in the same way in mechanically welded? I'm on SolidWorks 2016 but I don't think the version is the problem.

 

1 Like

In my example: the green path profile remains green, the angle is from a library that I downloaded. I may have misunderstood it's the angle you want in color?

may the force be with you.

 

 

 

OBI WAN, yes, indeed I may have expressed myself badly, it's not the path profile whose color I want to change, but the angle in your case. It's as if I created the profile of this angle and decided to put it in pink in its base sketch, but when I switch to mechanically welded, it appears in gray. 

I have attached a pdf that includes 3 screenshots showing an example of my problem.


pb_couleur.pdf

Hello

In your case you would have to make a library of materials with personal colors.

Currently you have rigid PVC:

2 solutions: either you change the color directly of this rigid PVC material

      or you duplicate it and change the color (personally that's what I do for foam and a different color by type of panel thickness)

 

It all depends on whether you use the same color code all the time.

If your rigid PVC is grey in colour, it is normal for your welded mechanic to be grey.

The color applied out of the welded mechanic passage will be that of the default material of your part.

4 Likes

and yes as FUZ3D says

if it's the color of the room

it is completely dependent on the materials

so table of personal materials to create with the appropriate color

@+ ;-)

1 Like

On the other hand, I don't see the relationship in the color of the sketch and the extruded part.

Example: A green sketch does not result in a green extrusion (unless there is a well-hidden option)

If you ever remove the material you will have the ugly gray base, so all your functions or versions too.

A little advice in general, give a color to a volume and not to a function (unless you don't have a choice)

1 Like

So, in the same room, different color profiles  are not possible.

Because above all they are bodies and naturally they take the color of your room defined by default.

I think you have to change the color by hand. :(.

may the force be with you.

 

 

2 Likes

Hello

You can also create a room template with a color assigned in it.

1 Like

Thank you FUZ3D, that's what I wanted to know. Regarding your second comment, it's not the message I wanted to convey but I probably (again) expressed myself badly^^

All I have to do is change the default colors of the materials! 

 

 

 

 

The main thing is to find a solution;)

If your material is PVC you duplicate it for each color you need, as they all have the same characteristics. (Very quick to do, in 5 min was done)

2 Likes

So little UP for more precision, having made a profile today I realized that it was not quite true, at least incomplete.

Then:

1- You should know that a sketch of a profile can have an assigned material (which you don't see since it remains in the sketch state)

2- In the room where the welded mechanic is made, there is an option " transfer the material from the profile: material chosen in the sketch"

So if we check this box it will be the material of the profile, if we don't check it will be the material of the part.

Then if you want several colors, you have to select each body.

See the image below or as an attachment for better visibility.

 

 

 


couleur_profil.png
1 Like

Indeed, I hadn't seen the little box "transfer the material from the profile", it changes everything! So I created my own library (which was simpler I think) with materials that I copied from the SolidWorks database and gave it the look I wanted. Once applied to the profile, the colour of the material appears well in mechanically welded ;) Thanks again!

 

1 Like

You're welcome

I discovered this box really by chance when I was thinking about your problem, for a piece I had to do. XD

By dint of seeing an interface you don't see it anymore. 

2 Likes