Post #5019: Hi
📋 Metadata
- Author: Zunio
- Date: 2024-01-24 11:15:17
- Type:
question - Quality Score: 5/10
🏷️ Tags
v1-18-7 pie-menu custom-panels intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Custom tab scripting
- Panel integration
- Python scripting
💬 Content
Hi
I need help with getting panel into my pie menu which contains my last operations - just to reuse them like repeat last - similar to that functionality with vertex groups:
Pie Menu Editor 1.18.7 Released Scripts and Themes
You need to use bpy.ops.object.vertex_group_assign() operator to add the selection to the new vertex group: bpy.ops.object.vertex_group_add(); bpy.ops.object.vertex_group_assign() Not sure how you want to use this menu and how it should look. Can you post some pic? Try this code in Custom tab: panel(‘DATA_PT_vertex_groups’, area=‘PROPERTIES’)
Any ideas?
image1034×810 79.1 KB