0

i use Blender v2.76 and i try to remove vertices in specific Vertex Group via python ?

Selected Group

my specific group is atm "Test123" (only example), i try now via python to remove the selected vertices from the Group without index selection. is it possible ?

DevilSam
  • 141
  • 1
  • 6

1 Answers1

1

Find verts in group, then remove.

Methods to find vertices in vertex groups.

Finding vertices in a Vertex Group using Blender's Python API

Once you have the verts in a group can remove them from their vertex group with

obj.vertex_groups["Group"].remove(index)

where index is the vertex index.

batFINGER
  • 84,216
  • 10
  • 108
  • 233