How to set Viewport Shading Wire Color to Object via Python? When I right click on the Object button
And do Copy Full Data Path, it gives me:
bpy.data.screens["Layout"].shading.wireframe_color_type
But does not work:
In the Info Editor it gives me another path:
bpy.context.space_data.shading.wireframe_color_type = 'OBJECT'
which also does not work. They are all misleading.
Is this a bug? How to set this button via Python? This is a follow up question to this thread

