MainGroups(bpy_struct)

base class — bpy_struct

class bpy.types.MainGroups(bpy_struct)

Collection of groups

new(name)

Add a new group to the main database

Parameters:
  • name (string) – New name for the datablock.
Returns:

New group datablock.

Return type:

Group

remove(group)

Remove a group from the current blendfile.

Parameters:
  • group (Group, (never None)) – Group to remove.

Inherited Properties

Inherited Functions

References

Previous topic

MainFonts(bpy_struct)

Next topic

MainImages(bpy_struct)