forked from bartvdbraak/blender
Python API
---------- Fix some typos in the documentation.
This commit is contained in:
parent
b13ee88805
commit
675ab02726
@ -91,7 +91,7 @@ class Group:
|
||||
@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 a sequence with list like access so use list(grp.objects) if you need to use a list. (where grp is a group).
|
||||
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.
|
||||
"""
|
||||
|
@ -250,11 +250,11 @@ class Object:
|
||||
this object's ID Properties. Note that dict access is available for groups on the parent
|
||||
L{IDProperty<IDProperty>} object, but for everything else you need to get the L{IDGroup<IDGroup>}
|
||||
object from the L{IDProperty<IDProperty>}'s data member.
|
||||
@ivar restrictDisplay: Dont display this object in the 3d view, disabled by default, use the outliner to toggle.
|
||||
@ivar restrictDisplay: Don't display this object in the 3D view: disabled by default, use the outliner to toggle.
|
||||
@type restrictDisplay: bool
|
||||
@ivar restrictSelect: Dont select this object in the 3d view, disabled by default, use the outliner to toggle.
|
||||
@ivar restrictSelect: Don't select this object in the 3D view: disabled by default, use the outliner to toggle.
|
||||
@type restrictSelect: bool
|
||||
@ivar restrictRender: Dont render this object, disabled by default, use the outliner to toggle.
|
||||
@ivar restrictRender: Don't render this object: disabled by default, use the outliner to toggle.
|
||||
@type restrictRender: bool
|
||||
@ivar LocX: The X location coordinate of the object.
|
||||
@type LocX: float
|
||||
|
@ -107,7 +107,7 @@ class Scene:
|
||||
scene.layers = scene.layers.append(1)
|
||||
print scene.layers # will print: [1, 3]
|
||||
@type objects: sequence of objects
|
||||
@ivar objects: An iterator for the scenes objects with with functions .link(ob) .unlink(ob) .new(obdata)
|
||||
@ivar objects: The scene's objects. The sequence supports the methods .link(ob), .unlink(ob), and .new(obdata), and can be iterated over.
|
||||
"""
|
||||
|
||||
def getName():
|
||||
|
Loading…
Reference in New Issue
Block a user