Added an option to OBJ import "As Instance" - so people can import all the objs objects into a new scene and have a group instanced in the current scene.

some extra details in Epydocs about how groups work.
This commit is contained in:
2006-06-03 07:46:56 +00:00
parent a4817c518c
commit 6f44fc5c1a
3 changed files with 60 additions and 28 deletions

View File

@@ -92,6 +92,9 @@ 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 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.
@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.
objects.append() and objects.remove() also work with the the objects iterator just like with lists.
"""

View File

@@ -302,10 +302,11 @@ class Object:
True/False - does not indicate that this object has any dupliFrames,
(as returned by DupObjects) just that dupliFrames are enabled.
@type enableDupFrames: bool (True/False)
@ivar enableDupGroup: The DupliFroup status of the object.
@ivar enableDupGroup: The DupliGroup status of the object.
True/False - Set DupGroup to a group for this to take effect,
Use DupObjects to get the object data from this instance. (Use with L{DupObjects<DupObjects>})
@type enableDupGroup: bool (True/False)
Set True to make this object an instance of the objects DupGroup.
@ivar enableDupRot: The DupliRot status of the object.
True/False - Use with enableDupVerts to rotate each instance
by the vertex normal. (Use with L{enableDupVerts<enableDupVerts>})