nHello,
I'm trying to use Display States to control the Hide/Show visibility state of aspects of Parts such as Bodies and hideable features such as Sketches, Reference Geometry, Curves, etc. This works great in the part file itself. However, when I use such a part in an assembly and reference in to the display state of the part, the Hide/Show visibility of the part's Bodies works as expected, but the visibility of Sketches, Reference Geometry, etc within the part appears to be taken from the Hide/Show visibility state when the part file was last saved, rather then pulling from the relevant part-level display state.
So in summary, the Assembly Display State respects the visibility of Part Bodies set by the Part's display state, but it ignores the visibility of "Other hideable features" such as sketches and planes.
I'm seeing this in 2018 SP05 and 2019 SP02. I haven't looked at other versions.
Is this a bug? Any other ideas for achieving the ability to control the visibility of Part sketches via Assembly display states?
Here is a quick toy example showing the behavior I'm seeing.
Part shown in its "Solids" display state:
Part shown in its "Other" display state:
Assembly in "Solids-Assy" display state, which is using the part's "Solids" display state via the "Component Properties" setting of the part: Here I expect the right plane and the sketch to be "Hidden" as they are in the Part's Solids display state. However, they are shown.
Assembly in "Other-Assy" display state, which is using the Part's "Other" display state via the "Component Properties" setting of the part:
If I edit the Part file by "Saving it" while in the "Other" Display state. This behavior is reversed in that the right plane and the sketch are hidden in both assembly display states. So in either case, the Assembly Display state appears to only partially honor the settings of the Display State of the part.
Any thoughts or comments?
SolidworksAssemblies