Post #357: raoroa one question

πŸ“‹ Metadata

  • Author: draguu
  • Date: 2016-09-30 11:14:47
  • Type: question
  • Quality Score: 5/10
  • Replies (1): post_00358

🏷️ Tags

pie-menu hotkeys intermediate unsolved

  • Stack Key Editor
  • Python Scripting
  • Pie Menu Editor

πŸ’¬ Content

raoroa one question

i want to open menu01 is lamp is selected , menu02 if object is selected , and menu03 if nothing is selected

i have added one stack key and in the command i wrote ,

[open_menu(β€˜menu01’) for obj in bpy.data.objects if obj.type == β€˜LAMP’] which opens menu01 if i have selected lamp , but i doono how do i add other 2 conditions , can you help me with that or let me know if i am doing something wrong then


πŸ”— View on Blender Artists