📋 Metadata
- Author: roaoao
- Date: 2020-09-25 13:37:20
- Type:
answer - Reply to: post_03594
- Replies (1): post_03599
💬 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