Post #1677: : post_01680
🏷️ Tags
pie-menu hotkeys intermediate solved
⚙️ Related PME Features
- Property Editor
- Pie Menu Editor
- Python Scripting
💬 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