📋 Metadata

  • Author: Way2Close
  • Date: 2017-05-23 19:34:17
  • Type: question

💬 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 :slight_smile:


🔗 View on Blender Artists