Module Blender
The main Blender module.
The Blender Python API Reference
Submodules:
Introduction:
This Reference documents the Blender Python API, a growing
collection of Python modules (libs) that give access to part of the
program's internal data and functions.
Through scripting, Blender can be extended in realtime.
Possibilities range from simple functionality to importers /
exporters and even more complex "applications". Blender
scripts are written in Python, an
impressive high level, multi-paradigm, open-source language.
Version: 2.33
Author: The Blender Python Team
Requires: Blender 2.33 or newer.
- See Also:
-
www.blender.org,
projects.blender.org,
www.python.org,
www.python.org/doc
Function Summary |
|
Get (request)
Retrieve settings from Blender. |
|
Redraw ()
Redraw all 3D windows. |
|
ReleaseGlobalDict (bool)
|
|
Set (request,
data)
Update settings in Blender. |
Get(request)
Retrieve settings from Blender.
-
- Parameters:
request -
The setting data to be returned:
-
'curframe': the current animation frame
-
'curtime' : the current animation time
-
'staframe': the start frame of the animation
-
'endframe': the end frame of the animation
-
'filename': the name of the last file read or written
-
'version' : the Blender version number
(type=string)
- Returns:
-
The requested data.
|
Redraw()
Redraw all 3D windows.
-
|
ReleaseGlobalDict(bool=None)
-
Depreciated: this function doesn't work anymore and will be removed. Look at the Registry
submodule for a better alternative.
|
Set(request,
data)
Update settings in Blender.
-
- Parameters:
request -
The setting to change:
-
'curframe': the current animation frame
(type=string)
data -
The new value.
(type=int)
|