Post #2545: ” is only create a group but without selected components.
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?
Pinhead:
It is possible to with pie menu open floating Vertex Groups window?
Try this code in Custom tab:
panel('DATA_PT_vertex_groups', area='PROPERTIES')
❤️ 1 likes