📋 Metadata
- Author: Motiomancer
- Date: 2022-07-30 21:19:19
- Type:
answer - Reply to: post_04474
💬 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