📋 Metadata

💬 Content

If im understanding correctly this code should work if you are on the 3D view

C.space_data.shading.show_xray = True

or

C.space_data.shading.show_xray = False

Add it in a slot of the macro that calls the tool


🔗 View on Blender Artists