I can select the face but cannot color it

The upper surface of my clay body is bounded by a surface-loft, which is hidden because it is inexplicably tesselated.

An excavation is cut-extruded into the clay.

An LC on the remaining upper surface of the clay body, selects in blue the "donut" that I want colored green, leaving the cut faces in orange.

So far so good.

When the Selected Geometry is applied at Component level, all faces of the clay body turn green.

When the Selected Geometry is applied at the Part level, nothing turns green.

How can I get just the selected area to turn green?

SolidworksAssemblies
Answers 11
SF
SF 2013-08-26 Best Answer

John,

Don't ask me to explain how colors work, as they seem to do many mysterious things.

Does your issue have to do with the fact that your cut is made as an assembly cut? Did you tell SolidWorks to propagate the change to the part? If not, perhaps that would help, although it may not work with the way you want to set up your parts.

When I tell a face to change color at the part level it seems to work.

Jerry S.

JB
JB 2013-08-26

John, it all comes down to the heirarchy that determines the priority that an appearance assignment is given

Take a look at this help topic

http://help.solidworks.com/2013/english/solidworks/sldworks/c_appearance_hierarchy.htm

This explains the order of precedence for appearances and how certain types of entities override the appearance of other types

In addition, If you apply an appearance at the assembly level, it applies to the entire component, overriding any part-level appearance assignments, so automatically, appearances that are specific to faces need to be applied at the part level. I think that explains what happened in your first example.

In your second example-where you applied to green color to face-Either, you've applied green to the loft surface body instead of the face of the solid body or the part needs to rebuild.

Try opening the clay part in it's own window and doing a rebuild.  If that doesn't do the trick, go to the appearances tab, right-click on the green color and do 'edit appearance' it will show you which enttiies have the appearance mapped to them. remove the unintentionally mapped appearances from the list and re-select the face you want to make green.

SF
SF 2013-08-26

Thanks guys;  I have a better understanding now, but the problem persists.

I can't follow this instruction "go to the appearances tab, right-click on the green color and do 'edit appearance' it will show you which enttiies have the appearance mapped to them."

I went back to the land part and found that although the clay body was colored orange, more than one face had a green color when I wanted only the upper face green.  I corrected that, and hid the surface loft, and made the clay transparent in order to show buried bodies.

Here is the land part edited in the context of the assembly.  The colors are correct.  The top of the slab is poking out of the ground.

When I close the edit, the green color in the part is not propagated to the assembly.

I tried re-applying the green to the face at part level but nothing happened.

comment imagecomment imagecomment imagecomment image
JB
JB 2013-08-27

Remove the assembly component color.

To do that, edit the assembly, pick on the component, expand the appearance icon list and click the delete icon next to the component level node.

SF
SF 2013-08-27

One solution is to color the land Part orange, and the extrusion Feature which filled the land below the surface loft, green.

This seems to imply that a Feature is all of the surface enclosing a Body.

There seems not to be an assembly component color, and I don't see a Delete icon next to the component level node.

comment imagecomment image
SF
SF 2013-08-28

I got it!

Component level (assemblies only) appearance overrides all others.

Face appearance seems not to work in my assembly.

Feature is the surface which defines and wraps a body (or absence of body in the case of a cut).

     Feature appearance overrides body appearance.

Body appearance applies to the surface and interior of the solid.  It overrides Part appearance.

Part appearance is the bottom of the hierarchy.

In the example below I colored the solid clay body orange, and the (extrude) feature which defined the body green.

The excavation (cut-extrude) cut the feature surface and exposed the underlying body color.

There are other permutations which achieve the same result.

comment imagecomment image
SF
SF 2013-08-28

John,

Right, that is the priority for appearances; assembly, face, feature, body, part. And, as you noted, only parts can be colored in the assembly. But sometimes strange things happen that don't seem to obey the rules. I'm glad to see that you haven't run into one of them. Recently I ran into a situation where a body showed up in a different color in an assembly when I was viewing a section. It doesn't do it now, so I suspect it was an artifact of using too much memory or going too long without rebooting.

Jerry S.

SF
SF 2013-08-29

You hexed me Jerry!

The last image was posted before shutting down last night.  This one is how the document appears this morning, although the preview image was as I saw it last night.

The clay feature color is being ignored, just as my attempts to color a face were ignored.

Restarting SW, restarting Windows, and powering down, made no difference.

Even the backup copy is now ignoring the clay feature color.

I have printed the 2 uploaded images and compared them side by side.  The only difference is that the clay feature color is ignored in the second image.

A Photoworks render displayed the correct colors.

Exiting large Assembly mode to enable Realview made no difference.

Switching display style made no difference.

A Section view displayed the correct colors.

Switching back to regular views lost the color.

Here is a SW view + Photoworks view. 

comment imagecomment imagecomment imagecomment image
SF
SF 2013-08-29

Maybe this is the explanation.

The LandSurface part is Lightweight when the assembly opens.  Why?

Rebuild after Resolve does nothing.

Reload after Resolve brings the color back.

Along the way I seem to have demonstrated that part face appearance does not propagate to assemblies, and that it cannot be set in assemblies.  This seems to contradict the SW Help.

SF
SF 2013-08-31

John,

Sorry about the hex! The kind of stuff you are seeing is the kind of confusing behavior that I also see sometimes. I can understand why having parts lightweight could change things. I don't understand why a Reload changes the color and a Rebuild doesn't.

I might be able to help with the part loading lightweight. I'm still running 2010, so some of this may have changed in later versions. Under Tools/Options/System Options/Performance, there is a box for Assemblies and one of the check boxes is "Automatically load components lightweight". Perhaps that box is checked. I never use lightweight mode, so I'm not very familiar with the effect of the other choices in the box.

Jerry S.

SF
SF 2013-08-31

Because some of my documents need to be loaded Lightweight, and it is a System not Document option, all of my documents are loaded Lightweight.

I was not aware that being excluded from calculation had the consequence of exclusion from appearance.