active_vertex_group and active_vertex_group_index

Hi everybody,
i’m writing a script for the weitghting of vertex groups (3dsMax like) into edit_mode …all were mostly done…And were a really nice addon-on to blender.but BAM, 2.54 new API screwed my script and now I have no idea how I could access the active_vertex_group and the active_vertex_group_index of an object…

Please help

If a group is active or not I could not find.

Maybe you look (in the console) for dir(bpy.data.groups)
or dir(bpy.ops.group)

it seam these properties just disappeared… :frowning:

i found:
bpy.context.object.vertex_groups.active_index
thanks PKHG

bpy.context.vertex_groups. (Ctlr-space) …

Ok I learned too something :wink: