Added group.layers bitfield to the python API

This commit is contained in:
2006-11-16 21:38:08 +00:00
parent 1a36a9080c
commit 97d306e68f
2 changed files with 42 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ class Group:
This object gives access to Groups in Blender.
@ivar name: The name of this Group object.
@ivar users: Number of users this group has (read only)
@ivar layers: Layer mask for this group.
@ivar objects: Objects that this group uses.
This is an iterator with list like access so use list(gp.objects) if you need to use a list. (where gp is a group object).
The groups objects can be set by assigning a list or iterator of objects to the groups objects.