how to use this

i need to see how to use remove with this function??? can any one help

http://www.blender.org/documentation/250PythonDoc/bpy.types.ActionGroups.html?highlight=actiongroups#bpy.types.ActionGroups

1st - i want to select all empty action groups
2nd - delete theme all
3rd - how to register this in the dope-sheet menu :slight_smile:

Posted in animation secton how to access the ActionGroups.

for part 1

Go thru all groups assigned to an action and then if it doesnโ€™t have an associated fcurve delete.

>>> bpy.data.actions['Action'].fcurves[0].group