📋 Metadata

💬 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


🔗 View on Blender Artists