📋 Metadata

💬 Content

Stefakapapy:

Is there a way to show a pie only if a hair particle system is attached to the selected object ?

Hi @Stefakapapy,
Use this code as a poll method:

return len([ps for ps in C.object.particle_systems if ps.settings.type == 'HAIR']) > 0

❤️ 5 likes


🔗 View on Blender Artists