Post #3662: For that I think you can use the scripting tab and change to the different modes
📋 Metadata
- Author: Motiomancer
- Date: 2020-10-30 14:48:19
- Type:
answer - Quality Score: 7/10
- Reply to: post_03660
- Replies (1): post_03663
🏷️ Tags
pie-menu configuration intermediate
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
- Poll Methods
💬 Content
For that I think you can use the scripting tab and change to the different modes and just copy that to the poll method
return bpy.context.space_data.shading.type == 'WIREFRAME'
return bpy.context.space_data.shading.type == 'SOLID'
return bpy.context.space_data.shading.type == 'MATERIAL'
return bpy.context.space_data.shading.type == 'RENDERED'
return bpy.context.area.ui_type == 'CompositorNodeTree'
image769×1051 107 KB