Post #1221: : post_01222
🏷️ Tags
pie-menu scripting intermediate solved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
- Property Editor
- Confirm Threshold
💬 Content
rhyging5:
it doesn’t like to have to much code at same button.
Yes, you can use only 1024 symbols in commands. If you need more use external scripts.
rhyging5:
BTW the way I’m tryng to add the buttons for the color and strenght of a lamp object but doesn’t work. I’m trying with this line in property slot:
C.object.data.elements.active.nodes[“Emission”].inputs[0].default_value
C.object.data.elements.active.nodes[“Emission”].inputs[1].default_valueCan you say what is wrong?
Try this code:
C.object.data.node_tree.nodes['Emission'].inputs[0].default_value
cet77:
Is it possible to have another pie menu open on mouse over? I’d like to have a main-super pie menu that contains all other add-on’s menus and pie menus…
Yes, use Confirm Threshold to open sub-pies on mouse over. Note that you need to hold main pie’s hotkey down to open sub-pie.