📋 Metadata
- Author: draguu
- Date: 2016-09-30 11:14:47
- Type:
question - Replies (1): post_00358
💬 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