Post #3357: Hi.roaoao.
📋 Metadata
- Author: anminmakura
- Date: 2020-06-15 07:41:36
- Type:
question - Quality Score: 5/10
- Replies (1): post_03358
🏷️ Tags
pie-menu custom-menus intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
Hi.roaoao.
I tried to make this custom designation myself, but it doesn’t work.
I think the specification in L.prop is wrong, but how can I specify it to work?
By the way, what I want to do is show or hide individual menus in the Pie menu.
L.prop(bpy.ops.object.vertex_group_assign, icon=icon, icon_value=icon_value, text=text) if len(C.active_object.vertex_groups) >= 1 else L.separator()