Home | Trees | Index | Help |
|
---|
Module Object |
|
The Blender.Object submodule
New:Object.makeTrack
, scriptLink methods: Object.getScriptLinks
, ...
This module provides access to the Objects in Blender.
Example:import Blender scene = Blender.Scene.getCurrent () # get the current scene ob = Blender.Object.New ('Camera') # make camera object cam = Blender.Camera.New ('ortho') # make ortho camera data object ob.link (cam) # link camera data with the object scene.link (ob) # link the object into the scene ob.setLocation (0.0, -5.0, 1.0) # position the object in the scene Blender.Redraw() # redraw the scene to show the updates.
Classes | |
---|---|
Object |
This object gives access to generic data from all objects in Blender. |
Property |
This property gives access to object property data in Blender. |
Function Summary | |
---|---|
Get the Object from Blender. | |
Get the selected objects from Blender. | |
Creates a new Object. |
Function Details |
---|
Get(name=None)Get the Object from Blender.
|
GetSelected()Get the selected objects from Blender. If no objects are selected, an empty list will be returned.
|
New(type, name='type')Creates a new Object.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 12 21:47:30 2004 | http://epydoc.sf.net |