Group Operators

bpy.ops.group.create(name="Group")

Create an object group from selected objects

Parameters:name (string, (optional, never None)) – Name, Name of the new group
bpy.ops.group.objects_add_active()

Add the object to an object group that contains the active object

bpy.ops.group.objects_remove(group='')

Remove selected objects from all groups or a selected group

Parameters:group (enum in [], (optional)) – Group, The group to remove this object from
bpy.ops.group.objects_remove_active()

Remove the object from an object group that contains the active object

bpy.ops.group.objects_remove_all()

Remove selected objects from all groups or a selected group

Previous topic

Graph Operators

Next topic

Image Operators