📋 Metadata
- Author: roaoao
- Date: 2018-11-25 09:56:43
- Type:
answer - Reply to: post_01675
- Replies (1): post_01680
💬 Content
Bialy:
C.space_data.shading.show_xray
Hi,
Make sure that you use this code in Property tab and in 3DView area.
If you want to use this button in any area, you need to find 3DView area in your code (Blender 2.8+):
find_by(C.screen.areas, "ui_type", 'VIEW_3D').spaces.active.shading.show_xray