Thanks.
A little modified panel
def PanelInactiveShading(self, context):
layout = self.layout
layout.separator()
layout.label(text="Inactive Shading")
label = "Wire" if context.scene.inactive_shading else "Current"
layout.prop(context.scene, "inactive_shading", text=label, toggle=True)
and used
bpy.types.VIEW3D_PT_shading_color.append(PanelInactiveShading)
to get this
Inactive_Shading_v_1_0_1.py (3.0 KB)
or even like “Background” have their switching options
P.S. I’ll probably create a separate topic and (ask to transfer there all our discussions) related to this mini add-on or a simple add a link to the start of making this add-on.
P.P.S. done Shading for Inactive objects in viewport (wireframe)