Post #690: Heya, does anyone know how to switch between an operator and a pie menu based on
📋 Metadata
- Author: Way2Close
- Date: 2017-05-23 19:34:17
- Type:
question - Quality Score: 5/10
🏷️ Tags
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
Heya, does anyone know how to switch between an operator and a pie menu based on a bool’s value?
if bpy.context.scene.mybool == False:
operator
elif bpy.context.scene.mybool == True:
pie menu
Thanks in advance guys 