Page 1 of 1

Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 8:16 am
by jmongi
I have a multi-body part that is my model of a vendor part. I specifcially designed it multi-body so that I could assign custom appearances to the appropriate bodies to emulate the finished look of the part.

I can add appearances to the various bodies but they disappear on a rebuild. Thoughts?

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 8:21 am
by SPerman
I don't know if this helps. It covers a number of different scenarios, but not specifically a multi-body part.

https://help.solidworks.com/2020/englis ... s_help.htm

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 8:50 am
by jmongi
Thanks. The part has two appearances. I worked around it by changing the default appearance of the whole part to the main appearance and then adding the 2nd appearance to the two bodies that needed it. I had been assigning individual appearances. The assigned ones to the main bodies still disappear, but, since the overall appearance is correct, it doesn't matter.

I have another multi-body part with custom appearances that seems to be working fine after rebuild. *shrug*

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 9:14 am
by jcapriotti
@jmongi What version of SolidWorks? We do this a bit in 2019....bit of weirdness here and there but I don't recall it just outright removing the appearances on rebuild.

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 9:29 am
by HDS
There are bugs with this in some versions, probably 2019. Appearances keep changing on their own. I have not seen it as bad in 2020.

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 9:55 am
by matt
The problems are probably due to bodies changing names - bodies being split, joining, the number of bodies changing, moving from solid to surface, etc. If you try naming bodies manually, you probably run into the same problems. It's a really complex thing to try to keep track of internally or even to come up with rock solid rules that can be applied consistently to always give expected results.

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 10:01 am
by jmongi
SW 2022

It does change when body names change, etc. But, that is not what is happening.
No changes, no adjustments. Just manually click rebuild and voila! Magical disappearing appearances.
All I can think of is that I've run into some glitchy data saving involving materials vs appearances where something is stuck and I haven't found the right command to redo to "rewrite" whatever underlying data is stuck. I'm just glad the workaround worked!

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 4:35 pm
by matt
It is also affected by rollback state and configurations. And then there are some features (like Ribs) where the selection is affected by the body count when the feature is rebuilt.

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Thu Nov 03, 2022 10:13 pm
by zxys001
Hmm, check if your VOR is on or off?

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Fri Nov 04, 2022 9:26 am
by jmongi
matt wrote: Thu Nov 03, 2022 4:35 pm It is also affected by rollback state and configurations. And then there are some features (like Ribs) where the selection is affected by the body count when the feature is rebuilt.
That's how I first noticed it. Wrapping up and moved the freeze bar down and *poof* no appearances.
I just had a different vendor created part that I am modifying to have a configuration for every port location on a regulator. When I hit the fourth configuration, some of the appearances disappeared.

I also don't know what VOR is, sorry!

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Fri Nov 04, 2022 3:49 pm
by jcapriotti
@jmongi Is this an imported model from your vendor or did you model it? Are there feature/body patterns?

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Tue Nov 08, 2022 8:08 am
by jmongi
The original part in question was modelled by me. Also, I did use feature/body patterns.

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Tue Nov 08, 2022 8:45 am
by jcapriotti
jmongi wrote: Tue Nov 08, 2022 8:08 am The original part in question was modelled by me. Also, I did use feature/body patterns.
There is an option in the pattern features to "Propagate visual properties". That will override any individual body appearances you set and set them to match the seed body.
image.png

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Mon Nov 14, 2022 8:23 am
by jmongi
@jcapriotti - Thanks for the post. I'll look into that setting and see if it will help me manage the situation.

Re: Multi-Body Part - Appearances keep removing themselves

Posted: Tue Nov 15, 2022 10:25 am
by Arthur NY
@jmongi Paul asked, and I would second this, do you have VOR turned on or off? There is also a difference between using "ctrl+B" and "ctrl+Q".... which one are you using?

Also where are you applying the appearance? (i.e. in the main Part file, the split bodies, in the assembly)?