Post #3558: : post_03559
🏷️ Tags
pie-menu hotkeys configuration intermediate solved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
- Hotkey Configuration
- Custom Icons
💬 Content
Stefakapapy:
For example enabling the pie if object is MESH or CURVE ?
I tried
return C.active_object.type == 'MESH' or C.active_object.type == 'CURVE'
And also
return C.active_object.type in ['MESH','CURVE']
Both scripts are ok. Use them with Object Mode keymap for example.
Stefakapapy:
is it possible to display a single text.
Yes, here is the code for Custom tab:
L.label(text=slot, icon=icon, icon_value=icon_value)
❤️ 2 likes