Module Group :: Class Group
[frames | no frames]

Class Group


The Group object

This object gives access to Groups in Blender.
Method Summary
Group __copy__()
Make a copy of this group

Instance Variable Summary
bool fakeUser: The fake user status.
int layers: Layer bitmask for this group.
string name: The name of this Group object.
custom object sequence objects: Objects that this group uses.
int users: Number of users this group has (read only)

Method Details

__copy__()

Make a copy of this group
Returns:
a copy of this group
           (type=Group)

Instance Variable Details

fakeUser

The fake user status. Enabling this will keep it in the blend even if there are no users.
Type:
bool

layers

Layer bitmask for this group.
Type:
int

name

The name of this Group object.
Type:
string

objects

Objects that this group uses. This is a sequence with-list like access so use list(grp.objects) if you need to use a list (where grp is a group). The groups objects can be set by assigning a list or iterator of objects to the groups objects. objects.link() and objects.unlink() also work with the the objects iterator just like with lists.

Note: append() and remove() have been deprecated and replaced by link() and unlink(), after Blender 2.43 append() and remove() will not be available.
Type:
custom object sequence

users

Number of users this group has (read only)
Type:
int

Generated by Epydoc 2.1 on Sun Feb 11 13:30:18 2007 http://epydoc.sf.net