0% found this document useful (0 votes)
9K views1,306 pages

Blender Python Reference 2 57 Release

R36138 - API Blender Foundation CONTENTS Blender / Python Documentation Application Modules 2. Context Access (bpy.context). 2. Data Access (daa).. 2. Operators (bpi.ops). 3. Operators (db). 4. Utilities (db.utils). 5. Game Engine bge.types module. 6. Font Drawing (blf). 7. Audio System (aud)
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9K views1,306 pages

Blender Python Reference 2 57 Release

R36138 - API Blender Foundation CONTENTS Blender / Python Documentation Application Modules 2. Context Access (bpy.context). 2. Data Access (daa).. 2. Operators (bpi.ops). 3. Operators (db). 4. Utilities (db.utils). 5. Game Engine bge.types module. 6. Font Drawing (blf). 7. Audio System (aud)
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Blender Index

Release 2.57.0 r36138 - API

Blender Foundation

April 13, 2011


CONTENTS

1 Blender/Python Documentation 3

2 Application Modules 5
2.1 Context Access ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.2 Data Access ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Operators ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4 Types ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
2.5 Utilities ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1037
2.6 Path Utilities ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1039
2.7 Application Data ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1040
2.8 Property Definitions ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1041

3 Standalone Modules 1047


3.1 Math Types & Utilities (mathutils) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
3.2 Geometry Utilities ([Link]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1076
3.3 Font Drawing (blf) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1079
3.4 Audio System (aud) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1081

4 Game Engine Modules 1091


4.1 Game Engine [Link] Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1091
4.2 Game Engine [Link] Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163
4.3 Game Engine [Link] Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1177
4.4 Game Engine [Link] module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1180

5 API Info 1185


5.1 Blender API Change Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1185

Python Module Index 1199

Index 1201

i
ii
Blender Index, Release 2.57.0 r36138 - API

Welcome, this document is an API reference for Blender 2.57.0 r36138. built 2011-04-13.
A PDF version of this document is also available

CONTENTS 1
Blender Index, Release 2.57.0 r36138 - API

2 CONTENTS
CHAPTER

ONE

BLENDER/PYTHON DOCUMENTATION

• Quickstart Intro if you are new to scripting in blender and want to get you’re feet wet!
• Blender/Python Overview for a more complete explanation of python integration in blender

3
Blender Index, Release 2.57.0 r36138 - API

4 Chapter 1. Blender/Python Documentation


CHAPTER

TWO

APPLICATION MODULES

2.1 Context Access ([Link])

The context members available depend on the area of blender which is currently being accessed.
Note that all context values are readonly, but may be modified through the data api or by running operators

2.1.1 Screen Context

[Link]
Type [Link]
[Link].visible_objects
Type sequence of [Link]
[Link].visible_bases
Type sequence of [Link]
[Link].selectable_objects
Type sequence of [Link]
[Link].selectable_bases
Type sequence of [Link]
[Link].selected_objects
Type sequence of [Link]
[Link].selected_bases
Type sequence of [Link]
[Link].selected_editable_objects
Type sequence of [Link]
[Link].selected_editable_bases
Type sequence of [Link]
[Link].visible_bones
Type sequence of [Link]
[Link].editable_bones

5
Blender Index, Release 2.57.0 r36138 - API

Type sequence of [Link]


[Link].selected_bones
Type sequence of [Link]
[Link].selected_editable_bones
Type sequence of [Link]
[Link].visible_pose_bones
Type sequence of [Link]
[Link].selected_pose_bones
Type sequence of [Link]
[Link].active_bone
Type [Link]
[Link].active_pose_bone
Type [Link]
[Link].active_base
Type [Link]
[Link].active_object
Type [Link]
[Link]
Type [Link]
[Link].edit_object
Type [Link]
[Link].sculpt_object
Type [Link]
[Link].vertex_paint_object
Type [Link]
[Link].weight_paint_object
Type [Link]
[Link].image_paint_object
Type [Link]
[Link].particle_edit_object
Type [Link]
[Link]
Type sequence of [Link]
[Link].selected_sequences
Type sequence of [Link]
[Link].selected_editable_sequences

6 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type sequence of [Link]

2.1.2 View3D Context

[Link].selected_objects
Type sequence of [Link]
[Link].selected_bases
Type sequence of [Link]
[Link].selected_editable_objects
Type sequence of [Link]
[Link].selected_editable_bases
Type sequence of [Link]
[Link].visible_objects
Type sequence of [Link]
[Link].visible_bases
Type sequence of [Link]
[Link].selectable_objects
Type sequence of [Link]
[Link].selectable_bases
Type sequence of [Link]
[Link].active_base
Type [Link]
[Link].active_object
Type [Link]

2.1.3 Buttons Context

[Link]
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link]

2.1. Context Access ([Link]) 7


Blender Index, Release 2.57.0 r36138 - API

Type [Link]
[Link].meta_ball
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link].material_slot
Type [Link]
[Link]
Type [Link]
[Link].texture_slot
Type [Link]
[Link]
Type [Link]
[Link].edit_bone
Type [Link]
[Link].pose_bone
Type [Link]
[Link].particle_system
Type [Link]
[Link].particle_system_editable
Type [Link]
[Link]
Type [Link]
[Link].soft_body
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link]
Type [Link]
[Link]

8 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type [Link]

2.1.4 Image Context

[Link].edit_image
Type [Link]

2.1.5 Node Context

[Link].selected_nodes
Type sequence of [Link]

2.1.6 Text Context

[Link].edit_text
Type [Link]

2.2 Data Access ([Link])

This module is used for all blender/python access.


[Link]
Access to blenders internal data
Type [Link]
import bpy

# print all objects


for obj in [Link]:
print([Link])

# print all scene names in a list


print([Link]())

# remove mesh Cube


if "Cube" in [Link]:
mesh = [Link]["Cube"]
print("removing mesh", mesh)
[Link](mesh)

# write images into a file next to the blend


import os
file = open([Link]([Link])[0] + ".txt", ’w’)

for image in [Link]:


[Link]("%s %d x %d\n" % ([Link], [Link][0], [Link][1]))

2.2. Data Access ([Link]) 9


Blender Index, Release 2.57.0 r36138 - API

[Link]()

2.3 Operators ([Link])

2.3.1 Calling Operators

Provides python access to calling operators, this includes operators written in C, Python or Macros.
Only keyword arguments can be used to pass operator properties.
Operators don’t have return values as you might expect, instead they return a set() which is made up of: {‘RUN-
NING_MODAL’, ‘CANCELLED’, ‘FINISHED’, ‘PASS_THROUGH’}. Common return values are {‘FINISHED’}
and {‘CANCELLED’}.
Calling an operator in the wrong context will raise a RuntimeError, there is a poll() method to avoid this problem.
Note that the operator ID (bl_idname) in this example is ‘[Link]’, ‘[Link]’ is just the access path for python.
import bpy

# calling an operator
[Link](number_cuts=3, smoothness=0.5)

# check poll() to avoid exception.


if [Link].mode_set.poll():
[Link].mode_set(mode=’EDIT’)

2.3.2 Execution Context

When calling an operator you may want to pass the execution context.
This determines the context thats given to the operator to run in, and weather invoke() is called or execute().
‘EXEC_DEFAULT’ is used by default but you may want the operator to take user interaction with ‘IN-
VOKE_DEFAULT’.
The execution context is as a non keyword, string argument in: (‘INVOKE_DEFAULT’, ‘INVOKE_REGION_WIN’,
‘INVOKE_REGION_CHANNELS’, ‘INVOKE_REGION_PREVIEW’, ‘INVOKE_AREA’, ‘INVOKE_SCREEN’,
‘EXEC_DEFAULT’, ‘EXEC_REGION_WIN’, ‘EXEC_REGION_CHANNELS’, ‘EXEC_REGION_PREVIEW’,
‘EXEC_AREA’, ‘EXEC_SCREEN’)
# group add popup
import bpy
[Link].group_instance_add(’INVOKE_DEFAULT’)

Action Operators

[Link](threshold=0.001)
Simplify F-Curves by removing closely spaced keyframes
Parameters threshold (float in [0, inf], (optional)) – Threshold
[Link](extend=False, column=False)
Select keyframes by clicking on them

10 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• extend (boolean, (optional)) – Extend Select
• column (boolean, (optional)) – Column Select
[Link]()
Copy selected keyframes to the copy/paste buffer
[Link]()
Remove all selected keyframes
[Link](mode=’TRANSLATION’)
Make a copy of all selected keyframes
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].duplicate_move(ACTION_OT_duplicate=None, TRANS-
FORM_OT_transform=None)
Undocumented (contribute)
Parameters
• ACTION_OT_duplicate (ACTION_OT_duplicate, (optional)) – Duplicate Keyframes,
Make a copy of all selected keyframes
• TRANSFORM_OT_transform (TRANSFORM_OT_transform, (optional)) – Trans-
form, Transform selected items by mode type
[Link].extrapolation_type(type=’CONSTANT’)
Set extrapolation mode for selected F-Curves
Parameters type (enum in [’CONSTANT’, ‘LINEAR’], (optional)) – Type
[Link].frame_jump()
Set the current frame to the average frame of the selected keyframes
[Link].handle_type(type=’FREE’)
Set type of handle for selected keyframes
Parameters type (enum in [’FREE’, ‘VECTOR’, ‘ALIGNED’, ‘AUTO’, ‘ANIM_CLAMPED’], (op-
tional)) – Type
[Link].interpolation_type(type=’CONSTANT’)
Set interpolation mode for the F-Curve segments starting from the selected keyframes
Parameters type (enum in [’CONSTANT’, ‘LINEAR’, ‘BEZIER’], (optional)) – Type
[Link].keyframe_insert(type=’ALL’)
Insert keyframes for the specified channels
Parameters type (enum in [’ALL’, ‘SEL’, ‘GROUP’], (optional)) – Type
[Link].keyframe_type(type=’KEYFRAME’)
Set type of keyframe for the seleced keyframes
Parameters type (enum in [’KEYFRAME’, ‘BREAKDOWN’, ‘EXTREME’, ‘JITTER’], (optional))
– Type

2.3. Operators ([Link]) 11


Blender Index, Release 2.57.0 r36138 - API

[Link].markers_make_local()
Move selected scene markers to the active Action as local ‘pose’ markers
[Link](type=’CFRA’)
Flip selected keyframes over the selected mirror line
Parameters type (enum in [’CFRA’, ‘XAXIS’, ‘MARKER’], (optional)) – Type
[Link]()
Create new action
[Link](offset=’START’, merge=’MIX’)
Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame
Parameters
• offset (enum in [’START’, ‘END’, ‘RELATIVE’, ‘NONE’], (optional)) – Offset, Paste time
offset of keys
• merge (enum in [’MIX’, ‘OVER_ALL’, ‘OVER_RANGE’, ‘OVER_RANGE_ALL’], (op-
tional)) – Type, Method of merking pasted keys and existing
[Link].previewrange_set()
Set Preview Range based on extents of selected Keyframes
[Link]()
Add keyframes on every frame between the selected keyframes
[Link].select_all_toggle(invert=False)
Toggle selection of all keyframes
Parameters invert (boolean, (optional)) – Invert
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0,
axis_range=False)
Select all keyframes within the specified region
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
• axis_range (boolean, (optional)) – Axis Range
[Link].select_column(mode=’KEYS’)
Select all keyframes on the specified frame(s)
Parameters mode (enum in [’KEYS’, ‘CFRA’, ‘MARKERS_COLUMN’, ‘MARKERS_BETWEEN’],
(optional)) – Mode
[Link].select_leftright(mode=’CHECK’, extend=False)
Select keyframes to the left or the right of the current frame
Parameters
• mode (enum in [’CHECK’, ‘LEFT’, ‘RIGHT’], (optional)) – Mode
• extend (boolean, (optional)) – Extend Select

12 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].select_less()
Deselect keyframes on ends of selection islands
[Link].select_linked()
Select keyframes occurring the same F-Curves as selected ones
[Link].select_more()
Select keyframes beside already selected ones
[Link](type=’CFRA’)
Snap selected keyframes to the times specified
Parameters type (enum in [’CFRA’, ‘NEAREST_FRAME’, ‘NEAREST_SECOND’, ‘NEAR-
EST_MARKER’], (optional)) – Type
[Link].view_all()
Reset viewable area to show full keyframe range
[Link].view_selected()
Reset viewable area to show selected keyframes range

Anim Operators

[Link].change_frame(frame=0)
Interactively change the current frame number
Parameters frame (int in [-300000, 300000], (optional)) – Frame
[Link].channels_click(extend=False, children_only=False)
Handle mouse-clicks over animation channels
Parameters
• extend (boolean, (optional)) – Extend Select
• children_only (boolean, (optional)) – Select Children Only
[Link].channels_collapse(all=True)
Collapse (i.e. close) all selected expandable animation channels
Parameters all (boolean, (optional)) – All, Collapse all channels (not just selected ones)
[Link].channels_delete()
Delete all selected animation channels
[Link].channels_editable_toggle(mode=’TOGGLE’, type=’PROTECT’)
Toggle editability of selected channels
Parameters
• mode (enum in [’TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional)) – Mode
• type (enum in [’PROTECT’, ‘MUTE’], (optional)) – Type
[Link].channels_expand(all=True)
Expand (i.e. open) all selected expandable animation channels
Parameters all (boolean, (optional)) – All, Expand all channels (not just selected ones)
[Link].channels_fcurves_enable()
Clears ‘disabled’ tag from all F-Curves to get broken F-Curves working again
[Link].channels_move(direction=’DOWN’)
Rearrange selected animation channels

2.3. Operators ([Link]) 13


Blender Index, Release 2.57.0 r36138 - API

Parameters direction (enum in [’TOP’, ‘UP’, ‘DOWN’, ‘BOTTOM’], (optional)) – Direction


[Link].channels_select_all_toggle(invert=False)
Toggle selection of all animation channels
Parameters invert (boolean, (optional)) – Invert
[Link].channels_select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Select all animation channels within the specified region
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].channels_setting_disable(mode=’DISABLE’, type=’PROTECT’)
Disable specified setting on all selected animation channels
Parameters
• mode (enum in [’TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional)) – Mode
• type (enum in [’PROTECT’, ‘MUTE’], (optional)) – Type
[Link].channels_setting_enable(mode=’ENABLE’, type=’PROTECT’)
Enable specified setting on all selected animation channels
Parameters
• mode (enum in [’TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional)) – Mode
• type (enum in [’PROTECT’, ‘MUTE’], (optional)) – Type
[Link].channels_setting_toggle(mode=’INVERT’, type=’PROTECT’)
Invert specified setting on all selected animation channels
Parameters
• mode (enum in [’TOGGLE’, ‘DISABLE’, ‘ENABLE’, ‘INVERT’], (optional)) – Mode
• type (enum in [’PROTECT’, ‘MUTE’], (optional)) – Type
[Link].channels_visibility_set()
Make only the selected animation channels visible in the Graph Editor
[Link].channels_visibility_toggle()
Toggle visibility in Graph Editor of all selected animation channels
[Link].copy_driver_button()
Copy the driver for the highlighted button
[Link].driver_button_add(all=True)
Add driver(s) for the property(s) connected represented by the highlighted button
Parameters all (boolean, (optional)) – All, Create drivers for all elements of the array.
[Link].driver_button_remove(all=True)
Remove the driver(s) for the property(s) connected represented by the highlighted button
Parameters all (boolean, (optional)) – All, Delete drivers for all elements of the array.

14 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].keyframe_delete(type=’DEFAULT’, confirm_success=True)
Delete keyframes on the current frame for all properties in the specified Keying Set
Parameters
• type (enum in [’DEFAULT’], (optional)) – Keying Set, The Keying Set to use
• confirm_success (boolean, (optional)) – Confirm Successful Insert, Show a popup when
the keyframes get successfully added
[Link].keyframe_delete_button(all=True)
Undocumented (contribute)
Parameters all (boolean, (optional)) – All, Delete keyfames from all elements of the array.
[Link].keyframe_delete_v3d()
Undocumented (contribute)
[Link].keyframe_insert(type=’DEFAULT’, confirm_success=True)
Insert keyframes on the current frame for all properties in the specified Keying Set
Parameters
• type (enum in [’DEFAULT’], (optional)) – Keying Set, The Keying Set to use
• confirm_success (boolean, (optional)) – Confirm Successful Insert, Show a popup when
the keyframes get successfully added
[Link].keyframe_insert_button(all=True)
Undocumented (contribute)
Parameters all (boolean, (optional)) – All, Insert a keyframe for all element of the array.
[Link].keyframe_insert_menu(type=’DEFAULT’, confirm_success=False, al-
ways_prompt=False)
Insert Keyframes for specified Keying Set, with menu of available Keying Sets if undefined
Parameters
• type (enum in [’DEFAULT’], (optional)) – Keying Set, The Keying Set to use
• confirm_success (boolean, (optional)) – Confirm Successful Insert, Show a popup when
the keyframes get successfully added
• always_prompt (boolean, (optional)) – Always Show Menu
[Link].keying_set_active_set(type=0)
Undocumented (contribute)
Parameters type (int in [-inf, inf], (optional)) – Keying Set Number, Index (determined internally)
of the Keying Set to use
[Link].keying_set_add()
Add a new (empty) Keying Set to the active Scene
[Link].keying_set_export(filepath=”“, filter_folder=True, filter_text=True, fil-
ter_python=True)
Export Keying Set to a python script.
Parameters
• filepath (string, (optional)) – File Path, Filepath to write file to.
• filter_folder (boolean, (optional)) – Filter folders
• filter_text (boolean, (optional)) – Filter text

2.3. Operators ([Link]) 15


Blender Index, Release 2.57.0 r36138 - API

• filter_python (boolean, (optional)) – Filter python


File startup/bl_ui/properties_scene.py:211
[Link].keying_set_path_add()
Add empty path to active Keying Set
[Link].keying_set_path_remove()
Remove active Path from active Keying Set
[Link].keying_set_remove()
Remove the active Keying Set
[Link].keyingset_button_add(all=True)
Undocumented (contribute)
Parameters all (boolean, (optional)) – All, Add all elements of the array to a Keying Set.
[Link].keyingset_button_remove()
Undocumented (contribute)
[Link].paste_driver_button()
Paste the driver in the copy/paste buffer for the highlighted button
[Link].previewrange_clear()
Clear Preview Range
[Link].previewrange_set(xmin=0, xmax=0, ymin=0, ymax=0)
Interactively define frame range used for playback
Parameters
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].time_toggle()
Toggle whether timing is displayed in frames or seconds for active timeline view
[Link].update_data_paths()
Update data paths from 2.53 to edited data paths of drivers and fcurves
File startup/bl_operators/animsys_update.py:696

Armature Operators

[Link]()
Align selected bones to the active bone (or to their parent)
[Link].armature_layers(layers=(False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False))
Change the visible armature layers
Parameters layers (boolean array of 32 items, (optional)) – Layer, Armature layers to make visible
[Link].autoside_names(type=’XAXIS’)
Automatically renames the selected bones according to which side of the target axis they fall on

16 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters type (enum in [’XAXIS’, ‘YAXIS’, ‘ZAXIS’], (optional)) – Axis, Axis tag names with.
[Link].bone_layers(layers=(False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False))
Change the layers that the selected bones belong to
Parameters layers (boolean array of 32 items, (optional)) – Layer, Armature layers that bone be-
longs to
[Link].bone_primitive_add(name=”Bone”)
Add a new bone located at the 3D-Cursor
Parameters name (string, (optional)) – Name, Name of the newly created bone
[Link].calculate_roll(type=’X’, axis_flip=False, axis_only=False)
Automatically fix alignment of select bones’ axes
Parameters
• type (enum in [’X’, ‘Y’, ‘Z’, ‘ACTIVE’, ‘VIEW’, ‘CURSOR’], (optional)) – Type
• axis_flip (boolean, (optional)) – Flip Axis, Negate the alignment axis.
• axis_only (boolean, (optional)) – Shortest Rotation, Ignore the axis direction, use the short-
est rotation to align.
[Link].click_extrude()
Create a new bone going from the last selected joint to the mouse position
[Link]()
Remove selected bones from the armature
[Link]()
Make copies of the selected bones within the same armature
[Link].duplicate_move(ARMATURE_OT_duplicate=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• ARMATURE_OT_duplicate (ARMATURE_OT_duplicate, (optional)) – Duplicate Se-
lected Bone(s), Make copies of the selected bones within the same armature
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link](forked=False)
Create new bones from the selected joints
Parameters forked (boolean, (optional)) – Forked
[Link].extrude_forked(ARMATURE_OT_extrude=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• ARMATURE_OT_extrude (ARMATURE_OT_extrude, (optional)) – Extrude, Create
new bones from the selected joints
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items

2.3. Operators ([Link]) 17


Blender Index, Release 2.57.0 r36138 - API

[Link].extrude_move(ARMATURE_OT_extrude=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• ARMATURE_OT_extrude (ARMATURE_OT_extrude, (optional)) – Extrude, Create
new bones from the selected joints
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link]()
Add bone between selected joint(s) and/or 3D-Cursor
[Link].flags_set(type=’DRAWWIRE’, mode=’CLEAR’)
Set flags for armature bones
Parameters
• type (enum in [’DRAWWIRE’, ‘DEFORM’, ‘MULT_VG’, ‘HINGE’, ‘NO_SCALE’,
‘LOCKED’], (optional)) – Type
• mode (enum in [’CLEAR’, ‘ENABLE’, ‘TOGGLE’], (optional)) – Mode
[Link].flip_names()
Flips (and corrects) the axis suffixes of the names of selected bones
[Link](unselected=False)
Tag selected bones to not be visible in Edit Mode
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.
[Link].layers_show_all(all=True)
Make all armature layers visible
Parameters all (boolean, (optional)) – All Layers, Enable all layers or just the first 16 (top row)
[Link](type=’WITHIN_CHAIN’)
Merge continuous chains of selected bones
Parameters type (enum in [’WITHIN_CHAIN’], (optional)) – Type
[Link].parent_clear(type=’CLEAR’)
Remove the parent-child relationship between selected bones and their parents
Parameters type (enum in [’CLEAR’, ‘DISCONNECT’], (optional)) – ClearType, What way to
clear parenting
[Link].parent_set(type=’CONNECTED’)
Set the active bone as the parent of the selected bones
Parameters type (enum in [’CONNECTED’, ‘OFFSET’], (optional)) – ParentType, Type of parent-
ing
[Link]()
Unhide all bones that have been tagged to be hidden in Edit Mode
[Link].select_all(action=’TOGGLE’)
Toggle selection status of all bones
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_hierarchy(direction=’PARENT’, extend=False)
Select immediate parent/children of selected bones

18 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• direction (enum in [’PARENT’, ‘CHILD’], (optional)) – Direction
• extend (boolean, (optional)) – Add to Selection
[Link].select_inverse()
Flip the selection status of bones (selected -> unselected, unselected -> selected)
[Link].select_linked(extend=False)
Select bones related to selected ones by parent/child relationships
Parameters extend (boolean, (optional)) – Extend, Extend selection instead of deselecting every-
thing first.
[Link]()
Isolate selected bones into a separate armature
[Link](number_cuts=1)
Break selected bones into chains of smaller bones
Parameters number_cuts (int in [1, inf], (optional)) – Number of Cuts
[Link].switch_direction()
Change the direction that a chain of bones points in (head <-> tail swap)

Boid Operators

[Link].rule_add(type=’GOAL’)
Add a boid rule to the current boid state
Parameters type (enum in [’GOAL’, ‘AVOID’, ‘AVOID_COLLISION’, ‘SEPARATE’, ‘FLOCK’,
‘FOLLOW_LEADER’, ‘AVERAGE_SPEED’, ‘FIGHT’], (optional)) – Type
[Link].rule_del()
Undocumented (contribute)
[Link].rule_move_down()
Move boid rule down in the list
[Link].rule_move_up()
Move boid rule up in the list
[Link].state_add()
Add a boid state to the particle system
[Link].state_del()
Undocumented (contribute)
[Link].state_move_down()
Move boid state down in the list
[Link].state_move_up()
Move boid state up in the list

Brush Operators

[Link].active_index_set(mode=”“, index=0)
Set active sculpt/paint brush from it’s number
Parameters

2.3. Operators ([Link]) 19


Blender Index, Release 2.57.0 r36138 - API

• mode (string, (optional)) – mode, Paint mode to set brush for


• index (int in [-inf, inf], (optional)) – number, Brush number
File startup/bl_operators/[Link]
[Link]()
Add brush by mode type
[Link].curve_preset(shape=’SMOOTH’)
Set brush shape
Parameters shape (enum in [’SHARP’, ‘SMOOTH’, ‘MAX’, ‘LINE’, ‘ROUND’, ‘ROOT’], (op-
tional)) – Mode
[Link].image_tool_set(tool=’DRAW’)
Set the image tool
Parameters tool (enum in [’DRAW’, ‘SOFTEN’, ‘SMEAR’, ‘CLONE’], (optional)) – Tool
[Link]()
Return brush to defaults based on current tool
[Link].scale_size(scalar=1.0)
Change brush size by a scalar
Parameters scalar (float in [0, 2], (optional)) – Scalar, Factor to scale brush size by
[Link].sculpt_tool_set(tool=’BLOB’)
Set the sculpt tool
Parameters tool (enum in [’BLOB’, ‘CLAY’, ‘CREASE’, ‘DRAW’, ‘FILL’, ‘FLATTEN’,
‘GRAB’, ‘INFLATE’, ‘LAYER’, ‘NUDGE’, ‘PINCH’, ‘ROTATE’, ‘SCRAPE’, ‘SMOOTH’,
‘SNAKE_HOOK’, ‘THUMB’], (optional)) – Tool
[Link].vertex_tool_set(tool=’MIX’)
Set the vertex paint tool
Parameters tool (enum in [’MIX’, ‘ADD’, ‘SUB’, ‘MUL’, ‘BLUR’, ‘LIGHTEN’, ‘DARKEN’], (op-
tional)) – Tool
[Link].weight_tool_set(tool=’MIX’)
Set the weight paint tool
Parameters tool (enum in [’MIX’, ‘ADD’, ‘SUB’, ‘MUL’, ‘BLUR’, ‘LIGHTEN’, ‘DARKEN’], (op-
tional)) – Tool

Buttons Operators

[Link].file_browse(filepath=”“, filter_blender=False, filter_image=False, fil-


ter_movie=False, filter_python=False, filter_font=False, fil-
ter_sound=False, filter_text=False, filter_btx=False, fil-
ter_collada=False, filter_folder=False, filemode=9, rela-
tive_path=False)
Open a file browser, Hold Shift to open the file, Alt to browse containing directory
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files

20 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• filter_movie (boolean, (optional)) – Filter movie files


• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
[Link]()
Display button panel toolbox

Cloth Operators

[Link].preset_add(name=”“, remove_active=False)
Add a Cloth Preset
Parameters name (string, (optional)) – Name, Name of the preset, used to make the path name
File startup/bl_operators/[Link]

Console Operators

[Link]()
Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
File startup/bl_ui/space_console.py:108
[Link]()
Print a message whem the terminal initializes
File startup/bl_ui/space_console.py:125
[Link](scrollback=True, history=False)
Clear text by type
Parameters
• scrollback (boolean, (optional)) – Scrollback, Clear the scrollback history
• history (boolean, (optional)) – History, Clear the command history
[Link]()
Copy selected text to clipboard
[Link](type=’NEXT_CHARACTER’)
Delete text by cursor position
Parameters type (enum in [’NEXT_CHARACTER’, ‘PREVIOUS_CHARACTER’], (optional)) –
Type, Which part of the text to delete.

2.3. Operators ([Link]) 21


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Execute the current console line as a python expression
File startup/bl_ui/space_console.py:90
[Link].history_append(text=”“, current_character=0, remove_duplicates=False)
Append history at cursor position
Parameters
• text (string, (optional)) – Text, Text to insert at the cursor position.
• current_character (int in [0, inf], (optional)) – Cursor, The index of the cursor.
• remove_duplicates (boolean, (optional)) – Remove Duplicates, Remove duplicate items in
the history
[Link].history_cycle(reverse=False)
Cycle through history
Parameters reverse (boolean, (optional)) – Reverse, reverse cycle history
[Link](text=”“)
Insert text at cursor position
Parameters text (string, (optional)) – Text, Text to insert at the cursor position.
[Link](language=”“)
Set the current language for this console
Parameters language (string, (optional)) – Language
File startup/bl_ui/space_console.py:148
[Link](type=’LINE_BEGIN’)
Move cursor position
Parameters type (enum in [’LINE_BEGIN’, ‘LINE_END’, ‘PREVIOUS_CHARACTER’,
‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’], (optional)) – Type, Where to
move cursor to.
[Link]()
Paste text from clipboard
[Link].scrollback_append(text=”“, type=’OUTPUT’)
Append scrollback text by type
Parameters
• text (string, (optional)) – Text, Text to insert at the cursor position.
• type (enum in [’OUTPUT’, ‘INPUT’, ‘INFO’, ‘ERROR’], (optional)) – Type, Console out-
put type.
[Link].select_set()
Set the console selection

Constraint Operators

[Link].childof_clear_inverse(constraint=”“, owner=’OBJECT’)
Clear inverse correction for ChildOf constraint
Parameters
• constraint (string, (optional)) – Constraint, Name of the constraint to edit

22 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• owner (enum in [’OBJECT’, ‘BONE’], (optional)) – Owner, The owner of this constraint
[Link].childof_set_inverse(constraint=”“, owner=’OBJECT’)
Set inverse correction for ChildOf constraint
Parameters
• constraint (string, (optional)) – Constraint, Name of the constraint to edit
• owner (enum in [’OBJECT’, ‘BONE’], (optional)) – Owner, The owner of this constraint
[Link]()
Remove constraint from constraint stack
[Link].limitdistance_reset(constraint=”“, owner=’OBJECT’)
Reset limiting distance for Limit Distance Constraint
Parameters
• constraint (string, (optional)) – Constraint, Name of the constraint to edit
• owner (enum in [’OBJECT’, ‘BONE’], (optional)) – Owner, The owner of this constraint
[Link].move_down(constraint=”“, owner=’OBJECT’)
Move constraint down in constraint stack
Parameters
• constraint (string, (optional)) – Constraint, Name of the constraint to edit
• owner (enum in [’OBJECT’, ‘BONE’], (optional)) – Owner, The owner of this constraint
[Link].move_up(constraint=”“, owner=’OBJECT’)
Move constraint up in constraint stack
Parameters
• constraint (string, (optional)) – Constraint, Name of the constraint to edit
• owner (enum in [’OBJECT’, ‘BONE’], (optional)) – Owner, The owner of this constraint
[Link].stretchto_reset(constraint=”“, owner=’OBJECT’)
Reset original length of bone for Stretch To Constraint
Parameters
• constraint (string, (optional)) – Constraint, Name of the constraint to edit
• owner (enum in [’OBJECT’, ‘BONE’], (optional)) – Owner, The owner of this constraint

Curve Operators

[Link].cyclic_toggle(direction=’CYCLIC_U’)
Make active spline closed/opened loop
Parameters direction (enum in [’CYCLIC_U’, ‘CYCLIC_V’], (optional)) – Direction, Direction to
make surface cyclic in.
[Link].de_select_first()
Undocumented (contribute)
[Link].de_select_last()
Undocumented (contribute)
[Link](type=’SELECTED’)
Delete selected control points or segments

2.3. Operators ([Link]) 23


Blender Index, Release 2.57.0 r36138 - API

Parameters type (enum in [’SELECTED’, ‘SEGMENT’, ‘ALL’], (optional)) – Type, Which ele-
ments to delete.
[Link](mode=’TRANSLATION’)
Duplicate selected control points and segments between them
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link](mode=’TRANSLATION’)
Extrude selected control point(s) and move
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].handle_type_set(type=’AUTOMATIC’)
Set type of handles for selected control points
Parameters type (enum in [’AUTOMATIC’, ‘VECTOR’, ‘ALIGNED’, ‘FREE_ALIGN’, ‘TOG-
GLE_FREE_ALIGN’], (optional)) – Type, Spline type
[Link](unselected=False)
Undocumented (contribute)
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.
[Link].make_segment()
Undocumented (contribute)
[Link].primitive_bezier_circle_add(view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False, False, False,
False, False, False, False, False, False, False,
False, False, False, False, False, False, False))
Construct a Bezier Circle
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer

24 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].primitive_bezier_curve_add(view_align=False, enter_editmode=False, loca-


tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False, False, False,
False, False, False, False, False, False, False,
False, False, False, False, False, False, False))
Construct a Bezier Curve
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_nurbs_circle_add(view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False, False, False,
False, False, False, False, False, False, False,
False, False, False, False, False, False, False))
Construct a Nurbs Circle
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_nurbs_curve_add(view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False, False, False, False,
False, False, False, False, False, False, False,
False, False, False, False, False, False))
Construct a Nurbs Curve
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object

2.3. Operators ([Link]) 25


Blender Index, Release 2.57.0 r36138 - API

• layers (boolean array of 20 items, (optional)) – Layer


[Link].primitive_nurbs_path_add(view_align=False, enter_editmode=False, lo-
cation=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0),
layers=(False, False, False, False, False, False,
False, False, False, False, False, False, False, False,
False, False, False, False, False, False))
Construct a Path
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].radius_set(radius=1.0)
Set per-point radius which is used for bevel tapering
Parameters radius (float in [0, inf], (optional)) – Radius
[Link]()
Undocumented (contribute)
[Link].select_all(action=’TOGGLE’)
Undocumented (contribute)
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_inverse()
Undocumented (contribute)
[Link].select_less()
Undocumented (contribute)
[Link].select_linked()
Undocumented (contribute)
[Link].select_linked_pick(deselect=False)
Undocumented (contribute)
Parameters deselect (boolean, (optional)) – Deselect, Deselect linked control points rather than
selecting them.
[Link].select_more()
Undocumented (contribute)
[Link].select_next()
Undocumented (contribute)
[Link].select_nth(nth=2)
Undocumented (contribute)
Parameters nth (int in [2, 100], (optional)) – Nth Selection

26 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].select_previous()
Undocumented (contribute)
[Link].select_random(percent=50.0, extend=False)
Undocumented (contribute)
Parameters
• percent (float in [0, 100], (optional)) – Percent, Percentage of elements to select randomly.
• extend (boolean, (optional)) – Extend Selection, Extend selection instead of deselecting
everything first.
[Link].select_row()
Undocumented (contribute)
[Link]()
Undocumented (contribute)
[Link].shade_flat()
Undocumented (contribute)
[Link].shade_smooth()
Undocumented (contribute)
[Link]()
Flatten angles of selected points
[Link].smooth_radius()
Flatten radiuses of selected points
[Link](center=(0.0, 0.0, 0.0), axis=(0.0, 0.0, 0.0))
Undocumented (contribute)
Parameters
• center (float array of 3 items in [-inf, inf], (optional)) – Center, Center in global view space
• axis (float array of 3 items in [-1, 1], (optional)) – Axis, Axis in global view space
[Link].spline_type_set(type=’POLY’)
Set type of actibe spline
Parameters type (enum in [’POLY’, ‘BEZIER’, ‘NURBS’], (optional)) – Type, Spline type
[Link].spline_weight_set(weight=1.0)
Set softbody goal weight for selected points
Parameters weight (float in [0, 1], (optional)) – Weight
[Link](number_cuts=1)
Subdivide selected segments
Parameters number_cuts (int in [1, inf], (optional)) – Number of cuts
[Link].switch_direction()
Switch direction of selected splines
[Link].tilt_clear()
Undocumented (contribute)
[Link].vertex_add(location=(0.0, 0.0, 0.0))
Undocumented (contribute)
Parameters location (float array of 3 items in [-inf, inf], (optional)) – Location, Location to add
new vertex at.

2.3. Operators ([Link]) 27


Blender Index, Release 2.57.0 r36138 - API

Ed Operators

[Link]()
Redo previous action
[Link]()
Undo previous action
[Link].undo_push(message=”Add an undo step *function may be moved*”)
Add an undo state (internal use only)
Parameters message (string, (optional)) – Undo Message

Export Anim Operators

[Link].export_anim.bvh(filepath=”“, check_existing=True, filter_glob=”*.bvh”, global_scale=1.0,


frame_start=0, frame_end=0)
Save a BVH motion capture file from an armature
Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• global_scale (float in [0.0001, 1e+06], (optional)) – Scale, Scale the BVH by this value
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Starting frame to export
• frame_end (int in [-inf, inf], (optional)) – End Frame, End frame to export
File addons/io_anim_bvh/__init__.py:109

Export Mesh Operators

[Link].export_mesh.ply(filepath=”“, check_existing=True, filter_glob=”*.ply”,


use_modifiers=True, use_normals=True, use_uv_coords=True,
use_colors=True)
Export a single object as a stanford PLY with normals, colours and texture coordinates.
Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• use_modifiers (boolean, (optional)) – Apply Modifiers, Apply Modifiers to the exported
mesh
• use_normals (boolean, (optional)) – Normals, Export Normals for smooth and hard shaded
faces
• use_uv_coords (boolean, (optional)) – UVs, Exort the active UV layer
• use_colors (boolean, (optional)) – Vertex Colors, Exort the active vertex color layer
File addons/io_mesh_ply/__init__.py:95
[Link].export_mesh.stl(filepath=”“, check_existing=True, ascii=False, apply_modifiers=True)
Save STL triangle mesh data from the active object

28 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• ascii (boolean, (optional)) – Ascii, Save the file in ASCII file format
• apply_modifiers (boolean, (optional)) – Apply Modifiers, Apply the modifiers before sav-
ing
File addons/io_mesh_stl/__init__.py:117

Export Scene Operators

[Link].export_scene.autodesk_3ds(filepath=”“, check_existing=True, filter_glob=”*.3ds”,


use_selection=False)
Export to 3DS file format (.3ds)
Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• use_selection (boolean, (optional)) – Selection Only, Export selected objects only
File addons/io_scene_3ds/__init__.py:76
[Link].export_scene.fbx(filepath=”“, check_existing=True, filter_glob=”*.fbx”,
use_selection=True, TX_SCALE=1.0, TX_XROT90=True,
TX_YROT90=False, TX_ZROT90=False, EXP_EMPTY=True,
EXP_CAMERA=True, EXP_LAMP=True, EXP_ARMATURE=True,
EXP_MESH=True, EXP_MESH_APPLY_MOD=True,
EXP_IMAGE_COPY=False, ANIM_ENABLE=True,
ANIM_OPTIMIZE=True, ANIM_OPTIMIZE_PRECISSION=6.0,
ANIM_ACTION_ALL=False, batch_mode=’OFF’,
BATCH_OWN_DIR=True, use_metadata=True)
Selection to an ASCII Autodesk FBX
Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• use_selection (boolean, (optional)) – Selected Objects, Export selected objects on visible
layers
• TX_SCALE (float in [0.01, 1000], (optional)) – Scale, Scale all data, (Note! some imports
dont support scaled armatures)
• TX_XROT90 (boolean, (optional)) – Rot X90, Rotate all objects 90 degrees about the X
axis
• TX_YROT90 (boolean, (optional)) – Rot Y90, Rotate all objects 90 degrees about the Y
axis
• TX_ZROT90 (boolean, (optional)) – Rot Z90, Rotate all objects 90 degrees about the Z
axis

2.3. Operators ([Link]) 29


Blender Index, Release 2.57.0 r36138 - API

• EXP_EMPTY (boolean, (optional)) – Empties, Export empty objects


• EXP_CAMERA (boolean, (optional)) – Cameras, Export camera objects
• EXP_LAMP (boolean, (optional)) – Lamps, Export lamp objects
• EXP_ARMATURE (boolean, (optional)) – Armatures, Export armature objects
• EXP_MESH (boolean, (optional)) – Meshes, Export mesh objects
• EXP_MESH_APPLY_MOD (boolean, (optional)) – Modifiers, Apply modifiers to mesh
objects
• EXP_IMAGE_COPY (boolean, (optional)) – Copy Image Files, Copy image files to the
destination path
• ANIM_ENABLE (boolean, (optional)) – Enable Animation, Export keyframe animation
• ANIM_OPTIMIZE (boolean, (optional)) – Optimize Keyframes, Remove double
keyframes
• ANIM_OPTIMIZE_PRECISSION (float in [1, 16], (optional)) – Precision, Tolerence for
comparing double keyframes (higher for greater accuracy)
• ANIM_ACTION_ALL (boolean, (optional)) – All Actions, Use all actions for armatures,
if false, use current action
• batch_mode (enum in [’OFF’, ‘SCENE’, ‘GROUP’], (optional)) – Batch Mode
• BATCH_OWN_DIR (boolean, (optional)) – Own Dir, Create a dir for each exported file
• use_metadata (boolean, (optional)) – Use Metadata
File addons/io_scene_fbx/__init__.py:94
[Link].export_scene.obj(filepath=”“, check_existing=True, filter_glob=”*.obj;*.mtl”,
use_selection=False, use_all_scenes=False, use_animation=False,
use_apply_modifiers=True, use_rotate_x90=True, use_edges=True,
use_normals=False, use_hq_normals=True, use_uvs=True,
use_materials=True, copy_images=False, use_triangles=False,
use_vertex_groups=False, use_nurbs=False, use_blen_objects=True,
group_by_object=False, group_by_material=False,
keep_vertex_order=False)
Save a Wavefront OBJ File
Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• use_selection (boolean, (optional)) – Selection Only, Export selected objects only
• use_all_scenes (boolean, (optional)) – All Scenes
• use_animation (boolean, (optional)) – Animation
• use_apply_modifiers (boolean, (optional)) – Apply Modifiers, Apply modifiers (preview
resolution)
• use_rotate_x90 (boolean, (optional)) – Rotate X90
• use_edges (boolean, (optional)) – Edges
• use_normals (boolean, (optional)) – Normals

30 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• use_hq_normals (boolean, (optional)) – High Quality Normals


• use_uvs (boolean, (optional)) – UVs
• use_materials (boolean, (optional)) – Materials
• copy_images (boolean, (optional)) – Copy Images
• use_triangles (boolean, (optional)) – Triangulate
• use_vertex_groups (boolean, (optional)) – Polygroups
• use_nurbs (boolean, (optional)) – Nurbs
• use_blen_objects (boolean, (optional)) – Objects as OBJ Objects
• group_by_object (boolean, (optional)) – Objects as OBJ Groups
• group_by_material (boolean, (optional)) – Material Groups
• keep_vertex_order (boolean, (optional)) – Keep Vertex Order
File addons/io_scene_obj/__init__.py:116
[Link].export_scene.x3d(filepath=”“, check_existing=True, filter_glob=”*.x3d”,
use_selection=False, use_apply_modifiers=True, use_triangulate=False,
use_compress=False)
Export selection to Extensible 3D file (.x3d)
Parameters
• filepath (string, (optional)) – File Path, Filepath used for exporting the file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• use_selection (boolean, (optional)) – Selection Only, Export selected objects only
• use_apply_modifiers (boolean, (optional)) – Apply Modifiers, Use transformed mesh data
from each object
• use_triangulate (boolean, (optional)) – Triangulate, Triangulate quads.
• use_compress (boolean, (optional)) – Compress, GZip the resulting file, requires a full
python install
File addons/io_scene_x3d/__init__.py:73

File Operators

[Link].bookmark_add()
Add a bookmark for the selected/active directory
[Link].bookmark_toggle()
Toggle bookmarks display
[Link]()
Cancel loading of selected file
[Link]()
Delete selected file
[Link].delete_bookmark(index=-1)
Delete selected bookmark
Parameters index (int in [-1, 20000], (optional)) – Index

2.3. Operators ([Link]) 31


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Enter a directory name
[Link].directory_new(directory=”“)
Create a new directory
Parameters directory (string, (optional)) – Directory, Name of new directory
[Link](need_active=False)
Execute selected file
Parameters need_active (boolean, (optional)) – Need Active, Only execute if there’s an active
selected file in the file list.
[Link](increment=1)
Increment number in filename
Parameters increment (int in [0, 100], (optional)) – Increment
[Link].find_missing_files(filepath=”“, filter_blender=False, filter_image=False, fil-
ter_movie=False, filter_python=False, filter_font=False,
filter_sound=False, filter_text=False, filter_btx=False, fil-
ter_collada=False, filter_folder=False, filemode=9)
Undocumented (contribute)
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
[Link]()
Toggle hide hidden dot files
[Link]()
Highlight selected file(s)
[Link].make_paths_absolute()
Undocumented (contribute)
[Link].make_paths_relative()
Undocumented (contribute)
[Link]()
Move to next folder

32 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].pack_all()
Undocumented (contribute)
[Link]()
Move to parent directory
[Link]()
Move to previous folder
[Link]()
Refresh the file list
[Link]()
Rename file or file directory
[Link].report_missing_files()
Undocumented (contribute)
[Link](extend=False, fill=False)
Activate/select file
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• fill (boolean, (optional)) – Fill, Select everything beginning with the last selection.
[Link].select_all_toggle()
Select/deselect all files
[Link].select_bookmark(dir=”“)
Select a bookmarked directory
Parameters dir (string, (optional)) – Dir
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Activate/select the file(s) contained in the border
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link]()
Smooth scroll to make editable file visible.
[Link].unpack_all(method=’USE_LOCAL’)
Undocumented (contribute)
Parameters method (enum in [’USE_LOCAL’, ‘WRITE_LOCAL’, ‘USE_ORIGINAL’,
‘WRITE_ORIGINAL’, ‘KEEP’, ‘ASK’], (optional)) – Method, How to unpack.

Fluid Operators

[Link]()
Bake fluid simulation

2.3. Operators ([Link]) 33


Blender Index, Release 2.57.0 r36138 - API

Font Operators

[Link].buffer_paste()
Paste text from OS buffer
[Link].case_set(case=’LOWER’)
Set font case
Parameters case (enum in [’LOWER’, ‘UPPER’], (optional)) – Case, Lower or upper case.
[Link].case_toggle()
Toggle font case
[Link].change_character(delta=1)
Change font character code
Parameters delta (int in [-255, 255], (optional)) – Delta, Number to increase or decrease character
code with.
[Link].change_spacing(delta=1)
Change font spacing
Parameters delta (int in [-20, 20], (optional)) – Delta, Amount to decrease or increasing character
spacing with.
[Link](type=’ALL’)
Delete text by cursor position
Parameters type (enum in [’ALL’, ‘NEXT_CHARACTER’, ‘PREVIOUS_CHARACTER’, ‘SE-
LECTION’, ‘NEXT_OR_SELECTION’, ‘PREVIOUS_OR_SELECTION’], (optional)) – Type,
Which part of the text to delete.
[Link].file_paste(filepath=”“, filter_blender=False, filter_image=False, filter_movie=False,
filter_python=False, filter_font=False, filter_sound=False, fil-
ter_text=True, filter_btx=False, filter_collada=False, filter_folder=True,
filemode=9)
Paste contents from file
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file

34 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].insert_lorem()
Insert placeholder text
[Link].line_break(ctrl=False)
Insert line break at cursor position
Parameters ctrl (boolean, (optional)) – Ctrl
[Link](type=’LINE_BEGIN’)
Move cursor to position type
Parameters type (enum in [’LINE_BEGIN’, ‘LINE_END’, ‘PREVIOUS_CHARACTER’,
‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PREVIOUS_LINE’,
‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type, Where to move
cursor to.
[Link].move_select(type=’LINE_BEGIN’)
Make selection from current cursor position to new cursor position type
Parameters type (enum in [’LINE_BEGIN’, ‘LINE_END’, ‘PREVIOUS_CHARACTER’,
‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PREVIOUS_LINE’,
‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type, Where to move
cursor to, to make a selection.
[Link](filepath=”“, filter_blender=False, filter_image=False, filter_movie=False, fil-
ter_python=False, filter_font=True, filter_sound=False, filter_text=False,
filter_btx=False, filter_collada=False, filter_folder=True, filemode=9, rela-
tive_path=False)
Undocumented (contribute)
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
[Link].style_set(style=’BOLD’, clear=False)
Set font style
Parameters
• style (enum in [’BOLD’, ‘ITALIC’, ‘UNDERLINE’, ‘SMALL_CAPS’], (optional)) – Style,
Style to set selection to.

2.3. Operators ([Link]) 35


Blender Index, Release 2.57.0 r36138 - API

• clear (boolean, (optional)) – Clear, Clear style rather than setting it.
[Link].style_toggle(style=’BOLD’)
Toggle font style
Parameters style (enum in [’BOLD’, ‘ITALIC’, ‘UNDERLINE’, ‘SMALL_CAPS’], (optional)) –
Style, Style to set selection to.
[Link].text_copy()
Copy selected text to clipboard
[Link].text_cut()
Cut selected text to clipboard
[Link].text_insert(text=”“, accent=False)
Insert text at cursor position
Parameters
• text (string, (optional)) – Text, Text to insert at the cursor position.
• accent (boolean, (optional)) – Accent mode, Next typed character will strike through pre-
vious, for special character input.
[Link].text_paste()
Paste text from clipboard
[Link].textbox_add()
Add a new text box
[Link].textbox_remove(index=0)
Remove the textbox
Parameters index (int in [0, inf], (optional)) – Index, The current text box.
[Link]()
Unlink active font data block

Gpencil Operators

[Link].active_frame_delete()
Delete the active frame for the active Grease Pencil datablock
[Link](type=’PATH’)
Convert the active Grease Pencil layer to a new Object
Parameters type (enum in [’PATH’, ‘CURVE’], (optional)) – Type
[Link].data_add()
Add new Grease Pencil datablock
[Link].data_unlink()
Unlink active Grease Pencil datablock
[Link](mode=’DRAW’, stroke=None)
Make annotations on the active data
Parameters
• mode (enum in [’DRAW’, ‘DRAW_STRAIGHT’, ‘ERASER’], (optional)) – Mode, Way to
intepret mouse movements.
• stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) –
Stroke

36 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].layer_add()
Add new Grease Pencil layer for the active Grease Pencil datablock

Graph Operators

[Link]()
Bake selected F-Curves to a set of sampled points defining a similar curve
[Link](threshold=0.001)
Simplify F-Curves by removing closely spaced keyframes
Parameters threshold (float in [0, inf], (optional)) – Threshold
[Link].click_insert(frame=1.0, value=1.0)
Insert new keyframe at the cursor position for the active F-Curve
Parameters
• frame (float in [-inf, inf], (optional)) – Frame Number, Frame to insert keyframe on
• value (float in [-inf, inf], (optional)) – Value, Value for keyframe on
[Link](extend=False, column=False, curves=False)
Select keyframes by clicking on them
Parameters
• extend (boolean, (optional)) – Extend Select
• column (boolean, (optional)) – Column Select, Select all keyframes that occur on the same
frame as the one under the mouse
• curves (boolean, (optional)) – Only Curves, Select all the keyframes in the curve
[Link]()
Copy selected keyframes to the copy/paste buffer
[Link].cursor_set(frame=0, value=0.0)
Interactively set the current frame number and value cursor
Parameters
• frame (int in [-300000, 300000], (optional)) – Frame
• value (float in [1.17549e-38, inf], (optional)) – Value
[Link]()
Remove all selected keyframes
[Link](mode=’TRANSLATION’)
Make a copy of all selected keyframes
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].duplicate_move(GRAPH_OT_duplicate=None, TRANS-
FORM_OT_transform=None)
Undocumented (contribute)
Parameters

2.3. Operators ([Link]) 37


Blender Index, Release 2.57.0 r36138 - API

• GRAPH_OT_duplicate (GRAPH_OT_duplicate, (optional)) – Duplicate Keyframes,


Make a copy of all selected keyframes
• TRANSFORM_OT_transform (TRANSFORM_OT_transform, (optional)) – Trans-
form, Transform selected items by mode type
[Link].euler_filter()
Fixes the most common causes of gimbal lock in the selected Euler Rotation F-Curves
[Link].extrapolation_type(type=’CONSTANT’)
Set extrapolation mode for selected F-Curves
Parameters type (enum in [’CONSTANT’, ‘LINEAR’], (optional)) – Type
[Link].fmodifier_add(type=’NULL’, only_active=True)
Add F-Modifiers to the selected F-Curves
Parameters
• type (enum in [’NULL’, ‘GENERATOR’, ‘FNGENERATOR’, ‘ENVELOPE’, ‘CYCLES’,
‘NOISE’, ‘FILTER’, ‘LIMITS’, ‘STEPPED’], (optional)) – Type
• only_active (boolean, (optional)) – Only Active, Only add F-Modifier to active F-Curve.
[Link].fmodifier_copy()
Copy the F-Modifier(s) of the active F-Curve.
[Link].fmodifier_paste()
Add copied F-Modifiers to the selected F-Curves
[Link].frame_jump()
Set the current frame to the average frame of the selected keyframes
[Link].ghost_curves_clear()
Clear F-Curve snapshots (Ghosts) for active Graph Editor
[Link].ghost_curves_create()
Create snapshot (Ghosts) of selected F-Curves as background aid for active Graph Editor
[Link].handle_type(type=’FREE_ALIGN’)
Set type of handle for selected keyframes
Parameters type (enum in [’AUTO’, ‘VECTOR’, ‘ALIGNED’, ‘FREE_ALIGN’,
‘ANIM_CLAMPED’], (optional)) – Type
[Link].handles_view_toggle()
Toggle whether handles are drawn on all keyframes that need them
[Link].interpolation_type(type=’CONSTANT’)
Set interpolation mode for the F-Curve segments starting from the selected keyframes
Parameters type (enum in [’CONSTANT’, ‘LINEAR’, ‘BEZIER’], (optional)) – Type
[Link].keyframe_insert(type=’ALL’)
Insert keyframes for the specified channels
Parameters type (enum in [’ALL’, ‘SEL’], (optional)) – Type
[Link](type=’CFRA’)
Flip selected keyframes over the selected mirror line
Parameters type (enum in [’CFRA’, ‘VALUE’, ‘YAXIS’, ‘XAXIS’, ‘MARKER’], (optional)) – Type
[Link](offset=’START’, merge=’MIX’)
Paste keyframes from copy/paste buffer for the selected channels, starting on the current frame

38 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• offset (enum in [’START’, ‘END’, ‘RELATIVE’, ‘NONE’], (optional)) – Offset, Paste time
offset of keys
• merge (enum in [’MIX’, ‘OVER_ALL’, ‘OVER_RANGE’, ‘OVER_RANGE_ALL’], (op-
tional)) – Type, Method of merking pasted keys and existing
[Link].previewrange_set()
Automatically set Preview Range based on range of keyframes
[Link]()
Toggle display properties panel
[Link]()
Add keyframes on every frame between the selected keyframes
[Link].select_all_toggle(invert=False)
Toggle selection of all keyframes
Parameters invert (boolean, (optional)) – Invert
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0,
axis_range=False, include_handles=False)
Select all keyframes within the specified region
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
• axis_range (boolean, (optional)) – Axis Range
• include_handles (boolean, (optional)) – Include Handles, Are handles tested individually
against the selection criteria
[Link].select_column(mode=’KEYS’)
Select all keyframes on the specified frame(s)
Parameters mode (enum in [’KEYS’, ‘CFRA’, ‘MARKERS_COLUMN’, ‘MARKERS_BETWEEN’],
(optional)) – Mode
[Link].select_leftright(mode=’CHECK’, extend=False)
Select keyframes to the left or the right of the current frame
Parameters
• mode (enum in [’CHECK’, ‘LEFT’, ‘RIGHT’], (optional)) – Mode
• extend (boolean, (optional)) – Extend Select
[Link].select_less()
Deselect keyframes on ends of selection islands
[Link].select_linked()
Select keyframes occurring the same F-Curves as selected ones
[Link].select_more()
Select keyframes beside already selected ones

2.3. Operators ([Link]) 39


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Apply weighted moving means to make selected F-Curves less bumpy
[Link](type=’CFRA’)
Snap selected keyframes to the chosen times/values
Parameters type (enum in [’CFRA’, ‘VALUE’, ‘NEAREST_FRAME’, ‘NEAREST_SECOND’,
‘NEAREST_MARKER’, ‘HORIZONTAL’], (optional)) – Type
[Link].sound_bake(filepath=”“, filter_blender=False, filter_image=False, fil-
ter_movie=True, filter_python=False, filter_font=False, fil-
ter_sound=True, filter_text=False, filter_btx=False, filter_collada=False,
filter_folder=True, filemode=9, low=0.0, high=100000.0, attack=0.005,
release=0.2, threshold=0.0, accumulate=False, use_additive=False,
square=False, sthreshold=0.1)
Bakes a sound wave to selected F-Curves
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• low (float in [0, 100000], (optional)) – Lowest frequency
• high (float in [0, 100000], (optional)) – Highest frequency
• attack (float in [0, 2], (optional)) – Attack time
• release (float in [0, 5], (optional)) – Release time
• threshold (float in [0, 1], (optional)) – Threshold
• accumulate (boolean, (optional)) – Accumulate
• use_additive (boolean, (optional)) – Additive
• square (boolean, (optional)) – Square
• sthreshold (float in [0, 1], (optional)) – Square Threshold
[Link].view_all()
Reset viewable area to show full keyframe range
[Link].view_selected()
Reset viewable area to show selected keyframe range

40 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Group Operators

[Link](name=”Group”)
Create an object group from selected objects
Parameters name (string, (optional)) – Name, Name of the new group
[Link].objects_add_active()
Add the object to an object group that contains the active object
[Link].objects_remove()
Remove selected objects from all groups
[Link].objects_remove_active()
Remove the object from an object group that contains the active object

Help Operators

[Link].operator_cheat_sheet()
Undocumented (contribute)
File startup/bl_ui/space_info.py:383

Image Operators

[Link].curves_point_set(point=’BLACK_POINT’)
Undocumented (contribute)
Parameters point (enum in [’BLACK_POINT’, ‘WHITE_POINT’], (optional)) – Point, Set black
point or white point for curves.
[Link].cycle_render_slot(reverse=False)
Undocumented (contribute)
Parameters reverse (boolean, (optional)) – Cycle in Reverse
[Link].external_edit(filepath=”“)
Edit image in an external application
Parameters filepath (string, (optional)) – File Path, Path to an image file
File startup/bl_operators/[Link]
[Link](invert_r=False, invert_g=False, invert_b=False, invert_a=False)
Undocumented (contribute)
Parameters
• invert_r (boolean, (optional)) – Red, Invert Red Channel
• invert_g (boolean, (optional)) – Green, Invert Green Channel
• invert_b (boolean, (optional)) – Blue, Invert Blue Channel
• invert_a (boolean, (optional)) – Alpha, Invert Alpha Channel
[Link](name=”untitled”, width=1024, height=1024, color=(0.0, 0.0, 0.0, 1.0), al-
pha=True, uv_test_grid=False, float=False)
Undocumented (contribute)
Parameters
• name (string, (optional)) – Name, Image datablock name.

2.3. Operators ([Link]) 41


Blender Index, Release 2.57.0 r36138 - API

• width (int in [1, inf], (optional)) – Width, Image width.


• height (int in [1, inf], (optional)) – Height, Image height.
• color (float array of 4 items in [0, inf], (optional)) – Color, Default fill color.
• alpha (boolean, (optional)) – Alpha, Create an image with an alpha channel.
• uv_test_grid (boolean, (optional)) – UV Test Grid, Fill the image with a grid for UV map
testing.
• float (boolean, (optional)) – 32 bit Float, Create image with 32 bit floating point bit depth.
[Link](filepath=”“, filter_blender=False, filter_image=True, filter_movie=True, fil-
ter_python=False, filter_font=False, filter_sound=False, filter_text=False,
filter_btx=False, filter_collada=False, filter_folder=True, filemode=9, rela-
tive_path=False)
Undocumented (contribute)
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
[Link](as_png=False)
Pack an image as embedded data into the .blend file
Parameters as_png (boolean, (optional)) – Pack As PNG, Pack image as lossless PNG.
[Link].project_apply()
Project edited image back onto the object
File startup/bl_operators/[Link]
[Link].project_edit()
Edit a snapshot of the viewport in an external image editor
File startup/bl_operators/[Link]
[Link]()
Toggle display properties panel
[Link].record_composite()
Undocumented (contribute)

42 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Undocumented (contribute)
[Link](filepath=”“, filter_blender=False, filter_image=True, filter_movie=True, fil-
ter_python=False, filter_font=False, filter_sound=False, filter_text=False, fil-
ter_btx=False, filter_collada=False, filter_folder=True, filemode=9, rela-
tive_path=False)
Undocumented (contribute)
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
[Link]()
Undocumented (contribute)
[Link].sample_line(xstart=0, xend=0, ystart=0, yend=0, cursor=1002)
Undocumented (contribute)
Parameters
• xstart (int in [-inf, inf], (optional)) – X Start
• xend (int in [-inf, inf], (optional)) – X End
• ystart (int in [-inf, inf], (optional)) – Y Start
• yend (int in [-inf, inf], (optional)) – Y End
• cursor (int in [0, inf], (optional)) – Cursor, Mouse cursor style to use during the modal
operator
[Link]()
Undocumented (contribute)
[Link].save_as(file_type=’PNG’, filepath=”“, check_existing=True, filter_blender=False, fil-
ter_image=True, filter_movie=True, filter_python=False, filter_font=False,
filter_sound=False, filter_text=False, filter_btx=False, filter_collada=False,
filter_folder=True, filemode=9, relative_path=False, copy=False)
Undocumented (contribute)
Parameters

2.3. Operators ([Link]) 43


Blender Index, Release 2.57.0 r36138 - API

• file_type (enum in [’TARGA’, ‘TARGA RAW’, ‘PNG’, ‘BMP’, ‘JPEG’, ‘JPEG_2000’,


‘IRIS’, ‘TIFF’, ‘CINEON’, ‘DPX’, ‘OPENEXR’, ‘MULTILAYER’], (optional)) – File Type,
File type to save image as.
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• copy (boolean, (optional)) – Copy, Create a new image file without modifying the current
image in blender
[Link].save_dirty()
Save all modified textures
File startup/bl_operators/[Link]
[Link].save_sequence()
Undocumented (contribute)
[Link]()
Toggle display scopes panel
[Link]()
Undocumented (contribute)
[Link](method=’USE_LOCAL’, id=”“)
Save an image packed in the .blend file to disk
Parameters
• method (enum in [’USE_LOCAL’, ‘WRITE_LOCAL’, ‘USE_ORIGINAL’,
‘WRITE_ORIGINAL’], (optional)) – Method, How to unpack.
• id (string, (optional)) – Image Name, Image datablock name to unpack.
[Link].view_all()
Undocumented (contribute)
[Link].view_pan(offset=(0.0, 0.0))
Undocumented (contribute)

44 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters offset (float array of 2 items in [-inf, inf], (optional)) – Offset, Offset in floating point
units, 1.0 is the width and height of the image.
[Link].view_selected()
Undocumented (contribute)
[Link].view_zoom(factor=0.0)
Undocumented (contribute)
Parameters factor (float in [0, inf], (optional)) – Factor, Zoom factor, values higher than 1.0 zoom
in, lower values zoom out.
[Link].view_zoom_in()
Undocumented (contribute)
[Link].view_zoom_out()
Undocumented (contribute)
[Link].view_zoom_ratio(ratio=0.0)
Undocumented (contribute)
Parameters ratio (float in [0, inf], (optional)) – Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in,
lower is zoomed out.

Import Anim Operators

[Link].import_anim.bvh(filepath=”“, filter_glob=”*.bvh”, target=’ARMATURE’,


global_scale=1.0, frame_start=1, use_cyclic=False, ro-
tate_mode=’NATIVE’)
Load a BVH motion capture file
Parameters
• filepath (string, (optional)) – File Path, Filepath used for importing the file
• target (enum in [’ARMATURE’, ‘OBJECT’], (optional)) – Target, Import target type.
• global_scale (float in [0.0001, 1e+06], (optional)) – Scale, Scale the BVH by this value
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Starting frame for the animation
• use_cyclic (boolean, (optional)) – Loop, Loop the animation playback
• rotate_mode (enum in [’QUATERNION’, ‘NATIVE’, ‘XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’,
‘ZYX’], (optional)) – Rotation, Rotation conversion.
File addons/io_anim_bvh/__init__.py:81

Import Curve Operators

[Link].import_curve.svg(filepath=”“, filter_glob=”*.svg”)
Load a SVG file
Parameters filepath (string, (optional)) – File Path, Filepath used for importing the file
File addons/io_curve_svg/__init__.py:57

2.3. Operators ([Link]) 45


Blender Index, Release 2.57.0 r36138 - API

Import Mesh Operators

[Link].import_mesh.ply(filepath=”“, files=None, directory=”“, filter_glob=”*.ply”)


Load a PLY geometry file
Parameters
• filepath (string, (optional)) – File Path, Filepath used for importing the file
• files (bpy_prop_collection of OperatorFileListElement, (optional)) – File
Path, File path used for importing the PLY file
File addons/io_mesh_ply/__init__.py:65
[Link].import_mesh.stl(filepath=”“, filter_glob=”*.stl”, files=None, directory=”“)
Load STL triangle mesh data
Parameters
• filepath (string, (optional)) – File Path, Filepath used for importing the file
• files (bpy_prop_collection of OperatorFileListElement, (optional)) – File
Path, File path used for importing the STL file
File addons/io_mesh_stl/__init__.py:82

Import Scene Operators

[Link].import_scene.autodesk_3ds(filepath=”“, filter_glob=”*.3ds”, constrain_size=10.0,


use_image_search=True, use_apply_transform=True)
Import from 3DS file format (.3ds)
Parameters
• filepath (string, (optional)) – File Path, Filepath used for importing the file
• constrain_size (float in [0, 1000], (optional)) – Size Constraint, Scale the model by 10 until
it reacehs the size constraint. Zero Disables.
• use_image_search (boolean, (optional)) – Image Search, Search subdirectories for any as-
sosiated images (Warning, may be slow)
• use_apply_transform (boolean, (optional)) – Apply Transform, Workaround for object
transformations importing incorrectly
File addons/io_scene_3ds/__init__.py:61
[Link].import_scene.obj(filepath=”“, filter_glob=”*.obj;*.mtl”, CRE-
ATE_SMOOTH_GROUPS=True, CREATE_FGONS=True, CRE-
ATE_EDGES=True, SPLIT_OBJECTS=True, SPLIT_GROUPS=True,
ROTATE_X90=True, CLAMP_SIZE=0.0, POLYGROUPS=True, IM-
AGE_SEARCH=True)
Load a Wavefront OBJ File
Parameters
• filepath (string, (optional)) – File Path, Filepath used for importing the file
• CREATE_SMOOTH_GROUPS (boolean, (optional)) – Smooth Groups, Surround
smooth groups by sharp edges
• CREATE_FGONS (boolean, (optional)) – NGons as FGons, Import faces with more then
4 verts as fgons

46 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• CREATE_EDGES (boolean, (optional)) – Lines as Edges, Import lines and faces with 2
verts as edge
• SPLIT_OBJECTS (boolean, (optional)) – Object, Import OBJ Objects into Blender Ob-
jects
• SPLIT_GROUPS (boolean, (optional)) – Group, Import OBJ Groups into Blender Objects
• ROTATE_X90 (boolean, (optional)) – -X90, Rotate X 90.
• CLAMP_SIZE (float in [0, 1000], (optional)) – Clamp Scale, Clamp the size to this maxi-
mum (Zero to Disable)
• POLYGROUPS (boolean, (optional)) – Poly Groups, Import OBJ groups as vertex groups.
• IMAGE_SEARCH (boolean, (optional)) – Image Search, Search subdirs for any assosiated
images (Warning, may be slow)
File addons/io_scene_obj/__init__.py:71
[Link].import_scene.x3d(filepath=”“, filter_glob=”*.x3d;*.wrl”)
Load a BVH motion capture file
Parameters filepath (string, (optional)) – File Path, Filepath used for importing the file
File addons/io_scene_x3d/__init__.py:55

Info Operators

[Link].report_copy()
Copy selected reports to Clipboard
[Link].report_delete()
Delete selected reports
[Link].report_replay()
Replay selected reports
[Link].reports_display_update()
Undocumented (contribute)
[Link].select_all_toggle()
(de)select all reports
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Toggle border selection
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].select_pick(report_index=0)
Select reports by index
Parameters report_index (int in [0, inf], (optional)) – Report, The index of the report.

2.3. Operators ([Link]) 47


Blender Index, Release 2.57.0 r36138 - API

Lamp Operators

[Link].sunsky_preset_add(name=”“, remove_active=False)
Add a Sky & Atmosphere Preset
Parameters name (string, (optional)) – Name, Name of the preset, used to make the path name
File startup/bl_operators/[Link]

Lattice Operators

[Link].make_regular()
Set UVW control points a uniform distance apart
[Link].select_all(action=’TOGGLE’)
Change selection of all UVW control points
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute

Logic Operators

[Link].actuator_add(type=’‘, name=”“, object=”“)


Add a actuator to the active object
Parameters
• type (enum in [], (optional)) – Type, Type of actuator to add
• name (string, (optional)) – Name, Name of the Actuator to add
• object (string, (optional)) – Object, Name of the Object to add the Actuator to
[Link].actuator_move(actuator=”“, object=”“, direction=’UP’)
Move Actuator
Parameters
• actuator (string, (optional)) – Actuator, Name of the actuator to edit
• object (string, (optional)) – Object, Name of the object the actuator belongs to
• direction (enum in [’UP’, ‘DOWN’], (optional)) – Direction, Move Up or Down
[Link].actuator_remove(actuator=”“, object=”“)
Remove a actuator from the active object
Parameters
• actuator (string, (optional)) – Actuator, Name of the actuator to edit
• object (string, (optional)) – Object, Name of the object the actuator belongs to
[Link].controller_add(type=’LOGIC_AND’, name=”“, object=”“)
Add a controller to the active object
Parameters
• type (enum in [’LOGIC_AND’, ‘LOGIC_OR’, ‘LOGIC_NAND’, ‘LOGIC_NOR’,
‘LOGIC_XOR’, ‘LOGIC_XNOR’, ‘EXPRESSION’, ‘PYTHON’], (optional)) – Type, Type
of controller to add
• name (string, (optional)) – Name, Name of the Controller to add

48 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• object (string, (optional)) – Object, Name of the Object to add the Controller to
[Link].controller_move(controller=”“, object=”“, direction=’UP’)
Move Controller
Parameters
• controller (string, (optional)) – Controller, Name of the controller to edit
• object (string, (optional)) – Object, Name of the object the controller belongs to
• direction (enum in [’UP’, ‘DOWN’], (optional)) – Direction, Move Up or Down
[Link].controller_remove(controller=”“, object=”“)
Remove a controller from the active object
Parameters
• controller (string, (optional)) – Controller, Name of the controller to edit
• object (string, (optional)) – Object, Name of the object the controller belongs to
[Link].links_cut(path=None, cursor=9)
Remove logic brick connections
Parameters
• path (bpy_prop_collection of OperatorMousePath, (optional)) – path
• cursor (int in [0, inf], (optional)) – Cursor
[Link]()
Toggle display properties panel
[Link].sensor_add(type=’‘, name=”“, object=”“)
Add a sensor to the active object
Parameters
• type (enum in [], (optional)) – Type, Type of sensor to add
• name (string, (optional)) – Name, Name of the Sensor to add
• object (string, (optional)) – Object, Name of the Object to add the Sensor to
[Link].sensor_move(sensor=”“, object=”“, direction=’UP’)
Move Densor
Parameters
• sensor (string, (optional)) – Sensor, Name of the sensor to edit
• object (string, (optional)) – Object, Name of the object the sensor belongs to
• direction (enum in [’UP’, ‘DOWN’], (optional)) – Direction, Move Up or Down
[Link].sensor_remove(sensor=”“, object=”“)
Remove a sensor from the active object
Parameters
• sensor (string, (optional)) – Sensor, Name of the sensor to edit
• object (string, (optional)) – Object, Name of the object the sensor belongs to

2.3. Operators ([Link]) 49


Blender Index, Release 2.57.0 r36138 - API

Marker Operators

[Link]()
Add a new time marker
[Link].camera_bind()
Bind the active camera to selected markers(s)
[Link]()
Delete selected time marker(s)
[Link](frames=0)
Duplicate selected time marker(s)
Parameters frames (int in [-inf, inf], (optional)) – Frames
[Link].make_links_scene(scene=’‘)
Copy selected markers to another scene
Parameters scene (enum in [], (optional)) – Scene
[Link](frames=0)
Move selected time marker(s)
Parameters frames (int in [-inf, inf], (optional)) – Frames
[Link](name=”RenamedMarker”)
Rename first selected time marker
Parameters name (string, (optional)) – Name, New name for marker
[Link](extend=False, camera=False)
Select time marker(s)
Parameters
• extend (boolean, (optional)) – Extend, extend the selection
• camera (boolean, (optional)) – Camera, Select the camera
[Link].select_all(action=’TOGGLE’)
Change selection of all time markers
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Select all time markers using border selection
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max

Material Operators

[Link]()
Copy the material settings and nodes

50 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Add a new material
[Link]()
Paste the material settings and nodes
[Link].sss_preset_add(name=”“, remove_active=False)
Add a Subsurface Scattering Preset
Parameters name (string, (optional)) – Name, Name of the preset, used to make the path name
File startup/bl_operators/[Link]

Mball Operators

[Link].delete_metaelems()
Delete selected metaelement(s)
[Link].duplicate_metaelems(mode=’TRANSLATION’)
Delete selected metaelement(s)
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].hide_metaelems(unselected=False)
Hide (un)selected metaelement(s)
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.
[Link].reveal_metaelems()
Reveal all hidden metaelements
[Link].select_all(action=’TOGGLE’)
Change selection of all meta elements
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_inverse_metaelems()
Select inverse of (un)selected metaelements
[Link].select_random_metaelems(percent=0.5)
Randomly select metaelements
Parameters percent (float in [0, 1], (optional)) – Percent, Percentage of metaelems to select ran-
domly.

Mesh Operators

[Link].beautify_fill()
Rearrange geometry on a selected surface to avoid skinny faces
[Link].blend_from_shape(shape=’‘, blend=1.0, add=False)
Blend in shape from a shape key
Parameters

2.3. Operators ([Link]) 51


Blender Index, Release 2.57.0 r36138 - API

• shape (enum in [], (optional)) – Shape, Shape key to use for blending.
• blend (float in [-inf, inf], (optional)) – Blend, Blending factor.
• add (boolean, (optional)) – Add, Add rather then blend between shapes.
[Link].colors_mirror(axis=’X’)
Mirror UV/image color layer
Parameters axis (enum in [’X’, ‘Y’], (optional)) – Axis, Axis to mirror colors around.
[Link].colors_rotate(direction=’CW’)
Rotate UV/image color layer
Parameters direction (enum in [’CW’, ‘CCW’], (optional)) – Direction, Direction to rotate edge
around.
[Link](type=’VERT’)
Delete selected vertices, edges or faces
Parameters type (enum in [’VERT’, ‘EDGE’, ‘FACE’, ‘ALL’, ‘EDGE_FACE’, ‘ONLY_FACE’,
‘EDGE_LOOP’], (optional)) – Type, Method used for deleting mesh data
[Link].delete_edgeloop()
Delete an edge loop by merging the faces on each side to a single face loop
File startup/bl_operators/[Link]
[Link].drop_named_image(name=”Image”, filepath=”Path”)
Assigns Image to active UV layer, or creates a UV layer
Parameters
• name (string, (optional)) – Name, Image name to assign.
• filepath (string, (optional)) – Filepath, Path to image file
[Link].dupli_extrude_cursor(rotate_source=True)
Duplicate and extrude selected vertices, edges or faces towards 3D Cursor
Parameters rotate_source (boolean, (optional)) – Rotate Source, Rotate initial selection giving
better shape
[Link](mode=’TRANSLATION’)
Duplicate selected vertices, edges or faces
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].duplicate_move(MESH_OT_duplicate=None, TRANSFORM_OT_translate=None)
Undocumented (contribute)
Parameters
• MESH_OT_duplicate (MESH_OT_duplicate, (optional)) – Duplicate, Duplicate se-
lected vertices, edges or faces
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items

52 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].edge_face_add()
Add an edge or face to selected
[Link].edge_flip()
Flip selected edge or adjoining faces
[Link].edge_rotate(direction=’CW’)
Rotate selected edge or adjoining faces
Parameters direction (enum in [’CW’, ‘CCW’], (optional)) – Direction, Direction to rotate the edge
around.
[Link].edgering_select(extend=False)
Select an edge ring
Parameters extend (boolean, (optional)) – Extend, Extend the selection
[Link].edges_select_sharp(sharpness=0.01)
Marked selected edges as sharp
Parameters sharpness (float in [0, inf], (optional)) – sharpness
[Link](type=’REGION’)
Extrude selected vertices, edges or faces
Parameters type (enum in [’REGION’, ‘FACES’, ‘EDGES’, ‘VERTS’], (optional)) – Type
[Link].extrude_edges_move(MESH_OT_extrude=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• MESH_OT_extrude (MESH_OT_extrude, (optional)) – Extrude, Extrude selected ver-
tices, edges or faces
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link].extrude_faces_move(MESH_OT_extrude=None, TRANS-
FORM_OT_shrink_fatten=None)
Undocumented (contribute)
Parameters
• MESH_OT_extrude (MESH_OT_extrude, (optional)) – Extrude, Extrude selected ver-
tices, edges or faces
• TRANSFORM_OT_shrink_fatten (TRANSFORM_OT_shrink_fatten, (optional)) –
Shrink/Fatten, Shrink/fatten selected vertices along normals
[Link].extrude_region_move(MESH_OT_extrude=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• MESH_OT_extrude (MESH_OT_extrude, (optional)) – Extrude, Extrude selected ver-
tices, edges or faces
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link].extrude_repeat(offset=2.0, steps=10)
Extrude selected vertices, edges or faces repeatedly

2.3. Operators ([Link]) 53


Blender Index, Release 2.57.0 r36138 - API

Parameters
• offset (float in [0, 100], (optional)) – Offset
• steps (int in [0, 180], (optional)) – Steps
[Link].extrude_vertices_move(MESH_OT_extrude=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• MESH_OT_extrude (MESH_OT_extrude, (optional)) – Extrude, Extrude selected ver-
tices, edges or faces
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link].faces_miror_uv()
Copy mirror UV coordinates on the X axis based on a mirrored mesh
File startup/bl_operators/[Link]
[Link].faces_select_interior()
Select faces where all edges have more then 2 face users.
File startup/bl_operators/[Link]
[Link].faces_select_linked_flat(sharpness=135.0)
Select linked faces by angle
Parameters sharpness (float in [0, inf], (optional)) – sharpness
[Link].faces_shade_flat()
Display faces ‘flat’
[Link].faces_shade_smooth()
Display faces ‘smooth’ (using vertex normals)
[Link].fgon_clear()
Clear fgon from selected face
[Link].fgon_make()
Make fgon from selected faces
[Link]()
Create a segment, edge or face
[Link].flip_normals()
Toggle the direction of selected face’s vertex and face normals
[Link](unselected=False)
Hide (un)selected vertices, edges or faces
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.
[Link].knife_cut(type=’EXACT’, path=None, num_cuts=1, cursor=9)
Cut selected edges and faces into parts
Parameters
• type (enum in [’EXACT’, ‘MIDPOINTS’, ‘MULTICUT’], (optional)) – Type
• path (bpy_prop_collection of OperatorMousePath, (optional)) – path
• num_cuts (int in [1, 256], (optional)) – Number of Cuts, Only for Multi-Cut

54 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• cursor (int in [0, inf], (optional)) – Cursor


[Link].loop_multi_select(ring=False)
Select a loop of connected edges by connection type
Parameters ring (boolean, (optional)) – Ring
[Link].loop_select(extend=False, ring=False)
Select a loop of connected edges
Parameters
• extend (boolean, (optional)) – Extend Select
• ring (boolean, (optional)) – Select Ring
[Link].loop_to_region()
Select a loop of connected edges as a region
[Link](number_cuts=1)
Add a new loop between existing loops
Parameters number_cuts (int in [1, inf], (optional)) – Number of Cuts
[Link].loopcut_slide(MESH_OT_loopcut=None, TRANSFORM_OT_edge_slide=None)
Undocumented (contribute)
Parameters
• MESH_OT_loopcut (MESH_OT_loopcut, (optional)) – Loop Cut, Add a new loop be-
tween existing loops
• TRANSFORM_OT_edge_slide (TRANSFORM_OT_edge_slide, (optional)) – Edge
Slide, Slide an edge loop along a mesh
[Link].mark_seam(clear=False)
(un)mark selected edges as a seam
Parameters clear (boolean, (optional)) – Clear
[Link].mark_sharp(clear=False)
(un)mark selected edges as sharp
Parameters clear (boolean, (optional)) – Clear
[Link](type=’CENTER’, uvs=False)
Merge selected vertices
Parameters
• type (enum in [’FIRST’, ‘LAST’, ‘CENTER’, ‘CURSOR’, ‘COLLAPSE’], (optional)) –
Type, Merge method to use.
• uvs (boolean, (optional)) – UVs, Move UVs according to merge.
[Link](factor=0.1)
Use vertex coordinate as texture coordinate
Parameters factor (float in [-inf, inf], (optional)) – Factor
[Link].normals_make_consistent(inside=False)
Flip all selected vertex and face normals in a consistent direction
Parameters inside (boolean, (optional)) – Inside

2.3. Operators ([Link]) 55


Blender Index, Release 2.57.0 r36138 - API

[Link].primitive_circle_add(vertices=32, radius=1.0, fill=False, view_align=False, en-


ter_editmode=False, location=(0.0, 0.0, 0.0), rotation=(0.0,
0.0, 0.0), layers=(False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False))
Construct a circle mesh
Parameters
• vertices (int in [-inf, inf], (optional)) – Vertices
• radius (float in [0, inf], (optional)) – Radius
• fill (boolean, (optional)) – Fill
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_cone_add(vertices=32, radius=1.0, depth=2.0, cap_end=True,
view_align=False, enter_editmode=False, location=(0.0,
0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Construct a conic mesh (ends filled)
Parameters
• vertices (int in [-inf, inf], (optional)) – Vertices
• radius (float in [0, inf], (optional)) – Radius
• depth (float in [0, inf], (optional)) – Depth
• cap_end (boolean, (optional)) – Cap End
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_cube_add(view_align=False, enter_editmode=False, location=(0.0, 0.0,
0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Construct a cube mesh
Parameters

56 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_cylinder_add(vertices=32, radius=1.0, depth=2.0, cap_ends=True,
view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False,
False, False, False, False, False))
Construct a cylinder mesh
Parameters
• vertices (int in [-inf, inf], (optional)) – Vertices
• radius (float in [0, inf], (optional)) – Radius
• depth (float in [0, inf], (optional)) – Depth
• cap_ends (boolean, (optional)) – Cap Ends
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_grid_add(x_subdivisions=10, y_subdivisions=10, size=1.0,
view_align=False, enter_editmode=False, location=(0.0,
0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Construct a grid mesh
Parameters
• x_subdivisions (int in [-inf, inf], (optional)) – X Subdivisions
• y_subdivisions (int in [-inf, inf], (optional)) – Y Subdivisions
• size (float in [0, inf], (optional)) – Size
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.

2.3. Operators ([Link]) 57


Blender Index, Release 2.57.0 r36138 - API

• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_ico_sphere_add(subdivisions=2, size=1.0, view_align=False, en-
ter_editmode=False, location=(0.0, 0.0, 0.0), rota-
tion=(0.0, 0.0, 0.0), layers=(False, False, False, False,
False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Construct an Icosphere mesh
Parameters
• subdivisions (int in [0, inf], (optional)) – Subdivisions
• size (float in [0, inf], (optional)) – Size
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_monkey_add(view_align=False, enter_editmode=False, location=(0.0,
0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False))
Construct a Suzanne mesh
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_plane_add(view_align=False, enter_editmode=False, location=(0.0, 0.0,
0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Construct a filled planar mesh with 4 vertices
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.

58 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_torus_add(major_radius=1.0, minor_radius=0.25, major_segments=48,
minor_segments=12, use_abso=False, abso_major_rad=1.0,
abso_minor_rad=0.5, view_align=False, location=(0.0, 0.0,
0.0), rotation=(0.0, 0.0, 0.0))
Add a torus mesh
Parameters
• major_radius (float in [0.01, 100], (optional)) – Major Radius, Radius from the origin to
the center of the cross sections
• minor_radius (float in [0.01, 100], (optional)) – Minor Radius, Radius of the torus’ cross
section
• major_segments (int in [3, 256], (optional)) – Major Segments, Number of segments for
the main ring of the torus
• minor_segments (int in [3, 256], (optional)) – Minor Segments, Number of segments for
the minor ring of the torus
• use_abso (boolean, (optional)) – Use Int+Ext Controls, Use the Int / Ext controls for torus
dimensions
• abso_major_rad (float in [0.01, 100], (optional)) – Exterior Radius, Total Exterior Radius
of the torus
• abso_minor_rad (float in [0.01, 100], (optional)) – Inside Radius, Total Interior Radius of
the torus
• view_align (boolean, (optional)) – Align to View
• location (float array of 3 items in [-inf, inf], (optional)) – Location
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation
File startup/bl_operators/add_mesh_torus.py:114
[Link].primitive_uv_sphere_add(segments=32, ring_count=16, size=1.0,
view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False,
False, False, False, False, False))
Construct a UV sphere mesh
Parameters
• segments (int in [-inf, inf], (optional)) – Segments
• ring_count (int in [-inf, inf], (optional)) – Rings
• size (float in [0, inf], (optional)) – Size
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.

2.3. Operators ([Link]) 59


Blender Index, Release 2.57.0 r36138 - API

• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].quads_convert_to_tris()
Convert selected quads to triangles
[Link].region_to_loop()
Select a region as a loop of connected edges
[Link].remove_doubles(limit=0.0001)
Remove duplicate vertices
Parameters limit (float in [1e-06, 50], (optional)) – Merge Threshold, Minimum distance between
merged verts
[Link]()
Reveal all hidden vertices, edges and faces
[Link](constraint_axis=(False, False, False), constraint_orientation=’‘, mirror=False, re-
lease_confirm=False)
Rip selection from mesh (quads only)
Parameters
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• mirror (boolean, (optional)) – Mirror Editing
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link].rip_move(MESH_OT_rip=None, TRANSFORM_OT_translate=None)
Undocumented (contribute)
Parameters
• MESH_OT_rip (MESH_OT_rip, (optional)) – Rip, Rip selection from mesh (quads only)
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link](steps=9, turns=1, center=(0.0, 0.0, 0.0), axis=(0.0, 0.0, 0.0))
Extrude selected vertices in screw-shaped rotation around the cursor in indicated viewport
Parameters
• steps (int in [0, inf], (optional)) – Steps, Steps
• turns (int in [0, inf], (optional)) – Turns, Turns
• center (float array of 3 items in [-inf, inf], (optional)) – Center, Center in global view space
• axis (float array of 3 items in [-1, 1], (optional)) – Axis, Axis in global view space
[Link].select_all(action=’TOGGLE’)
Change selection of all vertices, edges or faces
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute

60 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].select_axis(mode=’POSITIVE’, axis=’X_AXIS’)
Select all data in the mesh on a single axis
Parameters
• mode (enum in [’POSITIVE’, ‘NEGATIVE’, ‘ALIGNED’], (optional)) – Axis Mode, Axis
side to use when selecting
• axis (enum in [’X_AXIS’, ‘Y_AXIS’, ‘Z_AXIS’], (optional)) – Axis, Select the axis to com-
pare each vertex on
[Link].select_by_number_vertices(type=’TRIANGLES’)
Select vertices or faces by vertex count
Parameters type (enum in [’TRIANGLES’, ‘QUADS’, ‘OTHER’], (optional)) – Type, Type of ele-
ments to select.
[Link].select_inverse()
Select inverse of (un)selected vertices, edges or faces
[Link].select_less()
Select less vertices, edges or faces connected to initial selection
[Link].select_linked(limit=False)
Select all vertices linked to the active mesh
Parameters limit (boolean, (optional)) – Limit by Seams, Limit selection by seam boundries (faces
only)
[Link].select_linked_pick(deselect=False, limit=False)
(un)select all vertices linked to the active mesh
Parameters
• deselect (boolean, (optional)) – Deselect
• limit (boolean, (optional)) – Limit by Seams, Limit selection by seam boundries (faces
only)
[Link].select_mirror(extend=False)
Select mesh items at mirrored locations
Parameters extend (boolean, (optional)) – Extend, Extend the existing selection
[Link].select_more()
Select more vertices, edges or faces connected to initial selection
[Link].select_non_manifold()
Select all non-manifold vertices or edges
[Link].select_nth(nth=2)
Undocumented (contribute)
Parameters nth (int in [2, 100], (optional)) – Nth Selection
[Link].select_random(percent=50.0, extend=False)
Randomly select vertices
Parameters
• percent (float in [0, 100], (optional)) – Percent, Percentage of elements to select randomly.
• extend (boolean, (optional)) – Extend Selection, Extend selection instead of deselecting
everything first.

2.3. Operators ([Link]) 61


Blender Index, Release 2.57.0 r36138 - API

[Link].select_shortest_path(extend=False)
Select shortest path between two selections
Parameters extend (boolean, (optional)) – Extend Select
[Link].select_similar(type=’NORMAL’, threshold=0.01)
Select similar vertices, edges or faces by property types
Parameters
• type (enum in [’NORMAL’, ‘FACE’, ‘VGROUP’, ‘LENGTH’, ‘DIR’, ‘FACE’,
‘FACE_ANGLE’, ‘CREASE’, ‘SEAM’, ‘SHARP’, ‘MATERIAL’, ‘IMAGE’, ‘AREA’,
‘PERIMETER’, ‘NORMAL’, ‘COPLANAR’], (optional)) – Type
• threshold (float in [0, inf], (optional)) – Threshold
[Link].select_vertex_path(type=’EDGE_LENGTH’)
Select shortest path between two vertices by distance type
Parameters type (enum in [’EDGE_LENGTH’, ‘TOPOLOGICAL’], (optional)) – Type, Method to
compute distance.
[Link](type=’SELECTED’)
Separate selected geometry into a new mesh
Parameters type (enum in [’SELECTED’, ‘MATERIAL’, ‘LOOSE’], (optional)) – Type
[Link].shape_propagate_to_all()
Apply selected vertex locations to all other shape keys
[Link](thickness=0.01)
Create a solid skin by extruding, compensating for sharp angles
Parameters thickness (float in [-inf, inf], (optional)) – Thickness
[Link].sort_faces(type=’VIEW_AXIS’)
The faces of the active Mesh Object are sorted, based on the current view.
Parameters type (enum in [’VIEW_AXIS’, ‘CURSOR_DISTANCE’, ‘MATERIAL’, ‘SELECTED’,
‘RANDOMIZE’], (optional)) – Type
[Link](steps=9, dupli=False, degrees=90.0, center=(0.0, 0.0, 0.0), axis=(0.0, 0.0, 0.0))
Extrude selected vertices in a circle around the cursor in indicated viewport
Parameters
• steps (int in [0, inf], (optional)) – Steps, Steps
• dupli (boolean, (optional)) – Dupli, Make Duplicates
• degrees (float in [-inf, inf], (optional)) – Degrees, Degrees
• center (float array of 3 items in [-inf, inf], (optional)) – Center, Center in global view space
• axis (float array of 3 items in [-1, 1], (optional)) – Axis, Axis in global view space
[Link]()
Split selected geometry into separate disconnected mesh
[Link].sticky_add()
Add sticky UV texture layer
[Link].sticky_remove()
Remove sticky UV texture layer

62 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link](number_cuts=1, smoothness=0.0, fractal=0.0, cor-


ner_cut_pattern=’INNER_VERTEX’)
Subdivide selected edges
Parameters
• number_cuts (int in [1, inf], (optional)) – Number of Cuts
• smoothness (float in [0, inf], (optional)) – Smoothness, Smoothness factor.
• fractal (float in [0, inf], (optional)) – Fractal, Fractal randomness factor.
• corner_cut_pattern (enum in [’PATH’, ‘INNER_VERTEX’, ‘FAN’], (optional)) – Corner
Cut Pattern, Topology pattern to use to fill a face after cutting across its corner
[Link].tris_convert_to_quads()
Convert selected triangles to quads
[Link].uv_texture_add()
Add UV texture layer
[Link].uv_texture_remove()
Remove UV texture layer
[Link].uvs_mirror(axis=’X’)
Mirror selected UVs
Parameters axis (enum in [’X’, ‘Y’], (optional)) – Axis, Axis to mirror UVs around.
[Link].uvs_rotate(direction=’CW’)
Rotate selected UVs
Parameters direction (enum in [’CW’, ‘CCW’], (optional)) – Direction, Direction to rotate UVs
around.
[Link].vertex_color_add()
Add vertex color layer
[Link].vertex_color_remove()
Remove vertex color layer
[Link].vertices_randomize()
Randomize vertex order
[Link].vertices_smooth(repeat=1, xaxis=True, yaxis=True, zaxis=True)
Flatten angles of selected vertices
Parameters
• repeat (int in [1, 100], (optional)) – Smooth Iterations
• xaxis (boolean, (optional)) – X-Axis, Smooth along the X axis.
• yaxis (boolean, (optional)) – Y-Axis, Smooth along the Y axis.
• zaxis (boolean, (optional)) – Z-Axis, Smooth along the Z axis.
[Link].vertices_sort()
Sort vertex order

Nla Operators

[Link].action_sync_length(active=True)
Sychronise the length of the referenced Action with the lengths used in the strip

2.3. Operators ([Link]) 63


Blender Index, Release 2.57.0 r36138 - API

Parameters active (boolean, (optional)) – Active Strip Only, Only sync the active length for the
active strip.
[Link].actionclip_add(action=’‘)
Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track
Parameters action (enum in [], (optional)) – Action
[Link].apply_scale()
Apply scaling of selected strips to their referenced Actions
[Link](frame_start=1, frame_end=250, step=1, only_selected=True)
Bake animation to an Action
Parameters
• frame_start (int in [1, 300000], (optional)) – Start Frame, Start frame for baking
• frame_end (int in [1, 300000], (optional)) – End Frame, End frame for baking
• step (int in [1, 120], (optional)) – Frame Step, Frame Step
• only_selected (boolean, (optional)) – Only Selected
File startup/bl_operators/[Link]
[Link].channels_click(extend=False)
Handle clicks to select NLA channels
Parameters extend (boolean, (optional)) – Extend Select
[Link].clear_scale()
Reset scaling of selected strips
[Link].click_select(extend=False)
Handle clicks to select NLA Strips
Parameters extend (boolean, (optional)) – Extend Select
[Link]()
Delete selected strips
[Link].delete_tracks()
Delete selected NLA-Tracks and the strips they contain
[Link](mode=’TRANSLATION’)
Duplicate selected NLA-Strips, adding the new strips in new tracks above the originals
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].fmodifier_add(type=’NULL’, only_active=False)
Add F-Modifier of the secified type to the selected NLA-Strips
Parameters
• type (enum in [’NULL’, ‘GENERATOR’, ‘FNGENERATOR’, ‘ENVELOPE’, ‘CYCLES’,
‘NOISE’, ‘FILTER’, ‘LIMITS’, ‘STEPPED’], (optional)) – Type
• only_active (boolean, (optional)) – Only Active, Only add F-Modifier of the specified type
to the active strip.

64 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].fmodifier_copy()
Copy the F-Modifier(s) of the active NLA-Strip
[Link].fmodifier_paste()
Add copied F-Modifiers to the selected NLA-Strips
[Link].meta_add()
Add new meta-strips incorporating the selected strips
[Link].meta_remove()
Separate out the strips held by the selected meta-strips
[Link].move_down()
Move selected strips down a track if there’s room
[Link].move_up()
Move selected strips up a track if there’s room
[Link].mute_toggle()
Mute or un-muted selected strips
[Link]()
Toggle display properties panel
[Link].select_all_toggle(invert=False)
(De)Select all NLA-Strips
Parameters invert (boolean, (optional)) – Invert
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0,
axis_range=False)
Use box selection to grab NLA-Strips
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
• axis_range (boolean, (optional)) – Axis Range
[Link].select_leftright(mode=’CHECK’, extend=False)
Select strips to the left or the right of the current frame
Parameters
• mode (enum in [’CHECK’, ‘LEFT’, ‘RIGHT’], (optional)) – Mode
• extend (boolean, (optional)) – Extend Select
[Link](type=’CFRA’)
Move start of strips to specified time
Parameters type (enum in [’CFRA’, ‘NEAREST_FRAME’, ‘NEAREST_SECOND’, ‘NEAR-
EST_MARKER’], (optional)) – Type
[Link]()
Split selected strips at their midpoints
[Link]()
Swap order of selected strips within tracks

2.3. Operators ([Link]) 65


Blender Index, Release 2.57.0 r36138 - API

[Link].tracks_add(above_selected=False)
Add NLA-Tracks above/after the selected tracks
Parameters above_selected (boolean, (optional)) – Above Selected, Add a new NLA Track above
every existing selected one.
[Link].transition_add()
Add a transition strip between two adjacent selected strips
[Link].tweakmode_enter()
Enter tweaking mode for the action referenced by the active strip
[Link].tweakmode_exit()
Exit tweaking mode for the action referenced by the active strip

Node Operators

[Link].add_file(filepath=”“, filter_blender=False, filter_image=True, filter_movie=False,


filter_python=False, filter_font=False, filter_sound=False, filter_text=False,
filter_btx=False, filter_collada=False, filter_folder=True, filemode=9,
name=”Image”)
Add a file node to the current node editor
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• name (string, (optional)) – Name, Datablock name to assign.
[Link].backimage_move()
Move Node backdrop
[Link].backimage_sample()
Undocumented (contribute)
[Link].backimage_zoom(factor=1.2)
Undocumented (contribute)
Parameters factor (float in [0, 10], (optional)) – Factor
[Link]()
Delete selected nodes

66 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Duplicate the nodes
[Link].duplicate_move(NODE_OT_duplicate=None, TRANSFORM_OT_translate=None)
Undocumented (contribute)
Parameters
• NODE_OT_duplicate (NODE_OT_duplicate, (optional)) – Duplicate Nodes, Dupli-
cate the nodes
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link].group_edit()
Edit node group
[Link].group_make()
Make group from selected nodes
[Link].group_socket_add(in_out=’IN’, name=”“, type=’VALUE’)
Add node group socket
Parameters
• in_out (enum in [’IN’, ‘OUT’], (optional)) – Socket Type, Input or Output
• name (string, (optional)) – Name, Group socket name
• type (enum in [’VALUE’, ‘VECTOR’, ‘RGBA’], (optional)) – Type, Type of the group socket
[Link].group_socket_move_down(index=0, in_out=’IN’)
Move down node group socket
Parameters
• index (int in [0, inf], (optional)) – Index
• in_out (enum in [’IN’, ‘OUT’], (optional)) – Socket Type, Input or Output
[Link].group_socket_move_up(index=0, in_out=’IN’)
Move up node group socket
Parameters
• index (int in [0, inf], (optional)) – Index
• in_out (enum in [’IN’, ‘OUT’], (optional)) – Socket Type, Input or Output
[Link].group_socket_remove(index=0, in_out=’IN’)
Removed node group socket
Parameters
• index (int in [0, inf], (optional)) – Index
• in_out (enum in [’IN’, ‘OUT’], (optional)) – Socket Type, Input or Output
[Link].group_ungroup()
Ungroup selected nodes
[Link].hide_socket_toggle()
Toggle unused node socket display
[Link].hide_toggle()
Toggle hiding of selected nodes

2.3. Operators ([Link]) 67


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Undocumented (contribute)
[Link].link_make(replace=False)
Makes a link between selected output in input sockets
Parameters replace (boolean, (optional)) – Replace, Replace socket connections with the new links
[Link].link_viewer()
Link to Viewer Node
[Link].links_cut(path=None, cursor=9)
Undocumented (contribute)
Parameters
• path (bpy_prop_collection of OperatorMousePath, (optional)) – path
• cursor (int in [0, inf], (optional)) – Cursor
[Link].mute_toggle()
Toggle muting of the nodes
[Link].preview_toggle()
Toggle preview display for selected nodes
[Link]()
Toggles the properties panel display
[Link].read_fullsamplelayers()
Undocumented (contribute)
[Link].read_renderlayers()
Undocumented (contribute)
[Link].render_changed()
Undocumented (contribute)
[Link]()
Undocumented (contribute)
[Link](mouse_x=0, mouse_y=0, extend=False)
Select node under cursor
Parameters
• mouse_x (int in [-inf, inf], (optional)) – Mouse X
• mouse_y (int in [-inf, inf], (optional)) – Mouse Y
• extend (boolean, (optional)) – Extend
[Link].select_all()
(De)select all nodes
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, tweak=False)
Use box selection to select nodes
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min

68 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• ymax (int in [-inf, inf], (optional)) – Y Max


• tweak (boolean, (optional)) – Tweak, Only activate when mouse is not over a node - useful
for tweak gesture
[Link].select_link_viewer(NODE_OT_select=None, NODE_OT_link_viewer=None)
Undocumented (contribute)
Parameters
• NODE_OT_select (NODE_OT_select, (optional)) – Select, Select node under cursor
• NODE_OT_link_viewer (NODE_OT_link_viewer, (optional)) – Link to Viewer Node,
Link to Viewer Node
[Link].select_linked_from()
Select nodes linked from the selected ones
[Link].select_linked_to()
Select nodes linked to the selected ones
[Link].select_same_type()
Select all the same type
[Link].select_same_type_next()
Select the next node of the same type.
[Link].select_same_type_prev()
Select the prev node of the same type.
[Link].show_cyclic_dependencies()
Sort the nodes and show the cyclic dependencies between the nodes
[Link].view_all()
Resize view so you can see all nodes
[Link].visibility_toggle(mouse_x=0, mouse_y=0)
Handle clicks on node header buttons
Parameters
• mouse_x (int in [-inf, inf], (optional)) – Mouse X
• mouse_y (int in [-inf, inf], (optional)) – Mouse Y

Object Operators

[Link](type=’EMPTY’, view_align=False, enter_editmode=False, location=(0.0, 0.0,


0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False,
False, False))
Add an object to the scene
Parameters
• type (enum in [’MESH’, ‘CURVE’, ‘SURFACE’, ‘META’, ‘FONT’, ‘ARMATURE’, ‘LAT-
TICE’, ‘EMPTY’, ‘CAMERA’, ‘LAMP’], (optional)) – Type
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.

2.3. Operators ([Link]) 69


Blender Index, Release 2.57.0 r36138 - API

• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].add_named(linked=False, name=”Cube”)
Add named object
Parameters
• linked (boolean, (optional)) – Linked, Duplicate object but not object data, linking to the
original data.
• name (string, (optional)) – Name, Object name to add.
[Link].add_named_cursor(name=”Cube”, VIEW3D_OT_cursor3d=None, OB-
JECT_OT_add_named=None)
Undocumented (contribute)
Parameters
• name (string, (optional)) – Name, Object name to add.
• VIEW3D_OT_cursor3d (VIEW3D_OT_cursor3d, (optional)) – Set 3D Cursor, Set the
location of the 3D cursor
• OBJECT_OT_add_named (OBJECT_OT_add_named, (optional)) – Add Named Ob-
ject, Add named object
[Link](align_mode=’OPT_2’, relative_to=’OPT_4’, align_axis=set())
Align Objects
Parameters
• align_mode (enum in [’OPT_1’, ‘OPT_2’, ‘OPT_3’], (optional)) – Align Mode:
• relative_to (enum in [’OPT_1’, ‘OPT_2’, ‘OPT_3’, ‘OPT_4’], (optional)) – Relative To:
• align_axis (enum set in {‘X’, ‘Y’, ‘Z’}, (optional)) – Align, Align to axis
File startup/bl_operators/object_align.py:272
[Link].armature_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0),
rotation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False))
Add an armature object to the scene
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer

70 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].bake_image()
Bake image textures of selected objects
[Link].camera_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), ro-
tation=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False,
False, False, False))
Add a camera object to the scene
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].constraint_add(type=’‘)
Add a constraint to the active object
Parameters type (enum in [’COPY_LOCATION’, ‘COPY_ROTATION’, ‘COPY_SCALE’,
‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’, ‘LIMIT_ROTATION’,
‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’, ‘CLAMP_TO’,
‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’, ‘STRETCH_TO’,
‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’, ‘PIVOT’,
‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’], (optional)) – Type
[Link].constraint_add_with_targets(type=’‘)
Add a constraint to the active object, with target (where applicable) set to the selected Objects/Bones
Parameters type (enum in [’COPY_LOCATION’, ‘COPY_ROTATION’, ‘COPY_SCALE’,
‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’, ‘LIMIT_ROTATION’,
‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’, ‘CLAMP_TO’,
‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’, ‘STRETCH_TO’,
‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’, ‘PIVOT’,
‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’], (optional)) – Type
[Link].constraints_clear()
Clear all the constraints for the active Object only
[Link].constraints_copy()
Copy constraints to other selected objects.
[Link](target=’MESH’, keep_original=False)
Convert selected objects to another type
Parameters
• target (enum in [’CURVE’, ‘MESH’], (optional)) – Target, Type of object to convert to.
• keep_original (boolean, (optional)) – Keep Original, Keep original objects instead of re-
placing them.
[Link]()
Delete selected objects

2.3. Operators ([Link]) 71


Blender Index, Release 2.57.0 r36138 - API

[Link].drop_named_material(name=”Material”)
Undocumented (contribute)
Parameters name (string, (optional)) – Name, Material name to assign.
[Link](linked=False, mode=’TRANSLATION’)
Duplicate selected objects
Parameters
• linked (boolean, (optional)) – Linked, Duplicate object but not object data, linking to the
original data.
• mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’,
‘TOSPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’,
‘PUSHPULL’, ‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’,
‘CURVE_SHRINKFATTEN’, ‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’,
‘TIME_SCALE’, ‘TIME_EXTEND’, ‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’,
‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) – Mode
[Link].duplicate_move(OBJECT_OT_duplicate=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• OBJECT_OT_duplicate (OBJECT_OT_duplicate, (optional)) – Duplicate, Duplicate
selected objects
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link].duplicate_move_linked(OBJECT_OT_duplicate=None, TRANS-
FORM_OT_translate=None)
Undocumented (contribute)
Parameters
• OBJECT_OT_duplicate (OBJECT_OT_duplicate, (optional)) – Duplicate, Duplicate
selected objects
• TRANSFORM_OT_translate (TRANSFORM_OT_translate, (optional)) – Translate,
Translate selected items
[Link].duplicates_make_real()
Make dupli objects attached to this object real
[Link].editmode_toggle()
Toggle object’s editmode
[Link].effector_add(type=’FORCE’, view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Add an empty object with a physics effector to the scene
Parameters
• type (enum in [’FORCE’, ‘WIND’, ‘VORTEX’, ‘MAGNET’, ‘HARMONIC’, ‘CHARGE’,
‘LENNARDJ’, ‘TEXTURE’, ‘GUIDE’, ‘BOID’, ‘TURBULENCE’, ‘DRAG’], (optional)) –
Type
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.

72 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].explode_refresh(modifier=”“)
Refresh data in the Explode modifier
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].forcefield_toggle()
Toggle object’s force field
[Link].game_property_clear()
Undocumented (contribute)
[Link].game_property_copy(operation=’COPY’, property=’‘)
Undocumented (contribute)
Parameters
• operation (enum in [’REPLACE’, ‘MERGE’, ‘COPY’], (optional)) – Operation
• property (enum in [], (optional)) – Property, Properties to copy
[Link].game_property_new()
Undocumented (contribute)
[Link].game_property_remove(index=0)
Undocumented (contribute)
Parameters index (int in [0, inf], (optional)) – Index, Property index to remove
[Link].group_add()
Add an object to a new group
[Link].group_instance_add(group=’‘, view_align=False, location=(0.0, 0.0, 0.0), ro-
tation=(0.0, 0.0, 0.0), layers=(False, False, False, False,
False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False))
Add a dupligroup instance
Parameters
• group (enum in [], (optional)) – Group
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].group_link(group=’‘)
Add an object to an existing group
Parameters group (enum in [], (optional)) – Group

2.3. Operators ([Link]) 73


Blender Index, Release 2.57.0 r36138 - API

[Link].group_remove()
Undocumented (contribute)
[Link].hide_render_clear()
Reveal the render object by setting the hide render flag
[Link].hide_render_clear_all()
Reveal all render objects by setting the hide render flag
File startup/bl_operators/[Link]
[Link].hide_render_set(unselected=False)
Hide the render object by setting the hide render flag
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
objects.
[Link].hide_view_clear()
Reveal the object by setting the hide flag
[Link].hide_view_set(unselected=False)
Hide the object by setting the hide flag
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
objects.
[Link].hook_add_newob()
Hook selected vertices to the first selected Object
[Link].hook_add_selob()
Hook selected vertices to the first selected Object
[Link].hook_assign(modifier=’‘)
Assign the selected vertices to a hook
Parameters modifier (enum in [], (optional)) – Modifier, Modifier number to assign to.
[Link].hook_recenter(modifier=’‘)
Set hook center to cursor position
Parameters modifier (enum in [], (optional)) – Modifier, Modifier number to assign to.
[Link].hook_remove(modifier=’‘)
Remove a hook from the active object
Parameters modifier (enum in [], (optional)) – Modifier, Modifier number to remove.
[Link].hook_reset(modifier=’‘)
Recalculate and clear offset transformation
Parameters modifier (enum in [], (optional)) – Modifier, Modifier number to assign to.
[Link].hook_select(modifier=’‘)
Selects effected vertices on mesh
Parameters modifier (enum in [], (optional)) – Modifier, Modifier number to remove.
[Link].isolate_type_render()
Hide unselected render objects of same type as active by setting the hide render flag
File startup/bl_operators/[Link]
[Link]()
Join selected objects into active object

74 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].join_shapes()
Merge selected objects to shapes of active object
[Link].join_uvs()
Copy UV Layout to objects with matching geometry
File startup/bl_operators/[Link]
[Link].lamp_add(type=’POINT’, view_align=False, location=(0.0, 0.0, 0.0), rotation=(0.0,
0.0, 0.0), layers=(False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False,
False))
Add a lamp object to the scene
Parameters
• type (enum in [’POINT’, ‘SUN’, ‘SPOT’, ‘HEMI’, ‘AREA’], (optional)) – Type
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].location_apply()
Apply the object’s location to its data
[Link].location_clear()
Clear the object’s location
[Link].logic_bricks_copy()
Copy logic bricks to other selected objects.
[Link].make_dupli_face()
Make linked objects into dupli-faces
File startup/bl_operators/[Link]
[Link].make_fluid(style=’BASIC’, initial_velocity=(0.0, 0.0, 0.0), show_flows=False,
start_baking=False)
Undocumented (contribute)
Parameters
• style (enum in [’INFLOW’, ‘BASIC’], (optional)) – Fluid Style
• initial_velocity (float array of 3 items in [-100, 100], (optional)) – Initial Velocity, Initial
velocity of the fluid
• show_flows (boolean, (optional)) – Render Fluid Objects, Keep the fluid objects visible
during rendering.
• start_baking (boolean, (optional)) – Start Fluid Bake, Start baking the fluid immediately
after creating the domain object.
File startup/bl_operators/object_quick_effects.py:226
[Link].make_fur(density=’MEDIUM’, view_percentage=10, length=0.1)
Undocumented (contribute)
Parameters

2.3. Operators ([Link]) 75


Blender Index, Release 2.57.0 r36138 - API

• density (enum in [’LIGHT’, ‘MEDIUM’, ‘HEAVY’], (optional)) – Fur Density


• view_percentage (int in [1, 100], (optional)) – View %
• length (float in [0.001, 100], (optional)) – Length
File startup/bl_operators/object_quick_effects.py:45
[Link].make_links_data(type=’OBDATA’)
Make links from the active object to other selected objects
Parameters type (enum in [’OBDATA’, ‘MATERIAL’, ‘ANIMATION’, ‘DUPLIGROUP’, ‘MODI-
FIERS’], (optional)) – Type
[Link].make_links_scene(scene=’‘)
Make linked data local to each object
Parameters scene (enum in [], (optional)) – Scene
[Link].make_local(type=’SELECTED_OBJECTS’)
Make library linked datablocks local to this file
Parameters type (enum in [’SELECTED_OBJECTS’, ‘SELECTED_OBJECTS_DATA’, ‘ALL’],
(optional)) – Type
[Link].make_single_user(type=’SELECTED_OBJECTS’, object=False, obdata=False,
material=False, texture=False, animation=False)
Make linked data local to each object
Parameters
• type (enum in [’SELECTED_OBJECTS’, ‘ALL’], (optional)) – Type
• object (boolean, (optional)) – Object, Make single user objects
• obdata (boolean, (optional)) – Object Data, Make single user object data
• material (boolean, (optional)) – Materials, Make materials local to each datablock
• texture (boolean, (optional)) – Textures, Make textures local to each material
• animation (boolean, (optional)) – Object Animation, Make animation data local to each
object
[Link].make_smoke(style=’STREAM’, show_flows=False)
Undocumented (contribute)
Parameters
• style (enum in [’STREAM’, ‘PUFF’, ‘FIRE’], (optional)) – Smoke Style
• show_flows (boolean, (optional)) – Render Smoke Objects, Keep the smoke objects visible
during rendering.
File startup/bl_operators/object_quick_effects.py:112
[Link].material_slot_add()
Add a new material slot or duplicate the selected one
[Link].material_slot_assign()
Assign the material in the selected material slot to the selected vertices
[Link].material_slot_copy()
Copies materials to other selected objects
[Link].material_slot_deselect()
Deselect vertices assigned to the selected material slot

76 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].material_slot_remove()
Remove the selected material slot
[Link].material_slot_select()
Select vertices assigned to the selected material slot
[Link].meshdeform_bind(modifier=”“)
Bind mesh to cage in mesh deform modifier
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].metaball_add(type=’BALL’, view_align=False, enter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), layers=(False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False))
Add an metaball object to the scene
Parameters
• type (enum in [’BALL’, ‘CAPSULE’, ‘PLANE’, ‘ELLIPSOID’, ‘CUBE’], (optional)) –
Primitive
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].mode_set(mode=’OBJECT’, toggle=False)
Sets the object interaction mode
Parameters
• mode (enum in [’OBJECT’, ‘EDIT’, ‘SCULPT’, ‘VERTEX_PAINT’, ‘WEIGHT_PAINT’,
‘TEXTURE_PAINT’, ‘PARTICLE_EDIT’, ‘POSE’], (optional)) – Mode
• toggle (boolean, (optional)) – Toggle
[Link].modifier_add(type=’SUBSURF’)
Add a modifier to the active object
Parameters type (enum in [’ARRAY’, ‘BEVEL’, ‘BOOLEAN’, ‘BUILD’, ‘DECIMATE’,
‘EDGE_SPLIT’, ‘MASK’, ‘MIRROR’, ‘MULTIRES’, ‘SCREW’, ‘SOLIDIFY’, ‘SUBSURF’,
‘UV_PROJECT’, ‘ARMATURE’, ‘CAST’, ‘CURVE’, ‘DISPLACE’, ‘HOOK’, ‘LATTICE’,
‘MESH_DEFORM’, ‘SHRINKWRAP’, ‘SIMPLE_DEFORM’, ‘SMOOTH’, ‘WAVE’, ‘CLOTH’,
‘COLLISION’, ‘EXPLODE’, ‘FLUID_SIMULATION’, ‘PARTICLE_INSTANCE’, ‘PARTI-
CLE_SYSTEM’, ‘SMOKE’, ‘SOFT_BODY’, ‘SURFACE’], (optional)) – Type
[Link].modifier_apply(apply_as=’DATA’, modifier=”“)
Apply modifier and remove from the stack
Parameters
• apply_as (enum in [’DATA’, ‘SHAPE’], (optional)) – Apply as, How to apply the modifier
to the geometry
• modifier (string, (optional)) – Modifier, Name of the modifier to edit

2.3. Operators ([Link]) 77


Blender Index, Release 2.57.0 r36138 - API

[Link].modifier_convert(modifier=”“)
Convert particles to a mesh object
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].modifier_copy(modifier=”“)
Duplicate modifier at the same position in the stack
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].modifier_move_down(modifier=”“)
Move modifier down in the stack
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].modifier_move_up(modifier=”“)
Move modifier up in the stack
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].modifier_remove(modifier=”“)
Remove a modifier from the active object
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].move_to_layer(layers=(False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False,
False))
Move the object to different layers
Parameters layers (boolean array of 20 items, (optional)) – Layer
[Link].multires_base_apply(modifier=”“)
Modify the base mesh to conform to the displaced mesh
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].multires_external_pack()
Pack displacements from an external file
[Link].multires_external_save(filepath=”“, check_existing=True, fil-
ter_blender=False, filter_image=False, fil-
ter_movie=False, filter_python=False, fil-
ter_font=False, filter_sound=False, filter_text=False,
filter_btx=True, filter_collada=False, fil-
ter_folder=True, filemode=9, relative_path=False,
modifier=”“)
Save displacements to an external file
Parameters
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files

78 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• filter_sound (boolean, (optional)) – Filter sound files


• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].multires_higher_levels_delete(modifier=”“)
Undocumented (contribute)
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].multires_reshape(modifier=”“)
Copy vertex coordinates from other object
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].multires_subdivide(modifier=”“)
Add a new level of subdivision
Parameters modifier (string, (optional)) – Modifier, Name of the modifier to edit
[Link].origin_clear()
Clear the object’s origin
[Link].origin_set(type=’GEOMETRY_ORIGIN’, center=’MEDIAN’)
Set the object’s origin, by either moving the data, or set to center of data, or use 3d cursor
Parameters
• type (enum in [’GEOMETRY_ORIGIN’, ‘ORIGIN_GEOMETRY’, ‘ORIGIN_CURSOR’],
(optional)) – Type
• center (enum in [’MEDIAN’, ‘BOUNDS’], (optional)) – Center
[Link].parent_clear(type=’CLEAR’)
Clear the object’s parenting
Parameters type (enum in [’CLEAR’, ‘CLEAR_KEEP_TRANSFORM’, ‘CLEAR_INVERSE’], (op-
tional)) – Type
[Link].parent_no_inverse_set()
Set the object’s parenting without setting the inverse parent correction
[Link].parent_set(type=’OBJECT’)
Set the object’s parenting
Parameters type (enum in [’OBJECT’, ‘ARMATURE’, ‘ARMATURE_NAME’, ‘ARMA-
TURE_AUTO’, ‘ARMATURE_ENVELOPE’, ‘BONE’, ‘CURVE’, ‘FOLLOW’, ‘PATH_CONST’,
‘LATTICE’, ‘VERTEX’, ‘TRIA’], (optional)) – Type
[Link].particle_system_add()
Add a particle system
[Link].particle_system_remove()
Remove the selected particle system

2.3. Operators ([Link]) 79


Blender Index, Release 2.57.0 r36138 - API

[Link].paths_calculate()
Calculate paths for the selected bones
[Link].paths_clear()
Clear path caches for selected bones
[Link].posemode_toggle()
Enables or disables posing/selecting bones
[Link].proxy_make(object=”“, type=’DEFAULT’)
Add empty object to become local replacement data of a library-linked object
Parameters
• object (string, (optional)) – Proxy Object, Name of lib-linked/grouped object to make a
proxy for.
• type (enum in [’DEFAULT’], (optional)) – Type, Group object
[Link].randomize_transform(random_seed=0, use_delta=False, use_loc=True,
loc=(0.0, 0.0, 0.0), use_rot=True, rot=(0.0, 0.0, 0.0),
use_scale=True, scale_even=False, scale=(0.0, 0.0, 0.0))
Randomize objects loc/rot/scale
Parameters
• random_seed (int in [0, 1000], (optional)) – Random Seed, Seed value for the random
generator
• use_delta (boolean, (optional)) – Transform Delta, Randomize delta transform values in-
stead of regular transform
• use_loc (boolean, (optional)) – Randomize Location, Randomize the location values
• loc (float array of 3 items in [-100, 100], (optional)) – Location, Maximun distance the
objects can spread over each axis
• use_rot (boolean, (optional)) – Randomize Rotation, Randomize the rotation values
• rot (float array of 3 items in [-180, 180], (optional)) – Rotation, Maximun rotation over
each axis
• use_scale (boolean, (optional)) – Randomize Scale, Randomize the scale values
• scale_even (boolean, (optional)) – Scale Even, Use the same scale value for all axis
• scale (float array of 3 items in [-100, 100], (optional)) – Scale, Maximum scale randomiza-
tion over each axis
File startup/bl_operators/object_randomize_transform.py:131
[Link].rotation_apply()
Apply the object’s rotation to its data
[Link].rotation_clear()
Clear the object’s rotation
[Link].scale_apply()
Apply the object’s scale to its data
[Link].scale_clear()
Clear the object’s scale
[Link].select_all(action=’TOGGLE’)
Change selection of all visible objects in scene

80 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-


tion, Selection action to execute
[Link].select_by_layer(extend=False, layers=1)
Select all visible objects on a layer
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• layers (int in [1, 20], (optional)) – Layer
[Link].select_by_type(extend=False, type=’MESH’)
Select all visible objects that are of a type
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• type (enum in [’MESH’, ‘CURVE’, ‘SURFACE’, ‘META’, ‘FONT’, ‘ARMATURE’, ‘LAT-
TICE’, ‘EMPTY’, ‘CAMERA’, ‘LAMP’], (optional)) – Type
[Link].select_camera()
Select object matching a naming pattern
File startup/bl_operators/[Link]
[Link].select_grouped(extend=False, type=’CHILDREN_RECURSIVE’)
Select all visible objects grouped by various properties
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• type (enum in [’CHILDREN_RECURSIVE’, ‘CHILDREN’, ‘PARENT’, ‘SIBLINGS’,
‘TYPE’, ‘LAYER’, ‘GROUP’, ‘HOOK’, ‘PASS’, ‘COLOR’, ‘PROPERTIES’], (optional)) –
Type
[Link].select_hierarchy(direction=’PARENT’, extend=False)
Select object relative to the active objects position in the hierarchy
Parameters
• direction (enum in [’PARENT’, ‘CHILD’], (optional)) – Direction, Direction to select in
the hierarchy
• extend (boolean, (optional)) – Extend, Extend the existing selection
File startup/bl_operators/[Link]
[Link].select_inverse()
Invert selection of all visible objects
[Link].select_linked(extend=False, type=’OBDATA’)
Select all visible objects that are linked
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• type (enum in [’OBDATA’, ‘MATERIAL’, ‘TEXTURE’, ‘DUPGROUP’, ‘PARTICLE’, ‘LI-
BRARY’, ‘LIBRARY_OBDATA’], (optional)) – Type

2.3. Operators ([Link]) 81


Blender Index, Release 2.57.0 r36138 - API

[Link].select_mirror(extend=False)
Select the Mirror objects of the selected object eg. [Link] -> [Link]
Parameters extend (boolean, (optional)) – Extend, Extend selection instead of deselecting every-
thing first.
[Link].select_name(name=”“, extend=False)
Select an object with this name
Parameters
• name (string, (optional)) – Name, Object name to select.
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
[Link].select_pattern(pattern=”*”, case_sensitive=False, extend=True)
Select object matching a naming pattern
Parameters
• pattern (string, (optional)) – Pattern, Name filter using ‘*’ and ‘?’ wildcard chars
• case_sensitive (boolean, (optional)) – Case Sensitive, Do a case sensitive compare
• extend (boolean, (optional)) – Extend, Extend the existing selection
File startup/bl_operators/[Link]
[Link].select_random(percent=50.0, extend=False)
Set select on random visible objects
Parameters
• percent (float in [0, 100], (optional)) – Percent, Percentage of objects to select randomly
• extend (boolean, (optional)) – Extend Selection, Extend selection instead of deselecting
everything first.
[Link].select_same_group(group=”“)
Select object in the same group
Parameters group (string, (optional)) – Group, Name of the group to select.
[Link].shade_flat()
Undocumented (contribute)
[Link].shade_smooth()
Undocumented (contribute)
[Link].shape_key_add(from_mix=True)
Add shape key to the object
Parameters from_mix (boolean, (optional)) – From Mix, Create the new shape key from the exist-
ing mix of keys.
[Link].shape_key_clear()
Clear weights for all shape keys
[Link].shape_key_mirror()
Undocumented (contribute)
[Link].shape_key_move(type=’UP’)
Undocumented (contribute)
Parameters type (enum in [’UP’, ‘DOWN’], (optional)) – Type

82 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].shape_key_remove()
Remove shape key from the object
[Link].shape_key_transfer(mode=’OFFSET’, use_clamp=False)
Copy another selected objects active shape to this one by applying the relative offsets
Parameters
• mode (enum in [’OFFSET’, ‘RELATIVE_FACE’, ‘RELATIVE_EDGE’], (optional)) –
Transformation Mode, Method to apply relative shape positions to the new shape
• use_clamp (boolean, (optional)) – Clamp Offset, Clamp the transformation to the distance
each vertex moves in the original shape.
File startup/bl_operators/[Link]
[Link].slow_parent_clear()
Clear the object’s slow parent
[Link].slow_parent_set()
Set the object’s slow parent
[Link].subdivision_set(level=1, relative=False)
Sets a Subdivision Surface Level (1-5)
Parameters
• level (int in [-100, 100], (optional)) – Level
• relative (boolean, (optional)) – Relative, Apply the subsurf level as an offset relative to the
current level
File startup/bl_operators/[Link]
[Link].text_add(view_align=False, enter_editmode=False, location=(0.0, 0.0, 0.0), rota-
tion=(0.0, 0.0, 0.0), layers=(False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False,
False, False))
Add a text object to the scene
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].track_clear(type=’CLEAR’)
Clear tracking constraint or flag from object
Parameters type (enum in [’CLEAR’, ‘CLEAR_KEEP_TRANSFORM’], (optional)) – Type
[Link].track_set(type=’DAMPTRACK’)
Make the object track another object, either by constraint or old way or locked track
Parameters type (enum in [’DAMPTRACK’, ‘TRACKTO’, ‘LOCKTRACK’], (optional)) – Type

2.3. Operators ([Link]) 83


Blender Index, Release 2.57.0 r36138 - API

[Link].vertex_group_add()
Undocumented (contribute)
[Link].vertex_group_assign(new=False)
Undocumented (contribute)
Parameters new (boolean, (optional)) – New, Assign vertex to new vertex group.
[Link].vertex_group_blend()
Undocumented (contribute)
[Link].vertex_group_clean(limit=0.01, all_groups=False, keep_single=False)
Remove Vertex Group assignments which aren’t required
Parameters
• limit (float in [0, 1], (optional)) – Limit, Remove weights under this limit.
• all_groups (boolean, (optional)) – All Groups, Clean all vertex groups.
• keep_single (boolean, (optional)) – Keep Single, Keep verts assigned to at least one group
when cleaning.
[Link].vertex_group_copy()
Undocumented (contribute)
[Link].vertex_group_copy_to_linked()
Copy Vertex Groups to all users of the same Geometry data
[Link].vertex_group_copy_to_selected()
Copy Vertex Groups to other selected objects with matching indices
[Link].vertex_group_deselect()
Undocumented (contribute)
[Link].vertex_group_invert(auto_assign=True, auto_remove=True)
Undocumented (contribute)
Parameters
• auto_assign (boolean, (optional)) – Add Weights, Add verts from groups that have zero
weight before inverting.
• auto_remove (boolean, (optional)) – Remove Weights, Remove verts from groups that have
zero weight after inverting.
[Link].vertex_group_levels(offset=0.0, gain=1.0)
Undocumented (contribute)
Parameters
• offset (float in [-1, 1], (optional)) – Offset, Value to add to weights.
• gain (float in [0, inf], (optional)) – Gain, Value to multiply weights by.
[Link].vertex_group_mirror(mirror_weights=True, flip_group_names=True)
Mirror all vertex groups, flip weights and/or names, editing only selected vertices, flipping when both sides are
selected otherwise copy from unselected
Parameters
• mirror_weights (boolean, (optional)) – Mirror Weights, Mirror weights.
• flip_group_names (boolean, (optional)) – Flip Groups, Flip vertex group names.

84 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].vertex_group_move(direction=’UP’)
Undocumented (contribute)
Parameters direction (enum in [’UP’, ‘DOWN’], (optional)) – Direction, Direction to move, UP or
DOWN
[Link].vertex_group_normalize()
Undocumented (contribute)
[Link].vertex_group_normalize_all(lock_active=True)
Undocumented (contribute)
Parameters lock_active (boolean, (optional)) – Lock Active, Keep the values of the active group
while normalizing others.
[Link].vertex_group_remove(all=False)
Undocumented (contribute)
Parameters all (boolean, (optional)) – All, Remove from all vertex groups.
[Link].vertex_group_remove_from(all=False)
Undocumented (contribute)
Parameters all (boolean, (optional)) – All, Remove from all vertex groups.
[Link].vertex_group_select()
Undocumented (contribute)
[Link].vertex_group_set_active(group=’‘)
Set the active vertex group
Parameters group (enum in [], (optional)) – Group, Vertex group to set as active.
[Link].vertex_group_sort()
Sorts vertex groups alphabetically
[Link].vertex_parent_set()
Parent selected objects to the selected vertices
[Link].visual_transform_apply()
Apply the object’s visual transformation to its data

Outliner Operators

[Link].data_operation(type=’SELECT’)
Undocumented (contribute)
Parameters type (enum in [’SELECT’, ‘DESELECT’, ‘HIDE’, ‘UNHIDE’], (optional)) – Data Op-
eration
[Link].drivers_add_selected()
Add drivers to selected items
[Link].drivers_delete_selected()
Delete drivers assigned to selected items
[Link].expanded_toggle()
Expand/Collapse all items
[Link].group_operation(type=’UNLINK’)
Undocumented (contribute)

2.3. Operators ([Link]) 85


Blender Index, Release 2.57.0 r36138 - API

Parameters type (enum in [’UNLINK’, ‘LOCAL’, ‘LINK’, ‘TOGVIS’, ‘TOGSEL’, ‘TOGREN’], (op-
tional)) – Group Operation
[Link].id_operation(type=’UNLINK’)
Undocumented (contribute)
Parameters type (enum in [’UNLINK’, ‘LOCAL’], (optional)) – ID data Operation
[Link].item_activate(extend=True)
Handle mouse clicks to activate/select items
Parameters extend (boolean, (optional)) – Extend, Extend selection for activation.
[Link].item_openclose(all=True)
Toggle whether item under cursor is enabled or closed
Parameters all (boolean, (optional)) – All, Close or open all items.
[Link].item_rename()
Rename item under cursor
[Link].keyingset_add_selected()
Add selected items (blue-grey rows) to active Keying Set
[Link].keyingset_remove_selected()
Remove selected items (blue-grey rows) from active Keying Set
[Link].object_operation(type=’SELECT’)
Undocumented (contribute)
Parameters type (enum in [’SELECT’, ‘DESELECT’, ‘DELETE’, ‘TOGVIS’, ‘TOGSEL’,
‘TOGREN’], (optional)) – Object Operation
[Link]()
Context menu for item operations
[Link].renderability_toggle()
Toggle the renderbility of selected items
[Link].scroll_page(up=False)
Scroll page up or down
Parameters up (boolean, (optional)) – Up, Scroll up one page.
[Link].selectability_toggle()
Toggle the selectability
[Link].selected_toggle()
Toggle the Outliner selection of items
[Link].show_active()
Adjust the view so that the active Object is shown centered
[Link].show_hierarchy()
Open all object entries and close all others
[Link].show_one_level(open=True)
Expand/collapse all entries by one level
Parameters open (boolean, (optional)) – Open, Expand all entries one level deep.
[Link].visibility_toggle()
Toggle the visibility of selected items

86 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Paint Operators

[Link].clone_cursor_set(location=(0.0, 0.0, 0.0))


Undocumented (contribute)
Parameters location (float array of 3 items in [-inf, inf], (optional)) – Location, Cursor location in
world space coordinates.
[Link].face_select_all(action=’TOGGLE’)
Change selection for all faces
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].face_select_hide(unselected=False)
Hide selected faces
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
objects.
[Link].face_select_inverse()
Invert selection of faces
[Link].face_select_linked()
Select linked faces
[Link].face_select_linked_pick(extend=False)
Select linked faces
Parameters extend (boolean, (optional)) – Extend, Extend the existing selection
[Link].face_select_reveal(unselected=False)
Reveal hidden faces
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected
objects.
[Link].grab_clone(delta=(0.0, 0.0))
Undocumented (contribute)
Parameters delta (float array of 2 items in [-inf, inf], (optional)) – Delta, Delta offset of clone
image in 0.0..1.0 coordinates.
[Link].image_from_view(filepath=”“)
Make an image from the current 3D view for re-projection
Parameters filepath (string, (optional)) – File Path, Name of the file
[Link].image_paint(stroke=None)
Undocumented (contribute)
Parameters stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) –
Stroke
[Link].image_paint_radial_control(initial_value=0.0, new_value=0.0, mode=’SIZE’,
initial_mouse=(0, 0), color=(1.0, 1.0, 1.0, 0.5),
texture_color=(1.0, 1.0, 1.0, 1.0))
Undocumented (contribute)
Parameters
• initial_value (float in [0, inf], (optional)) – Initial Value
• new_value (float in [0, inf], (optional)) – New Value

2.3. Operators ([Link]) 87


Blender Index, Release 2.57.0 r36138 - API

• mode (enum in [’SIZE’, ‘STRENGTH’, ‘ANGLE’], (optional)) – Mode


• initial_mouse (int array of 2 items in [-inf, inf], (optional)) – Initial Mouse
• color (float array of 4 items in [0, inf], (optional)) – Color, Radial control color
• texture_color (float array of 4 items in [0, inf], (optional)) – Texture Color, Radial control
texture color
[Link].project_image(image=’‘)
Project an edited render from the active camera back onto the object
Parameters image (enum in [], (optional)) – Image
[Link].sample_color(location=(0, 0))
Undocumented (contribute)
Parameters location (int array of 2 items in [0, inf], (optional)) – Location, Cursor location in
region coordinates.
[Link].texture_paint_radial_control(initial_value=0.0, new_value=0.0,
mode=’SIZE’, initial_mouse=(0, 0),
color=(1.0, 1.0, 1.0, 0.5), texture_color=(1.0,
1.0, 1.0, 1.0))
Undocumented (contribute)
Parameters
• initial_value (float in [0, inf], (optional)) – Initial Value
• new_value (float in [0, inf], (optional)) – New Value
• mode (enum in [’SIZE’, ‘STRENGTH’, ‘ANGLE’], (optional)) – Mode
• initial_mouse (int array of 2 items in [-inf, inf], (optional)) – Initial Mouse
• color (float array of 4 items in [0, inf], (optional)) – Color, Radial control color
• texture_color (float array of 4 items in [0, inf], (optional)) – Texture Color, Radial control
texture color
[Link].texture_paint_toggle()
Undocumented (contribute)
[Link].vertex_color_dirt(blur_strength=1.0, blur_iterations=1, clean_angle=180.0,
dirt_angle=0.0, dirt_only=False)
Undocumented (contribute)
Parameters
• blur_strength (float in [0.01, 1], (optional)) – Blur Strength, Blur strength per iteration
• blur_iterations (int in [0, 40], (optional)) – Blur Iterations, Number times to blur the colors.
(higher blurs more)
• clean_angle (float in [0, 180], (optional)) – Highlight Angle, Less then 90 limits the angle
used in the tonal range
• dirt_angle (float in [0, 180], (optional)) – Dirt Angle, Less then 90 limits the angle used in
the tonal range
• dirt_only (boolean, (optional)) – Dirt Only, Dont calculate cleans for convex areas
File startup/bl_operators/vertexpaint_dirt.py:159
[Link].vertex_color_set()
Undocumented (contribute)

88 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].vertex_paint(stroke=None)
Undocumented (contribute)
Parameters stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) –
Stroke
[Link].vertex_paint_radial_control(initial_value=0.0, new_value=0.0,
mode=’SIZE’, initial_mouse=(0, 0), color=(1.0,
1.0, 1.0, 0.5), texture_color=(1.0, 1.0, 1.0, 1.0))
Undocumented (contribute)
Parameters
• initial_value (float in [0, inf], (optional)) – Initial Value
• new_value (float in [0, inf], (optional)) – New Value
• mode (enum in [’SIZE’, ‘STRENGTH’, ‘ANGLE’], (optional)) – Mode
• initial_mouse (int array of 2 items in [-inf, inf], (optional)) – Initial Mouse
• color (float array of 4 items in [0, inf], (optional)) – Color, Radial control color
• texture_color (float array of 4 items in [0, inf], (optional)) – Texture Color, Radial control
texture color
[Link].vertex_paint_toggle()
Undocumented (contribute)
[Link].weight_from_bones(type=’AUTOMATIC’)
Undocumented (contribute)
Parameters type (enum in [’AUTOMATIC’, ‘ENVELOPES’], (optional)) – Type, Method to use for
assigning weights.
[Link].weight_paint(stroke=None)
Undocumented (contribute)
Parameters stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) –
Stroke
[Link].weight_paint_radial_control(initial_value=0.0, new_value=0.0,
mode=’SIZE’, initial_mouse=(0, 0), color=(1.0,
1.0, 1.0, 0.5), texture_color=(1.0, 1.0, 1.0, 1.0))
Undocumented (contribute)
Parameters
• initial_value (float in [0, inf], (optional)) – Initial Value
• new_value (float in [0, inf], (optional)) – New Value
• mode (enum in [’SIZE’, ‘STRENGTH’, ‘ANGLE’], (optional)) – Mode
• initial_mouse (int array of 2 items in [-inf, inf], (optional)) – Initial Mouse
• color (float array of 4 items in [0, inf], (optional)) – Color, Radial control color
• texture_color (float array of 4 items in [0, inf], (optional)) – Texture Color, Radial control
texture color
[Link].weight_paint_toggle()
Undocumented (contribute)
[Link].weight_set()
Undocumented (contribute)

2.3. Operators ([Link]) 89


Blender Index, Release 2.57.0 r36138 - API

Particle Operators

[Link].brush_edit(stroke=None)
Undocumented (contribute)
Parameters stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) –
Stroke
[Link].brush_radial_control(initial_value=0.0, new_value=0.0, mode=’SIZE’, ini-
tial_mouse=(0, 0), color=(1.0, 1.0, 1.0, 0.5), tex-
ture_color=(1.0, 1.0, 1.0, 1.0))
Undocumented (contribute)
Parameters
• initial_value (float in [0, inf], (optional)) – Initial Value
• new_value (float in [0, inf], (optional)) – New Value
• mode (enum in [’SIZE’, ‘STRENGTH’, ‘ANGLE’], (optional)) – Mode
• initial_mouse (int array of 2 items in [-inf, inf], (optional)) – Initial Mouse
• color (float array of 4 items in [0, inf], (optional)) – Color, Radial control color
• texture_color (float array of 4 items in [0, inf], (optional)) – Texture Color, Radial control
texture color
[Link].connect_hair(all=False)
Connect hair to the emitter mesh
Parameters all (boolean, (optional)) – All hair, Connect all hair systems to the emitter mesh
[Link](type=’PARTICLE’)
Undocumented (contribute)
Parameters type (enum in [’PARTICLE’, ‘KEY’], (optional)) – Type, Delete a full particle or only
keys.
[Link].disconnect_hair(all=False)
Disconnect hair from the emitter mesh
Parameters all (boolean, (optional)) – All hair, Disconnect all hair systems from the emitter mesh
[Link].dupliob_copy()
Duplicate the current dupliobject
[Link].dupliob_move_down()
Move dupli object down in the list
[Link].dupliob_move_up()
Move dupli object up in the list
[Link].dupliob_remove()
Remove the selected dupliobject
[Link].edited_clear()
Undocumented (contribute)
[Link](unselected=False)
Undocumented (contribute)
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.
[Link]()
Undocumented (contribute)

90 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Add new particle settings
[Link].new_target()
Add a new particle target
[Link].particle_edit_toggle()
Undocumented (contribute)
[Link](keys=2)
Undocumented (contribute)
Parameters keys (int in [2, inf], (optional)) – Number of Keys
[Link].remove_doubles(threshold=0.0002)
Undocumented (contribute)
Parameters threshold (float in [0, inf], (optional)) – Threshold, Threshold distance withing which
particles are removed
[Link]()
Undocumented (contribute)
[Link].select_all(action=’TOGGLE’)
Undocumented (contribute)
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_inverse()
Undocumented (contribute)
[Link].select_less()
Undocumented (contribute)
[Link].select_linked(deselect=False, location=(0, 0))
Undocumented (contribute)
Parameters
• deselect (boolean, (optional)) – Deselect, Deselect linked keys rather than selecting them.
• location (int array of 2 items in [0, inf], (optional)) – Location
[Link].select_more()
Undocumented (contribute)
[Link].select_roots()
Undocumented (contribute)
[Link].select_tips()
Undocumented (contribute)
[Link]()
Undocumented (contribute)
[Link].target_move_down()
Move particle target down in the list
[Link].target_move_up()
Move particle target up in the list
[Link].target_remove()
Remove the selected particle target

2.3. Operators ([Link]) 91


Blender Index, Release 2.57.0 r36138 - API

[Link].weight_set(factor=1.0)
Undocumented (contribute)
Parameters factor (float in [0, 1], (optional)) – Factor

Pose Operators

[Link].armature_apply()
Apply the current pose as the new rest pose
[Link].armature_layers(layers=(False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False,
False, False, False))
Change the visible armature layers
Parameters layers (boolean array of 32 items, (optional)) – Layer, Armature layers to make visible
[Link].autoside_names(axis=’XAXIS’)
Automatically renames the selected bones according to which side of the target axis they fall on
Parameters axis (enum in [’XAXIS’, ‘YAXIS’, ‘ZAXIS’], (optional)) – Axis, Axis tag names with.
[Link].bone_layers(layers=(False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False))
Change the layers that the selected bones belong to
Parameters layers (boolean array of 32 items, (optional)) – Layer, Armature layers that bone be-
longs to
[Link](prev_frame=0, next_frame=0, percentage=0.5)
Create a suitable breakdown pose on the current frame
Parameters
• prev_frame (int in [-300000, 300000], (optional)) – Previous Keyframe, Frame number of
keyframe immediately before the current frame.
• next_frame (int in [-300000, 300000], (optional)) – Next Keyframe, Frame number of
keyframe immediately after the current frame.
• percentage (float in [0, 1], (optional)) – Percentage, Weighting factor for the sliding oper-
ation
[Link].constraint_add(type=’‘)
Add a constraint to the active bone
Parameters type (enum in [’COPY_LOCATION’, ‘COPY_ROTATION’, ‘COPY_SCALE’,
‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’, ‘LIMIT_ROTATION’,
‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’, ‘CLAMP_TO’,
‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’, ‘STRETCH_TO’,
‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’, ‘PIVOT’,
‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’], (optional)) – Type
[Link].constraint_add_with_targets(type=’‘)
Add a constraint to the active bone, with target (where applicable) set to the selected Objects/Bones
Parameters type (enum in [’COPY_LOCATION’, ‘COPY_ROTATION’, ‘COPY_SCALE’,
‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’, ‘LIMIT_ROTATION’,
‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’, ‘CLAMP_TO’,
‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’, ‘STRETCH_TO’,

92 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’, ‘PIVOT’,


‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’], (optional)) – Type
[Link].constraints_clear()
Clear all the constraints for the selected bones
[Link].constraints_copy()
Copy constraints to other selected bones.
[Link]()
Copies the current pose of the selected bones to copy/paste buffer
[Link].flags_set(type=’DRAWWIRE’, mode=’CLEAR’)
Set flags for armature bones
Parameters
• type (enum in [’DRAWWIRE’, ‘DEFORM’, ‘MULT_VG’, ‘HINGE’, ‘NO_SCALE’,
‘LOCKED’], (optional)) – Type
• mode (enum in [’CLEAR’, ‘ENABLE’, ‘TOGGLE’], (optional)) – Mode
[Link].flip_names()
Flips (and corrects) the axis suffixes of the the names of selected bones
[Link].group_add()
Add a new bone group
[Link].group_assign(type=0)
Add selected bones to the chosen bone group
Parameters type (int in [0, 10], (optional)) – Bone Group Index
[Link].group_deselect()
Deselect bones of active Bone Group
[Link].group_remove()
Removes the active bone group
[Link].group_select()
Select bones in active Bone Group
[Link].group_unassign()
Remove selected bones from all bone groups
[Link](unselected=False)
Tag selected bones to not be visible in Pose Mode
Parameters unselected (boolean, (optional)) – Unselected
[Link].ik_add(with_targets=True)
Add IK Constraint to the active Bone
Parameters with_targets (boolean, (optional)) – With Targets, Assign IK Constraint with targets
derived from the select bones/objects
[Link].ik_clear()
Remove all IK Constraints from selected bones
[Link].loc_clear()
Reset locations of selected bones to their default values
[Link](flipped=False, selected_mask=False)
Pastes the stored pose on to the current pose

2.3. Operators ([Link]) 93


Blender Index, Release 2.57.0 r36138 - API

Parameters
• flipped (boolean, (optional)) – Flipped on X-Axis, Paste the stored pose flipped on to current
pose
• selected_mask (boolean, (optional)) – On Selected Only, Only paste the stored post on to
selected bones in the current pose
[Link].paths_calculate()
Calculate paths for the selected bones
[Link].paths_clear()
Clear path caches for selected bones
[Link](mode=’WHILE_HELD’, end_frame=250.0)
Copy selected aspects of the current pose to subsequent poses already keyframed
Parameters
• mode (enum in [’WHILE_HELD’, ‘NEXT_KEY’, ‘LAST_KEY’, ‘BEFORE_FRAME’, ‘BE-
FORE_END’, ‘SELECTED_MARKERS’], (optional)) – Terminate Mode, Method used to
determine when to stop propagating pose to keyframes
• end_frame (float in [1.17549e-38, inf], (optional)) – End Frame, Frame to stop propagating
frames to (for ‘Before Frame’ mode)
[Link](prev_frame=0, next_frame=0, percentage=0.5)
Exaggerate the current pose
Parameters
• prev_frame (int in [-300000, 300000], (optional)) – Previous Keyframe, Frame number of
keyframe immediately before the current frame.
• next_frame (int in [-300000, 300000], (optional)) – Next Keyframe, Frame number of
keyframe immediately after the current frame.
• percentage (float in [0, 1], (optional)) – Percentage, Weighting factor for the sliding oper-
ation
[Link].quaternions_flip()
Flip quaternion values to achieve desired rotations, while maintaining the same orientations
[Link](prev_frame=0, next_frame=0, percentage=0.5)
Make the current pose more similar to its surrounding ones
Parameters
• prev_frame (int in [-300000, 300000], (optional)) – Previous Keyframe, Frame number of
keyframe immediately before the current frame.
• next_frame (int in [-300000, 300000], (optional)) – Next Keyframe, Frame number of
keyframe immediately after the current frame.
• percentage (float in [0, 1], (optional)) – Percentage, Weighting factor for the sliding oper-
ation
[Link]()
Unhide all bones that have been tagged to be hidden in Pose Mode
[Link].rot_clear()
Reset rotations of selected bones to their default values
[Link].scale_clear()
Reset scaling of selected bones to their default values

94 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].select_all(action=’TOGGLE’)
Toggle selection status of all bones
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_constraint_target()
Select bones used as targets for the currently selected bones
[Link].select_flip_active()
Activate the bone with a flipped name.
[Link].select_grouped(extend=False, type=’LAYER’)
Select all visible bones grouped by similar properties
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• type (enum in [’LAYER’, ‘GROUP’], (optional)) – Type
[Link].select_hierarchy(direction=’PARENT’, extend=False)
Select immediate parent/children of selected bones
Parameters
• direction (enum in [’PARENT’, ‘CHILD’], (optional)) – Direction
• extend (boolean, (optional)) – Add to Selection
[Link].select_inverse()
Flip the selection status of bones (selected -> unselected, unselected -> selected)
[Link].select_linked(extend=False)
Select bones related to selected ones by parent/child relationships
Parameters extend (boolean, (optional)) – Extend, Extend selection instead of deselecting every-
thing first.
[Link].select_parent()
Select bones that are parents of the currently selected bones
[Link].transforms_clear()
Reset location, rotation, and scaling of selected bones to their default values
[Link].visual_transform_apply()
Apply final constrained position of pose bones to their transform.

Poselib Operators

[Link].action_sanitise()
Make action suitable for use as a Pose Library
[Link].apply_pose(pose_index=-1)
Apply specified Pose Library pose to the rig
Parameters pose_index (int in [-2, inf], (optional)) – Pose, Index of the pose to apply (-2 for no
change to pose, -1 for poselib active pose)
[Link].browse_interactive(pose_index=-1)
Interactively browse poses in 3D-View

2.3. Operators ([Link]) 95


Blender Index, Release 2.57.0 r36138 - API

Parameters pose_index (int in [-2, inf], (optional)) – Pose, Index of the pose to apply (-2 for no
change to pose, -1 for poselib active pose)
[Link]()
Add New Pose Library to active Object
[Link].pose_add(frame=1, name=”Pose”)
Add the current Pose to the active Pose Library
Parameters
• frame (int in [0, inf], (optional)) – Frame, Frame to store pose on
• name (string, (optional)) – Pose Name, Name of newly added Pose
[Link].pose_remove(pose=’DEFAULT’)
Remove nth pose from the active Pose Library
Parameters pose (enum in [’DEFAULT’], (optional)) – Pose, The pose to remove
[Link].pose_rename(name=”RenamedPose”, pose=’‘)
Rename specified pose from the active Pose Library
Parameters
• name (string, (optional)) – New Pose Name, New name for pose
• pose (enum in [], (optional)) – Pose, The pose to rename
[Link]()
Remove Pose Library from active Object

Ptcache Operators

[Link]()
Undocumented (contribute)
[Link](bake=False)
Undocumented (contribute)
Parameters bake (boolean, (optional)) – Bake
[Link].bake_all(bake=True)
Undocumented (contribute)
Parameters bake (boolean, (optional)) – Bake
[Link].bake_from_cache()
Undocumented (contribute)
[Link].free_bake()
Undocumented (contribute)
[Link].free_bake_all()
Undocumented (contribute)
[Link]()
Undocumented (contribute)

96 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Render Operators

[Link](animation=False, write_still=False, view_context=True)


OpenGL render active viewport
Parameters
• animation (boolean, (optional)) – Animation, Render files from the animation range of this
scene
• write_still (boolean, (optional)) – Write Image, Save rendered the image to the output path
(used only when animation is disabled)
• view_context (boolean, (optional)) – View Context, Use the current 3D view for rendering,
else use scene settings.
[Link].play_rendered_anim()
Plays back rendered frames/movies using an external player.
File startup/bl_operators/screen_play_rendered_anim.py:72
[Link].preset_add(name=”“, remove_active=False)
Add a Render Preset
Parameters name (string, (optional)) – Name, Name of the preset, used to make the path name
File startup/bl_operators/[Link]
[Link](animation=False, write_still=False, layer=”“, scene=”“)
Render active scene
Parameters
• animation (boolean, (optional)) – Animation, Render files from the animation range of this
scene
• write_still (boolean, (optional)) – Write Image, Save rendered the image to the output path
(used only when animation is disabled)
• layer (string, (optional)) – Render Layer, Single render layer to re-render
• scene (string, (optional)) – Scene, Re-render single layer in this scene
[Link].view_cancel()
Cancel show render view
[Link].view_show()
Toggle show render view

Scene Operators

[Link]()
Delete active scene
[Link](type=’NEW’)
Add new scene by type
Parameters type (enum in [’NEW’, ‘EMPTY’, ‘LINK_OBJECTS’, ‘LINK_OBJECT_DATA’,
‘FULL_COPY’], (optional)) – Type
[Link].render_layer_add()
Add a render layer

2.3. Operators ([Link]) 97


Blender Index, Release 2.57.0 r36138 - API

[Link].render_layer_remove()
Remove the selected render layer

Screen Operators

[Link](modifier=0)
Handle area action zones for mouse actions/gestures
Parameters modifier (int in [0, 2], (optional)) – modifier, modifier state
[Link].animation_cancel(restore_frame=True)
Cancel animation, returning to the original frame
Parameters restore_frame (boolean, (optional)) – Restore Frame, Restore the frame when anima-
tion was initialized.
[Link].animation_play(reverse=False, sync=False)
Play animation
Parameters
• reverse (boolean, (optional)) – Play in Reverse, Animation is played backwards
• sync (boolean, (optional)) – Sync, Drop frames to maintain framerate
[Link].animation_step()
Step through animation by position
[Link].area_dupli()
Duplicate selected area into new window
[Link].area_join(min_x=-100, min_y=-100, max_x=-100, max_y=-100)
Join selected areas into new window
Parameters
• min_x (int in [-inf, inf], (optional)) – X 1
• min_y (int in [-inf, inf], (optional)) – Y 1
• max_x (int in [-inf, inf], (optional)) – X 2
• max_y (int in [-inf, inf], (optional)) – Y 2
[Link].area_move(x=0, y=0, delta=0)
Move selected area edges
Parameters
• x (int in [-inf, inf], (optional)) – X
• y (int in [-inf, inf], (optional)) – Y
• delta (int in [-inf, inf], (optional)) – Delta
[Link].area_options()
Operations for splitting and merging
[Link].area_split(direction=’HORIZONTAL’, factor=0.5, mouse_x=-100, mouse_y=-
100)
Split selected area into new windows
Parameters
• direction (enum in [’HORIZONTAL’, ‘VERTICAL’], (optional)) – Direction

98 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• factor (float in [0, 1], (optional)) – Factor


• mouse_x (int in [-inf, inf], (optional)) – Mouse X
• mouse_y (int in [-inf, inf], (optional)) – Mouse Y
[Link].area_swap()
Swap selected areas screen positions
[Link].back_to_previous()
Revert back to the original screen layout, before fullscreen area overlay
[Link]()
Delete active screen
[Link].frame_jump(end=False)
Jump to first/last frame in frame range
Parameters end (boolean, (optional)) – Last Frame, Jump to the last frame of the frame range.
[Link].frame_offset(delta=0)
Undocumented (contribute)
Parameters delta (int in [-inf, inf], (optional)) – Delta
[Link].header_flip()
Undocumented (contribute)
[Link].header_toolbox()
Display header region toolbox
[Link].keyframe_jump(next=True)
Jump to previous/next keyframe
Parameters next (boolean, (optional)) – Next Keyframe
[Link]()
Add a new screen
[Link].redo_last()
Display menu for last action performed
[Link].region_flip()
Undocumented (contribute)
[Link].region_quadview()
Split selected area into camera, front, right & top views
[Link].region_scale()
Scale selected area
[Link].repeat_history(index=0)
Display menu for previous actions performed
Parameters index (int in [0, inf], (optional)) – Index
[Link].repeat_last()
Repeat last action
[Link].screen_full_area()
Toggle display selected area as fullscreen
[Link].screen_set(delta=0)
Cycle through available screens
Parameters delta (int in [-inf, inf], (optional)) – Delta

2.3. Operators ([Link]) 99


Blender Index, Release 2.57.0 r36138 - API

[Link](filepath=”“, full=True)
Undocumented (contribute)
Parameters
• filepath (string, (optional)) – filepath
• full (boolean, (optional)) – Full Screen
[Link](filepath=”“, check_existing=True, filter_blender=False, fil-
ter_image=True, filter_movie=False, filter_python=False, fil-
ter_font=False, filter_sound=False, filter_text=False, filter_btx=False,
filter_collada=False, filter_folder=True, filemode=9, full=True)
Undocumented (contribute)
Parameters
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• full (boolean, (optional)) – Full Screen
[Link].spacedata_cleanup()
Remove unused settings for invisible editors
[Link].userpref_show()
Show/hide user preferences

Script Operators

[Link].execute_preset(filepath=”“, menu_idname=”“)
Executes a preset
Parameters
• filepath (string, (optional)) – Path, Path of the Python file to execute
• menu_idname (string, (optional)) – Menu ID Name, ID name of the menu this was called
from
File startup/bl_operators/[Link]

100 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].python_file_run(filepath=”“)
Run Python file
Parameters filepath (string, (optional)) – Path
[Link]()
Reload Scripts

Sculpt Operators

[Link].brush_stroke(stroke=None, mode=’NORMAL’, ignore_background_click=False)


Undocumented (contribute)
Parameters
• stroke (bpy_prop_collection of OperatorStrokeElement, (optional)) –
Stroke
• mode (enum in [’NORMAL’, ‘INVERT’, ‘SMOOTH’], (optional)) – Sculpt Stroke Mode,
Action taken when a sculpt stroke is made
• ignore_background_click (boolean, (optional)) – Ignore Background Click, Clicks on the
background do not start the stroke
[Link].radial_control(initial_value=0.0, new_value=0.0, mode=’SIZE’, ini-
tial_mouse=(0, 0), color=(1.0, 1.0, 1.0, 0.5), texture_color=(1.0,
1.0, 1.0, 1.0))
Undocumented (contribute)
Parameters
• initial_value (float in [0, inf], (optional)) – Initial Value
• new_value (float in [0, inf], (optional)) – New Value
• mode (enum in [’SIZE’, ‘STRENGTH’, ‘ANGLE’], (optional)) – Mode
• initial_mouse (int array of 2 items in [-inf, inf], (optional)) – Initial Mouse
• color (float array of 4 items in [0, inf], (optional)) – Color, Radial control color
• texture_color (float array of 4 items in [0, inf], (optional)) – Texture Color, Radial control
texture color
[Link].sculptmode_toggle()
Undocumented (contribute)
[Link].set_persistent_base()
Undocumented (contribute)

Sequencer Operators

[Link]()
Undocumented (contribute)
[Link].crossfade_sounds()
Do crossfading volume animation of two selected sound strips.
File startup/bl_operators/[Link]
[Link](frame=0, type=’SOFT’, side=’BOTH’)
Cut the selected strips

2.3. Operators ([Link]) 101


Blender Index, Release 2.57.0 r36138 - API

Parameters
• frame (int in [-inf, inf], (optional)) – Frame, Frame where selected strips will be cut
• type (enum in [’SOFT’, ‘HARD’], (optional)) – Type, The type of cut operation to perform
on strips
• side (enum in [’LEFT’, ‘RIGHT’, ‘BOTH’], (optional)) – Side, The side that remains se-
lected after cutting
[Link].cut_multicam(camera=1)
Cut multicam strip and select camera.
Parameters camera (int in [1, 32], (optional)) – Camera
File startup/bl_operators/[Link]
[Link].deinterlace_selected_movies()
Deinterlace all selected movie sources.
File startup/bl_operators/[Link]
[Link]()
Erase selected strips from the sequencer
[Link](mode=’TRANSLATION’)
Duplicate the selected strips
Parameters mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’, ‘TO-
SPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’, ‘PUSHPULL’,
‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’, ‘CURVE_SHRINKFATTEN’,
‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’, ‘TIME_SCALE’, ‘TIME_EXTEND’,
‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’, ‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) –
Mode
[Link].effect_strip_add(filepath=”“, filter_blender=False, filter_image=False, fil-
ter_movie=False, filter_python=False, filter_font=False,
filter_sound=False, filter_text=False, filter_btx=False, fil-
ter_collada=False, filter_folder=False, filemode=9, rel-
ative_path=False, frame_start=0, frame_end=0, chan-
nel=1, replace_sel=True, type=’CROSS’, color=(0.0, 0.0,
0.0))
Add an effect to the sequencer, most are applied on top of existing strips
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files

102 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• filter_folder (boolean, (optional)) – Filter folders


• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Start frame of the sequence strip
• frame_end (int in [-inf, inf], (optional)) – End Frame, End frame for the color strip
• channel (int in [1, 32], (optional)) – Channel, Channel to place this strip into
• replace_sel (boolean, (optional)) – Replace Selection, replace the current selection
• type (enum in [’CROSS’, ‘ADD’, ‘SUBTRACT’, ‘ALPHA_OVER’, ‘ALPHA_UNDER’,
‘GAMMA_CROSS’, ‘MULTIPLY’, ‘OVER_DROP’, ‘PLUGIN’, ‘WIPE’, ‘GLOW’, ‘TRANS-
FORM’, ‘COLOR’, ‘SPEED’, ‘MULTICAM’], (optional)) – Type, Sequencer effect type
• color (float array of 3 items in [0, 1], (optional)) – Color, Initialize the strip with this color
(only used when type=’COLOR’)
[Link].image_strip_add(directory=”“, filter_blender=False, filter_image=True, fil-
ter_movie=False, filter_python=False, filter_font=False, fil-
ter_sound=False, filter_text=False, filter_btx=False, fil-
ter_collada=False, filter_folder=True, filemode=9, rela-
tive_path=False, frame_start=0, frame_end=0, channel=1,
replace_sel=True, files=None)
Add an image or image sequence to the sequencer
Parameters
• directory (string, (optional)) – Directory, Directory of the file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Start frame of the sequence strip
• frame_end (int in [-inf, inf], (optional)) – End Frame, End frame for the color strip
• channel (int in [1, 32], (optional)) – Channel, Channel to place this strip into
• replace_sel (boolean, (optional)) – Replace Selection, replace the current selection
• files (bpy_prop_collection of OperatorFileListElement, (optional)) – Files

2.3. Operators ([Link]) 103


Blender Index, Release 2.57.0 r36138 - API

[Link].images_separate(length=1)
On image sequences strips, it return a strip for each image
Parameters length (int in [1, 1000], (optional)) – Length, Length of each frame
[Link]()
Lock the active strip so that it can’t be transformed
[Link].meta_make()
Group selected strips into a metastrip
[Link].meta_separate()
Put the contents of a metastrip back in the sequencer
[Link].meta_toggle()
Toggle a metastrip (to edit enclosed strips)
[Link].movie_strip_add(filepath=”“, filter_blender=False, filter_image=False,
filter_movie=True, filter_python=False, filter_font=False,
filter_sound=False, filter_text=False, filter_btx=False,
filter_collada=False, filter_folder=True, filemode=9,
relative_path=False, frame_start=0, channel=1, re-
place_sel=True, files=None, sound=True)
Add a movie strip to the sequencer
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Start frame of the sequence strip
• channel (int in [1, 32], (optional)) – Channel, Channel to place this strip into
• replace_sel (boolean, (optional)) – Replace Selection, replace the current selection
• files (bpy_prop_collection of OperatorFileListElement, (optional)) – Files
• sound (boolean, (optional)) – Sound, Load sound with the movie
[Link](unselected=False)
Mute selected strips

104 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters unselected (boolean, (optional)) – Unselected, Mute unselected rather than selected
strips.
[Link].next_edit()
Move frame to next edit point
[Link]()
Undocumented (contribute)
[Link].previous_edit()
Move frame to previous edit point
[Link]()
Open sequencer properties panel
[Link].reassign_inputs()
Reassign the inputs for the effects strip
[Link].refresh_all()
Refresh the sequencer editor
[Link]()
Reload strips in the sequencer
[Link]()
Set render size and aspect from active sequence
[Link].scene_strip_add(frame_start=0, channel=1, replace_sel=True, scene=’‘)
Add a strip to the sequencer using a blender scene as a source
Parameters
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Start frame of the sequence strip
• channel (int in [1, 32], (optional)) – Channel, Channel to place this strip into
• replace_sel (boolean, (optional)) – Replace Selection, replace the current selection
• scene (enum in [], (optional)) – Scene
[Link](extend=False, linked_handle=False, left_right=False,
linked_time=False)
Select a strip (last selected becomes the “active strip”)
Parameters
• extend (boolean, (optional)) – Extend, Extend the selection.
• linked_handle (boolean, (optional)) – Linked Handle, Select handles next to the active
strip.
• left_right (boolean, (optional)) – Left/Right, select based on the frame side the cursor is on.
• linked_time (boolean, (optional)) – Linked Time, Select other strips at the same time.
[Link].select_active_side(side=’BOTH’)
Select strips on the nominated side of the active strip
Parameters side (enum in [’LEFT’, ‘RIGHT’, ‘BOTH’], (optional)) – Side, The side of the handle
that is selected
[Link].select_all_toggle()
Select or deselect all strips
[Link].select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Enable border select mode

2.3. Operators ([Link]) 105


Blender Index, Release 2.57.0 r36138 - API

Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].select_handles(side=’BOTH’)
Select manipulator handles on the sides of the selected strip
Parameters side (enum in [’LEFT’, ‘RIGHT’, ‘BOTH’], (optional)) – Side, The side of the handle
that is selected
[Link].select_inverse()
Select unselected strips
[Link].select_less()
Shrink the current selection of adjacent selected strips
[Link].select_linked()
Select all strips adjacent to the current selection
[Link].select_linked_pick(extend=False)
Select a chain of linked strips nearest to the mouse pointer
Parameters extend (boolean, (optional)) – Extend, extend the selection
[Link].select_more()
Select more strips adjacent to the current selection
[Link](frame=0)
Frame where selected strips will be snapped
Parameters frame (int in [-inf, inf], (optional)) – Frame, Frame where selected strips will be
snapped
[Link].sound_strip_add(filepath=”“, filter_blender=False, filter_image=False,
filter_movie=False, filter_python=False, filter_font=False,
filter_sound=True, filter_text=False, filter_btx=False,
filter_collada=False, filter_folder=True, filemode=9,
relative_path=False, frame_start=0, channel=1, re-
place_sel=True, files=None, cache=False)
Add a sound strip to the sequencer
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files

106 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• filter_btx (boolean, (optional)) – Filter btx files


• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• frame_start (int in [-inf, inf], (optional)) – Start Frame, Start frame of the sequence strip
• channel (int in [1, 32], (optional)) – Channel, Channel to place this strip into
• replace_sel (boolean, (optional)) – Replace Selection, replace the current selection
• files (bpy_prop_collection of OperatorFileListElement, (optional)) – Files
• cache (boolean, (optional)) – Cache, Cache the sound in memory.
[Link](side=’RIGHT’)
Swap active strip with strip to the left
Parameters side (enum in [’LEFT’, ‘RIGHT’], (optional)) – Side, Side of the strip to swap
[Link].swap_data()
Swap 2 sequencer strips
[Link].swap_inputs()
Swap the first two inputs for the effects strip
[Link]()
Unlock the active strip so that it can’t be transformed
[Link](unselected=False)
Un-Mute unselected rather than selected strips
Parameters unselected (boolean, (optional)) – Unselected, UnMute unselected rather than selected
strips.
[Link].view_all()
View all the strips in the sequencer
[Link].view_all_preview()
Zoom preview to fit in the area
[Link].view_ghost_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Enable border select mode
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].view_selected()
Zoom the sequencer on the selected strips
[Link].view_toggle()
Toggle between sequencer views (sequence, preview, both)

2.3. Operators ([Link]) 107


Blender Index, Release 2.57.0 r36138 - API

[Link].view_zoom_ratio(ratio=1.0)
Change zoom ratio of sequencer preview
Parameters ratio (float in [0, inf], (optional)) – Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in,
lower is zoomed out.

Sketch Operators

[Link].cancel_stroke()
Undocumented (contribute)
[Link]()
Undocumented (contribute)
[Link]()
Undocumented (contribute)
[Link].draw_preview(snap=False)
Undocumented (contribute)
Parameters snap (boolean, (optional)) – Snap
[Link].draw_stroke(snap=False)
Undocumented (contribute)
Parameters snap (boolean, (optional)) – Snap
[Link].finish_stroke()
Undocumented (contribute)
[Link](snap=False)
Undocumented (contribute)
Parameters snap (boolean, (optional)) – Snap
[Link]()
Undocumented (contribute)

Sound Operators

[Link](filepath=”“, filter_blender=False, filter_image=False, filter_movie=True,


filter_python=False, filter_font=False, filter_sound=True, filter_text=False,
filter_btx=False, filter_collada=False, filter_folder=True, filemode=9, rela-
tive_path=False, cache=False)
Load a sound file
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files

108 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• filter_btx (boolean, (optional)) – Filter btx files


• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• cache (boolean, (optional)) – Cache, Cache the sound in memory.
[Link]()
Pack the sound into the current blend file
[Link](method=’USE_LOCAL’, id=”“)
Unpack the sound to the samples filename
Parameters
• method (enum in [’USE_LOCAL’, ‘WRITE_LOCAL’, ‘USE_ORIGINAL’,
‘WRITE_ORIGINAL’], (optional)) – Method, How to unpack.
• id (string, (optional)) – Sound Name, Sound datablock name to unpack.

Surface Operators

[Link].primitive_nurbs_surface_circle_add(view_align=False, en-
ter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0,
0.0, 0.0), layers=(False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False))
Construct a Nurbs surface Circle
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_nurbs_surface_curve_add(view_align=False, en-
ter_editmode=False, location=(0.0,
0.0, 0.0), rotation=(0.0, 0.0, 0.0),
layers=(False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False))
Construct a Nurbs surface Curve

2.3. Operators ([Link]) 109


Blender Index, Release 2.57.0 r36138 - API

Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_nurbs_surface_cylinder_add(view_align=False, en-
ter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rota-
tion=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False,
False, False, False, False,
False, False, False, False,
False, False, False, False,
False, False, False, False))
Construct a Nurbs surface Cylinder
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_nurbs_surface_sphere_add(view_align=False, en-
ter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), rotation=(0.0,
0.0, 0.0), layers=(False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False))
Construct a Nurbs surface Sphere
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object

110 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• layers (boolean array of 20 items, (optional)) – Layer


[Link].primitive_nurbs_surface_surface_add(view_align=False, en-
ter_editmode=False, loca-
tion=(0.0, 0.0, 0.0), ro-
tation=(0.0, 0.0, 0.0), lay-
ers=(False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False))
Construct a Nurbs surface Patch
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer
[Link].primitive_nurbs_surface_torus_add(view_align=False, en-
ter_editmode=False, location=(0.0,
0.0, 0.0), rotation=(0.0, 0.0, 0.0),
layers=(False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False, False, False, False, False,
False))
Construct a Nurbs surface Torus
Parameters
• view_align (boolean, (optional)) – Align to View, Align the new object to the view.
• enter_editmode (boolean, (optional)) – Enter Editmode, Enter editmode when adding this
object.
• location (float array of 3 items in [-inf, inf], (optional)) – Location, Location for the newly
added object.
• rotation (float array of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly
added object
• layers (boolean array of 20 items, (optional)) – Layer

Text Operators

[Link]()
Convert selected text to comment
[Link].convert_whitespace(type=’SPACES’)
Convert whitespaces by type

2.3. Operators ([Link]) 111


Blender Index, Release 2.57.0 r36138 - API

Parameters type (enum in [’SPACES’, ‘TABS’], (optional)) – type, Type of whitespace to convert
to.
[Link]()
Copy selected text to clipboard
[Link].cursor_set(x=0, y=0)
Set cursor position
Parameters
• x (int in [-inf, inf], (optional)) – X
• y (int in [-inf, inf], (optional)) – Y
[Link]()
Cut selected text to clipboard
[Link](type=’NEXT_CHARACTER’)
Delete text by cursor position
Parameters type (enum in [’NEXT_CHARACTER’, ‘PREVIOUS_CHARACTER’, ‘NEXT_WORD’,
‘PREVIOUS_WORD’], (optional)) – Type, Which part of the text to delete.
[Link]()
Find specified text
[Link].find_set_selected()
Find specified text and set as selected
[Link]()
Indent selected text
[Link](text=”“)
Insert text at cursor position
Parameters text (string, (optional)) – Text, Text to insert at the cursor position.
[Link](line=1)
Jump cursor to line
Parameters line (int in [1, inf], (optional)) – Line, Line number to jump to.
[Link].line_break()
Insert line break at cursor position
[Link].line_number()
The current line number
[Link].make_internal()
Make active text file internal
[Link].mark_all()
Mark all specified text
[Link].markers_clear()
Clear all markers
[Link](type=’LINE_BEGIN’)
Move cursor to position type
Parameters type (enum in [’LINE_BEGIN’, ‘LINE_END’, ‘FILE_TOP’, ‘FILE_BOTTOM’, ‘PRE-
VIOUS_CHARACTER’, ‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PRE-
VIOUS_LINE’, ‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type,
Where to move cursor to.

112 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].move_select(type=’LINE_BEGIN’)
Make selection from current cursor position to new cursor position type
Parameters type (enum in [’LINE_BEGIN’, ‘LINE_END’, ‘FILE_TOP’, ‘FILE_BOTTOM’, ‘PRE-
VIOUS_CHARACTER’, ‘NEXT_CHARACTER’, ‘PREVIOUS_WORD’, ‘NEXT_WORD’, ‘PRE-
VIOUS_LINE’, ‘NEXT_LINE’, ‘PREVIOUS_PAGE’, ‘NEXT_PAGE’], (optional)) – Type,
Where to move cursor to, to make a selection.
[Link]()
Create a new text data block
[Link].next_marker()
Move to next marker
[Link](filepath=”“, filter_blender=False, filter_image=False, filter_movie=False,
filter_python=True, filter_font=False, filter_sound=False, filter_text=True,
filter_btx=False, filter_collada=False, filter_folder=True, filemode=9, inter-
nal=False)
Open a new text data block
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• internal (boolean, (optional)) – Make internal, Make text file internal after loading
[Link].overwrite_toggle()
Toggle overwrite while typing
[Link](selection=False)
Paste text from clipboard
Parameters selection (boolean, (optional)) – Selection, Paste text selected elsewhere rather than
copied, X11 only.
[Link].previous_marker()
Move to previous marker
[Link]()
Toggle text properties panel
[Link].refresh_pyconstraints()
Refresh all pyconstraints

2.3. Operators ([Link]) 113


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Reload active text data block from its file
[Link]()
Replace text with the specified text
[Link].replace_set_selected()
Replace text with specified text and set as selected
[Link].resolve_conflict(resolution=’IGNORE’)
When external text is out of sync, resolve the conflict
Parameters resolution (enum in [’IGNORE’, ‘RELOAD’, ‘SAVE’, ‘MAKE_INTERNAL’], (op-
tional)) – Resolution, How to solve conflict due to different in internal and external text.
[Link].run_script()
Run active script
[Link]()
Save active text data block
[Link].save_as(filepath=”“, check_existing=True, filter_blender=False, filter_image=False,
filter_movie=False, filter_python=True, filter_font=False, filter_sound=False,
filter_text=True, filter_btx=False, filter_collada=False, filter_folder=True, file-
mode=9)
Save active text file with options
Parameters
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
[Link](lines=1)
Scroll text screen
Parameters lines (int in [-inf, inf], (optional)) – Lines, Number of lines to scroll.
[Link].scroll_bar(lines=1)
Scroll text screen
Parameters lines (int in [-inf, inf], (optional)) – Lines, Number of lines to scroll.

114 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].select_all()
Select all text
[Link].select_line()
Select text by line
[Link].select_word()
Select word under cursor
[Link].selection_set(select=False)
Set cursor selection
Parameters select (boolean, (optional)) – Select, Set selection end rather than cursor.
[Link].to_3d_object(split_lines=False)
Create 3d text object from active text data block
Parameters split_lines (boolean, (optional)) – Split Lines, Create one object per line in the text.
[Link]()
Convert selected comment to text
[Link]()
Unindent selected text
[Link]()
Unlink active text data block

Texture Operators

[Link].envmap_clear()
Discard the environment map and free it from memory
[Link].envmap_clear_all()
Discard all environment maps in the .blend file and free them from memory
[Link].envmap_save(filepath=”“, check_existing=True, filter_blender=False, fil-
ter_image=True, filter_movie=True, filter_python=False, fil-
ter_font=False, filter_sound=False, filter_text=False, fil-
ter_btx=False, filter_collada=False, filter_folder=True, filemode=9,
relative_path=False)
Save the current generated Environment map to an image file
Parameters
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files

2.3. Operators ([Link]) 115


Blender Index, Release 2.57.0 r36138 - API

• filter_btx (boolean, (optional)) – Filter btx files


• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
[Link]()
Add a new texture
[Link].slot_copy()
Copy the material texture settings and nodes
[Link].slot_move(type=’UP’)
Move texture slots up and down
Parameters type (enum in [’UP’, ‘DOWN’], (optional)) – Type
[Link].slot_paste()
Copy the texture settings and nodes

Time Operators

[Link].end_frame_set()
Set the end frame
[Link].start_frame_set()
Set the start frame
[Link].view_all()
Show the entire playable frame range

Transform Operators

[Link].create_orientation(name=”“, use=False, overwrite=False)


Create transformation orientation from selection
Parameters
• name (string, (optional)) – Name, Text to insert at the cursor position.
• use (boolean, (optional)) – Use after creation, Select orientation after its creation
• overwrite (boolean, (optional)) – Overwrite previous, Overwrite previously created orien-
tation with same name
[Link].delete_orientation()
Delete transformation orientation
[Link].edge_crease(value=0.0, snap=False, snap_target=’CLOSEST’,
snap_point=(0.0, 0.0, 0.0), snap_align=False, snap_normal=(0.0,
0.0, 0.0), release_confirm=False)
Change the crease of edges
Parameters
• value (float in [-1, 1], (optional)) – Factor
• snap (boolean, (optional)) – Use Snapping Options

116 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-


get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link].edge_slide(value=0.0, mirror=False, snap=False, snap_target=’CLOSEST’,
snap_point=(0.0, 0.0, 0.0), snap_align=False, snap_normal=(0.0,
0.0, 0.0), release_confirm=False)
Slide an edge loop along a mesh
Parameters
• value (float in [-1, 1], (optional)) – Factor
• mirror (boolean, (optional)) – Mirror Editing
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](constraint_axis=(False, False, False), constraint_orientation=’‘, pro-
portional=’DISABLED’, proportional_edit_falloff=’SMOOTH’, propor-
tional_size=1.0, release_confirm=False)
Mirror selected vertices around one or more axes
Parameters
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link].push_pull(value=0.0, mirror=False, proportional=’DISABLED’, pro-
portional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0,
0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0), re-
lease_confirm=False)
Push/Pull selected items

2.3. Operators ([Link]) 117


Blender Index, Release 2.57.0 r36138 - API

Parameters
• value (float in [-inf, inf], (optional)) – Distance
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=(1.0, 1.0, 1.0), constraint_axis=(False, False, False), con-
straint_orientation=’‘, mirror=False, proportional=’DISABLED’,
proportional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0, 0.0),
snap_align=False, snap_normal=(0.0, 0.0, 0.0), texture_space=False,
release_confirm=False)
Resize selected items
Parameters
• value (float array of 3 items in [-inf, inf], (optional)) – Vector
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal

118 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• texture_space (boolean, (optional)) – Edit Object data texture space


• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=(0.0), axis=(0.0, 0.0, 0.0), constraint_axis=(False, False, False),
constraint_orientation=’‘, mirror=False, proportional=’DISABLED’,
proportional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0, 0.0),
snap_align=False, snap_normal=(0.0, 0.0, 0.0), release_confirm=False)
Rotate selected items
Parameters
• value (float array of 1 items in [-inf, inf], (optional)) – Angle
• axis (float array of 3 items in [-inf, inf], (optional)) – Axis, The axis around which the
transformation occurs
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link].select_orientation(orientation=’‘)
Select transformation orientation
Parameters orientation (enum in [], (optional)) – Orientation, Transformation orientation
[Link].seq_slide(value=(1.0, 1.0), snap=False, snap_target=’CLOSEST’,
snap_point=(0.0, 0.0, 0.0), snap_align=False, snap_normal=(0.0,
0.0, 0.0), release_confirm=False)
Slide a sequence strip in time
Parameters
• value (float array of 2 items in [-inf, inf], (optional)) – angle
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get

2.3. Operators ([Link]) 119


Blender Index, Release 2.57.0 r36138 - API

• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point


• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=0.0, mirror=False, proportional=’DISABLED’, propor-
tional_edit_falloff=’SMOOTH’, proportional_size=1.0, snap=False,
snap_target=’CLOSEST’, snap_point=(0.0, 0.0, 0.0), snap_align=False,
snap_normal=(0.0, 0.0, 0.0), release_confirm=False)
Shear selected items along the horizontal screen axis
Parameters
• value (float in [-inf, inf], (optional)) – Offset
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link].shrink_fatten(value=0.0, mirror=False, proportional=’DISABLED’, pro-
portional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0,
0.0, 0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0),
release_confirm=False)
Shrink/fatten selected vertices along normals
Parameters
• value (float in [-inf, inf], (optional)) – Offset
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size

120 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• snap (boolean, (optional)) – Use Snapping Options


• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link].snap_type(type=’INCREMENT’)
Set the snap element type
Parameters type (enum in [’INCREMENT’, ‘VERTEX’, ‘EDGE’, ‘FACE’, ‘VOLUME’], (optional))
– Type, Set the snap element type
[Link](value=(0.0), constraint_axis=(False, False, False), con-
straint_orientation=’‘, mirror=False, proportional=’DISABLED’, pro-
portional_edit_falloff=’SMOOTH’, proportional_size=1.0, snap=False,
snap_target=’CLOSEST’, snap_point=(0.0, 0.0, 0.0), snap_align=False,
snap_normal=(0.0, 0.0, 0.0), release_confirm=False)
Tilt selected control vertices of 3d curve
Parameters
• value (float array of 1 items in [-inf, inf], (optional)) – Angle
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=0.0, mirror=False, proportional=’DISABLED’, pro-
portional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0,
0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0), re-
lease_confirm=False)
Move selected vertices outward in a spherical shape around mesh center

2.3. Operators ([Link]) 121


Blender Index, Release 2.57.0 r36138 - API

Parameters
• value (float in [0, 1], (optional)) – Factor
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=(1.0, 1.0), mirror=False, proportional=’DISABLED’,
proportional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0,
0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0), re-
lease_confirm=False)
Trackball style rotation of selected items
Parameters
• value (float array of 2 items in [-inf, inf], (optional)) – angle
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button

122 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link](mode=’TRANSLATION’, value=(0.0, 0.0, 0.0, 0.0), axis=(0.0,


0.0, 0.0), constraint_axis=(False, False, False), con-
straint_orientation=’‘, mirror=False, proportional=’DISABLED’,
proportional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0,
0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0), re-
lease_confirm=False)
Transform selected items by mode type
Parameters
• mode (enum in [’INIT’, ‘DUMMY’, ‘TRANSLATION’, ‘ROTATION’, ‘RESIZE’,
‘TOSPHERE’, ‘SHEAR’, ‘WARP’, ‘SHRINKFATTEN’, ‘TILT’, ‘TRACKBALL’,
‘PUSHPULL’, ‘CREASE’, ‘MIRROR’, ‘BONE_SIZE’, ‘BONE_ENVELOPE’,
‘CURVE_SHRINKFATTEN’, ‘BONE_ROLL’, ‘TIME_TRANSLATE’, ‘TIME_SLIDE’,
‘TIME_SCALE’, ‘TIME_EXTEND’, ‘BAKE_TIME’, ‘BEVEL’, ‘BWEIGHT’, ‘ALIGN’,
‘EDGESLIDE’, ‘SEQSLIDE’], (optional)) – Mode
• value (float array of 4 items in [-inf, inf], (optional)) – Values
• axis (float array of 3 items in [-inf, inf], (optional)) – Axis, The axis around which the
transformation occurs
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=(0.0, 0.0, 0.0), constraint_axis=(False, False, False), con-
straint_orientation=’‘, mirror=False, proportional=’DISABLED’,
proportional_edit_falloff=’SMOOTH’, proportional_size=1.0,
snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0,
0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0), tex-
ture_space=False, release_confirm=False)
Translate selected items
Parameters
• value (float array of 3 items in [-inf, inf], (optional)) – Vector

2.3. Operators ([Link]) 123


Blender Index, Release 2.57.0 r36138 - API

• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis


• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• texture_space (boolean, (optional)) – Edit Object data texture space
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link](value=(0.0), mirror=False, proportional=’DISABLED’, propor-
tional_edit_falloff=’SMOOTH’, proportional_size=1.0, snap=False,
snap_target=’CLOSEST’, snap_point=(0.0, 0.0, 0.0), snap_align=False,
snap_normal=(0.0, 0.0, 0.0), release_confirm=False)
Warp selected items around the cursor
Parameters
• value (float array of 1 items in [-inf, inf], (optional)) – Angle
• mirror (boolean, (optional)) – Mirror Editing
• proportional (enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], (optional)) – Pro-
portional Editing
• proportional_edit_falloff (enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LIN-
EAR’, ‘CONSTANT’, ‘RANDOM’], (optional)) – Proportional Editing Falloff, Falloff type
for proportional editing mode.
• proportional_size (float in [1e-05, inf], (optional)) – Proportional Size
• snap (boolean, (optional)) – Use Snapping Options
• snap_target (enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], (optional)) – Tar-
get
• snap_point (float array of 3 items in [-inf, inf], (optional)) – Point
• snap_align (boolean, (optional)) – Align with Point Normal
• snap_normal (float array of 3 items in [-inf, inf], (optional)) – Normal
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button

124 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Ui Operators

[Link].copy_data_path_button()
Copy the RNA data path for this property to the clipboard
[Link].copy_to_selected_button(all=True)
Copy property from this object to selected objects or bones
Parameters all (boolean, (optional)) – All, Reset to default values all elements of the array.
[Link]()
Sample a color from the Blender Window to store in a property
[Link].reports_to_textblock()
Write the reports
[Link].reset_default_button(all=True)
Reset this property’s value to its default value
Parameters all (boolean, (optional)) – All, Reset to default values all elements of the array.
[Link].reset_default_theme()
Reset to the default theme colors

Uv Operators

[Link](axis=’ALIGN_AUTO’)
Align selected UV vertices to an axis
Parameters axis (enum in [’ALIGN_AUTO’, ‘ALIGN_X’, ‘ALIGN_Y’], (optional)) – Axis, Axis to
align UV locations on.
[Link].average_islands_scale()
Undocumented (contribute)
[Link].circle_select(x=0, y=0, radius=0, gesture_mode=0)
Select UV vertices using circle selection
Parameters
• x (int in [-inf, inf], (optional)) – X
• y (int in [-inf, inf], (optional)) – Y
• radius (int in [-inf, inf], (optional)) – Radius
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
[Link].cube_project(cube_size=1.0, correct_aspect=True, clip_to_bounds=False,
scale_to_bounds=False)
Undocumented (contribute)
Parameters
• cube_size (float in [0, inf], (optional)) – Cube Size, Size of the cube to project on.
• correct_aspect (boolean, (optional)) – Correct Aspect, Map UV’s taking image aspect ratio
into account.
• clip_to_bounds (boolean, (optional)) – Clip to Bounds, Clip UV coordinates to bounds
after unwrapping.
• scale_to_bounds (boolean, (optional)) – Scale to Bounds, Scale UV coordinates to bounds
after unwrapping.

2.3. Operators ([Link]) 125


Blender Index, Release 2.57.0 r36138 - API

[Link].cursor_set(location=(0.0, 0.0))
Set 2D cursor location
Parameters location (float array of 2 items in [-inf, inf], (optional)) – Location, Cursor location in
0.0-1.0 coordinates.
[Link].cylinder_project(direction=’VIEW_ON_EQUATOR’, align=’POLAR_ZX’,
radius=1.0, correct_aspect=True, clip_to_bounds=False,
scale_to_bounds=False)
Undocumented (contribute)
Parameters
• direction (enum in [’VIEW_ON_EQUATOR’, ‘VIEW_ON_POLES’,
‘ALIGN_TO_OBJECT’], (optional)) – Direction, Direction of the sphere or cylinder.
• align (enum in [’POLAR_ZX’, ‘POLAR_ZY’], (optional)) – Align, How to determine rota-
tion around the pole.
• radius (float in [0, inf], (optional)) – Radius, Radius of the sphere or cylinder.
• correct_aspect (boolean, (optional)) – Correct Aspect, Map UV’s taking image aspect ratio
into account.
• clip_to_bounds (boolean, (optional)) – Clip to Bounds, Clip UV coordinates to bounds
after unwrapping.
• scale_to_bounds (boolean, (optional)) – Scale to Bounds, Scale UV coordinates to bounds
after unwrapping.
[Link].export_layout(filepath=”“, check_existing=True, export_all=False, mode=’PNG’,
size=(1024, 1024), opacity=0.25)
Export UV layout to file
Parameters
• filepath (string, (optional)) – File Path, File path used for exporting the SVG file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• export_all (boolean, (optional)) – All UV’s, Export all UVs in this mesh (not just the visible
ones)
• mode (enum in [’SVG’, ‘EPS’, ‘PNG’], (optional)) – Format, File format to export the UV
layout to
• size (int array of 2 items in [8, 32768], (optional)) – Dimensions of the exported file
• opacity (float in [0, 1], (optional)) – Fill Opacity
File addons/io_mesh_uv_layout/__init__.py:132
[Link].follow_active_quads(mode=’LENGTH’)
Follow UVs from active quads along continuous face loops
Parameters mode (enum in [’EVEN’, ‘LENGTH’], (optional)) – Edge Length Mode, Method to
space UV edge loops
File startup/bl_operators/uvcalc_follow_active.py:244
[Link](unselected=False)
Hide (un)selected UV vertices
Parameters unselected (boolean, (optional)) – Unselected, Hide unselected rather than selected.

126 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].lightmap_pack(PREF_CONTEXT=’SEL_FACES’, PREF_PACK_IN_ONE=True,
PREF_NEW_UVLAYER=False, PREF_APPLY_IMAGE=False,
PREF_IMG_PX_SIZE=512, PREF_BOX_DIV=12,
PREF_MARGIN_DIV=0.1)
Follow UVs from active quads along continuous face loops
Parameters
• PREF_CONTEXT (enum in [’SEL_FACES’, ‘ALL_FACES’, ‘ALL_OBJECTS’], (op-
tional)) – Selection
• PREF_PACK_IN_ONE (boolean, (optional)) – Share Tex Space, Objects Share texture
space, map all objects into 1 uvmap
• PREF_NEW_UVLAYER (boolean, (optional)) – New UV Layer, Create a new UV layer
for every mesh packed
• PREF_APPLY_IMAGE (boolean, (optional)) – New Image, Assign new images for every
mesh (only one if shared tex space enabled)
• PREF_IMG_PX_SIZE (int in [64, 5000], (optional)) – Image Size, Width and Height for
the new image
• PREF_BOX_DIV (int in [1, 48], (optional)) – Pack Quality, Pre Packing before the com-
plex boxpack
• PREF_MARGIN_DIV (float in [0.001, 1], (optional)) – Margin, Size of the margin as a
division of the UV
File startup/bl_operators/uvcalc_lightmap.py:560
[Link].minimize_stretch(fill_holes=True, blend=0.0, iterations=0)
Reduce UV stretching by relaxing angles
Parameters
• fill_holes (boolean, (optional)) – Fill Holes, Virtual fill holes in mesh before unwrapping,
to better avoid overlaps and preserve symmetry.
• blend (float in [0, 1], (optional)) – Blend, Blend factor between stretch minimized and
original.
• iterations (int in [0, inf], (optional)) – Iterations, Number of iterations to run, 0 is unlimited
when run interactively.
[Link].pack_islands(margin=0.0)
Undocumented (contribute)
Parameters margin (float in [0, 1], (optional)) – Margin, Space between islands
[Link](clear=False)
Set/clear selected UV vertices as anchored between multiple unwrap operations
Parameters clear (boolean, (optional)) – Clear, Clear pinning for the selection instead of setting it.
[Link].project_from_view(orthographic=False, correct_aspect=True, clip_to_bounds=False,
scale_to_bounds=False)
Undocumented (contribute)
Parameters
• orthographic (boolean, (optional)) – Orthographic, Use orthographic projection.
• correct_aspect (boolean, (optional)) – Correct Aspect, Map UV’s taking image aspect ratio
into account.

2.3. Operators ([Link]) 127


Blender Index, Release 2.57.0 r36138 - API

• clip_to_bounds (boolean, (optional)) – Clip to Bounds, Clip UV coordinates to bounds


after unwrapping.
• scale_to_bounds (boolean, (optional)) – Scale to Bounds, Scale UV coordinates to bounds
after unwrapping.
[Link]()
Undocumented (contribute)
[Link]()
Reveal all hidden UV vertices
[Link](extend=False, location=(0.0, 0.0))
Select UV vertice
Parameters
• extend (boolean, (optional)) – Extend, Extend selection rather than clearing the existing
selection.
• location (float array of 2 items in [-inf, inf], (optional)) – Location, Mouse location in
normalized coordinates, 0.0 to 1.0 is within the image bounds.
[Link].select_all(action=’TOGGLE’)
Change selection of all UV vertices
Parameters action (enum in [’TOGGLE’, ‘SELECT’, ‘DESELECT’, ‘INVERT’], (optional)) – Ac-
tion, Selection action to execute
[Link].select_border(pinned=False, gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Select UV vertices using border selection
Parameters
• pinned (boolean, (optional)) – Pinned, Border select pinned UVs only.
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].select_inverse()
Select inverse of (un)selected UV vertices
[Link].select_linked(extend=False)
Select all UV vertices linked to the active UV map
Parameters extend (boolean, (optional)) – Extend, Extend selection rather than clearing the exist-
ing selection.
[Link].select_linked_pick(extend=False, location=(0.0, 0.0))
Select all UV vertices linked under the mouse
Parameters
• extend (boolean, (optional)) – Extend, Extend selection rather than clearing the existing
selection.
• location (float array of 2 items in [-inf, inf], (optional)) – Location, Mouse location in
normalized coordinates, 0.0 to 1.0 is within the image bounds.

128 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].select_loop(extend=False, location=(0.0, 0.0))


Select a loop of connected UV vertices
Parameters
• extend (boolean, (optional)) – Extend, Extend selection rather than clearing the existing
selection.
• location (float array of 2 items in [-inf, inf], (optional)) – Location, Mouse location in
normalized coordinates, 0.0 to 1.0 is within the image bounds.
[Link].select_pinned()
Select all pinned UV vertices
[Link].smart_project(angle_limit=66.0, island_margin=0.0)
This script projection unwraps the selected faces of a mesh. it operates on all selected mesh objects, and can be
used unwrap selected faces, or all faces.
Parameters
• angle_limit (float in [1, 89], (optional)) – Angle Limit, lower for more projection groups,
higher for less distortion.
• island_margin (float in [0, 1], (optional)) – Island Margin, Margin to reduce bleed from
adjacent islands.
File startup/bl_operators/uvcalc_smart_project.py:1135
[Link].snap_cursor(target=’PIXELS’)
Snap cursor to target type
Parameters target (enum in [’PIXELS’, ‘SELECTED’], (optional)) – Target, Target to snap the
selected UV’s to.
[Link].snap_selected(target=’PIXELS’)
Snap selected UV vertices to target type
Parameters target (enum in [’PIXELS’, ‘CURSOR’, ‘ADJACENT_UNSELECTED’], (optional)) –
Target, Target to snap the selected UV’s to.
[Link].sphere_project(direction=’VIEW_ON_EQUATOR’, align=’POLAR_ZX’, cor-
rect_aspect=True, clip_to_bounds=False, scale_to_bounds=False)
Undocumented (contribute)
Parameters
• direction (enum in [’VIEW_ON_EQUATOR’, ‘VIEW_ON_POLES’,
‘ALIGN_TO_OBJECT’], (optional)) – Direction, Direction of the sphere or cylinder.
• align (enum in [’POLAR_ZX’, ‘POLAR_ZY’], (optional)) – Align, How to determine rota-
tion around the pole.
• correct_aspect (boolean, (optional)) – Correct Aspect, Map UV’s taking image aspect ratio
into account.
• clip_to_bounds (boolean, (optional)) – Clip to Bounds, Clip UV coordinates to bounds
after unwrapping.
• scale_to_bounds (boolean, (optional)) – Scale to Bounds, Scale UV coordinates to bounds
after unwrapping.
[Link](use_limit=True, limit=0.01)
Stitch selected UV vertices by proximity
Parameters

2.3. Operators ([Link]) 129


Blender Index, Release 2.57.0 r36138 - API

• use_limit (boolean, (optional)) – Use Limit, Stitch UVs within a specified limit distance.
• limit (float in [0, inf], (optional)) – Limit, Limit distance in normalized coordinates.
[Link].tile_set(tile=(0, 0))
Set UV image tile coordinates
Parameters tile (int array of 2 items in [0, inf], (optional)) – Tile, Tile coordinate.
[Link].unlink_selected()
Unlink selected UV vertices from active UV map
[Link](method=’ANGLE_BASED’, fill_holes=True, correct_aspect=True)
Undocumented (contribute)
Parameters
• method (enum in [’ANGLE_BASED’, ‘CONFORMAL’], (optional)) – Method, Unwrapping
method. Angle Based usually gives better results than Conformal, while being somewhat
slower.
• fill_holes (boolean, (optional)) – Fill Holes, Virtual fill holes in mesh before unwrapping,
to better avoid overlaps and preserve symmetry.
• correct_aspect (boolean, (optional)) – Correct Aspect, Map UV’s taking image aspect ratio
into account.
[Link]()
Weld selected UV vertices together

View2D Operators

[Link](deltax=0, deltay=0)
Pan the view
Parameters
• deltax (int in [-inf, inf], (optional)) – Delta X
• deltay (int in [-inf, inf], (optional)) – Delta Y
[Link]()
Reset the view
[Link].view2d.scroll_down(deltax=0, deltay=0, page=False)
Scroll the view down
Parameters
• deltax (int in [-inf, inf], (optional)) – Delta X
• deltay (int in [-inf, inf], (optional)) – Delta Y
• page (boolean, (optional)) – Page, Scroll down one page.
[Link].view2d.scroll_left(deltax=0, deltay=0)
Scroll the view left
Parameters
• deltax (int in [-inf, inf], (optional)) – Delta X
• deltay (int in [-inf, inf], (optional)) – Delta Y

130 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].view2d.scroll_right(deltax=0, deltay=0)
Scroll the view right
Parameters
• deltax (int in [-inf, inf], (optional)) – Delta X
• deltay (int in [-inf, inf], (optional)) – Delta Y
[Link].view2d.scroll_up(deltax=0, deltay=0, page=False)
Scroll the view up
Parameters
• deltax (int in [-inf, inf], (optional)) – Delta X
• deltay (int in [-inf, inf], (optional)) – Delta Y
• page (boolean, (optional)) – Page, Scroll up one page.
[Link].view2d.scroller_activate()
Scroll view by mouse click and drag
[Link](deltax=0.0, deltay=0.0)
Zoom in/out the view
Parameters
• deltax (float in [-inf, inf], (optional)) – Delta X
• deltay (float in [-inf, inf], (optional)) – Delta Y
[Link].view2d.zoom_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0)
Zoom in the view to the nearest item contained in the border
Parameters
• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].view2d.zoom_in(zoomfacx=0.0, zoomfacy=0.0)
Zoom in the view
Parameters
• zoomfacx (float in [-inf, inf], (optional)) – Zoom Factor X
• zoomfacy (float in [-inf, inf], (optional)) – Zoom Factor Y
[Link].view2d.zoom_out(zoomfacx=0.0, zoomfacy=0.0)
Zoom out the view
Parameters
• zoomfacx (float in [-inf, inf], (optional)) – Zoom Factor X
• zoomfacy (float in [-inf, inf], (optional)) – Zoom Factor Y

2.3. Operators ([Link]) 131


Blender Index, Release 2.57.0 r36138 - API

View3D Operators

[Link].view3d.background_image_add(name=”Image”, filepath=”Path”)
Add a new background image
Parameters
• name (string, (optional)) – Name, Image name to assign.
• filepath (string, (optional)) – Filepath, Path to image file
[Link].view3d.background_image_remove(index=0)
Remove a background image from the 3D view
Parameters index (int in [0, inf], (optional)) – Index, Background image index to remove
[Link].view3d.camera_to_view()
Set camera view to active view
[Link].view3d.clip_border(xmin=0, xmax=0, ymin=0, ymax=0)
Set the view clipping border
Parameters
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].view3d.cursor3d()
Set the location of the 3D cursor
[Link].view3d.edit_mesh_extrude_individual_move()
Extrude individual elements and move
File startup/bl_ui/space_view3d.py:1492
[Link].view3d.edit_mesh_extrude_move_normal()
Extrude and move along normals
File startup/bl_ui/space_view3d.py:1521
[Link].view3d.enable_manipulator(translate=False, rotate=False, scale=False)
Enable the transform manipulator for use
Parameters
• translate (boolean, (optional)) – Translate, Enable the translate manipulator
• rotate (boolean, (optional)) – Rotate, Enable the rotate manipulator
• scale (boolean, (optional)) – Scale, Enable the scale manipulator
[Link]()
Interactively fly around the scene
[Link].view3d.game_start()
Start game engine
[Link](nr=1, extend=False, toggle=True)
Toggle layer(s) visibility
Parameters

132 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• nr (int in [0, 20], (optional)) – Number, The layer number to set, zero for all layers
• extend (boolean, (optional)) – Extend, Add this layer to the current view layers
• toggle (boolean, (optional)) – Toggle, Toggle the layer
[Link]()
Toggle display of selected object(s) separately and centered in view
[Link](constraint_axis=(False, False, False), constraint_orientation=’‘, re-
lease_confirm=False)
Manipulate selected item by axis
Parameters
• constraint_axis (boolean array of 3 items, (optional)) – Constraint Axis
• constraint_orientation (enum in [], (optional)) – Orientation, Transformation orientation
• release_confirm (boolean, (optional)) – Confirm on Release, Always confirm operation
when releasing button
[Link]()
Move the view
[Link].view3d.object_as_camera()
Set the active object as the active camera for this view or scene
[Link]()
Toggles the properties panel display
[Link].view3d.render_border(xmin=0, xmax=0, ymin=0, ymax=0)
Set the boundries of the border render and enables border render
Parameters
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link]()
Rotate the view
[Link](extend=False, center=False, enumerate=False)
Activate/select item(s)
Parameters
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
• center (boolean, (optional)) – Center, Use the object center when selecting (object mode
only).
• enumerate (boolean, (optional)) – Enumerate, List objects under the mouse (object mode
only).
[Link].view3d.select_border(gesture_mode=0, xmin=0, xmax=0, ymin=0, ymax=0, ex-
tend=True)
Select items using border selection
Parameters

2.3. Operators ([Link]) 133


Blender Index, Release 2.57.0 r36138 - API

• gesture_mode (int in [-inf, inf], (optional)) – Gesture Mode


• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first
[Link].view3d.select_circle(x=0, y=0, radius=0, gesture_mode=0)
Select items using circle selection
Parameters
• x (int in [-inf, inf], (optional)) – X
• y (int in [-inf, inf], (optional)) – Y
• radius (int in [-inf, inf], (optional)) – Radius
• gesture_mode (int in [-inf, inf], (optional)) – Event Type
[Link].view3d.select_lasso(path=None, deselect=False, extend=True)
Select items using lasso selection
Parameters
• path (bpy_prop_collection of OperatorMousePath, (optional)) – Path
• deselect (boolean, (optional)) – Deselect, Deselect rather than select items.
• extend (boolean, (optional)) – Extend, Extend selection instead of deselecting everything
first.
[Link]()
The time to animate the change of view (in milliseconds)
[Link].view3d.snap_cursor_to_active()
Snap cursor to active item
[Link].view3d.snap_cursor_to_center()
Snap cursor to the Center
[Link].view3d.snap_cursor_to_grid()
Snap cursor to nearest grid node
[Link].view3d.snap_cursor_to_selected()
Snap cursor to center of selected item(s)
[Link].view3d.snap_selected_to_cursor()
Snap selected item(s) to cursor
[Link].view3d.snap_selected_to_grid()
Snap selected item(s) to nearest grid node
[Link]()
Toggles tool shelf display
[Link].view3d.view_all(center=False)
View all objects in scene
Parameters center (boolean, (optional)) – Center

134 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].view3d.view_center_camera()
Center the camera view
[Link].view3d.view_center_cursor()
Centers the view so that the cursor is in the middle of the view
[Link].view3d.view_orbit(type=’ORBITLEFT’)
Orbit the view
Parameters type (enum in [’ORBITLEFT’, ‘ORBITRIGHT’, ‘ORBITUP’, ‘ORBITDOWN’], (op-
tional)) – Orbit, Direction of View Orbit
[Link].view3d.view_pan(type=’PANLEFT’)
Pan the view
Parameters type (enum in [’PANLEFT’, ‘PANRIGHT’, ‘PANUP’, ‘PANDOWN’], (optional)) – Pan,
Direction of View Pan
[Link].view3d.view_persportho()
Switch the current view from perspective/orthographic
[Link].view3d.view_selected()
Move the view to the selection center
[Link](type=’FRONT’, align_active=False)
Set the view
Parameters
• type (enum in [’FRONT’, ‘BACK’, ‘LEFT’, ‘RIGHT’, ‘TOP’, ‘BOTTOM’, ‘CAMERA’],
(optional)) – View, The Type of view
• align_active (boolean, (optional)) – Align Active, Align to the active objects axis
[Link](delta=0, mx=0, my=0)
Zoom in/out in the view
Parameters
• delta (int in [-inf, inf], (optional)) – Delta
• mx (int in [0, inf], (optional)) – Zoom Position X
• my (int in [0, inf], (optional)) – Zoom Position Y
[Link].view3d.zoom_border(xmin=0, xmax=0, ymin=0, ymax=0)
Zoom in the view to the nearest object contained in the border
Parameters
• xmin (int in [-inf, inf], (optional)) – X Min
• xmax (int in [-inf, inf], (optional)) – X Max
• ymin (int in [-inf, inf], (optional)) – Y Min
• ymax (int in [-inf, inf], (optional)) – Y Max
[Link].view3d.zoom_camera_1_to_1()
Match the camera to 1:1 to the render output

Wm Operators

[Link].addon_disable(module=”“)
Disable an addon

2.3. Operators ([Link]) 135


Blender Index, Release 2.57.0 r36138 - API

Parameters module (string, (optional)) – Module, Module name of the addon to disable
File startup/bl_ui/space_userpref.py:1036
[Link].addon_enable(module=”“)
Enable an addon
Parameters module (string, (optional)) – Module, Module name of the addon to enable
File startup/bl_ui/space_userpref.py:1015
[Link].addon_expand(module=”“)
Display more information on this add-on
Parameters module (string, (optional)) – Module, Module name of the addon to expand
File startup/bl_ui/space_userpref.py:1189
[Link].addon_install(overwrite=True, target=’DEFAULT’, filepath=”“, filter_folder=True, fil-
ter_python=True, filter_glob=”*.py;*.zip”)
Install an addon
Parameters
• overwrite (boolean, (optional)) – Overwrite, Remove existing addons with the same ID
• target (enum in [’DEFAULT’, ‘PREFS’], (optional)) – Target Path
• filepath (string, (optional)) – File Path, File path to write file to
• filter_folder (boolean, (optional)) – Filter folders
• filter_python (boolean, (optional)) – Filter python
File startup/bl_ui/space_userpref.py:1070
[Link].appconfig_activate(filepath=”“)
Undocumented (contribute)
Parameters filepath (string, (optional)) – File Path
File startup/bl_operators/[Link]
[Link].appconfig_default()
Undocumented (contribute)
File startup/bl_operators/[Link]
[Link].call_menu(name=”“)
Undocumented (contribute)
Parameters name (string, (optional)) – Name, Name of the menu
[Link].context_cycle_array(data_path=”“, reverse=False)
Set a context array value. Useful for cycling the active mesh edit mode.

Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• reverse (boolean, (optional)) – Reverse, Cycle backwards
File startup/bl_operators/[Link]

[Link].context_cycle_enum(data_path=”“, reverse=False)
Toggle a context value.

136 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• reverse (boolean, (optional)) – Reverse, Cycle backwards
File startup/bl_operators/[Link]
[Link].context_cycle_int(data_path=”“, reverse=False)
Set a context value. Useful for cycling active material,
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• reverse (boolean, (optional)) – Reverse, Cycle backwards
File startup/bl_operators/[Link]
[Link].context_menu_enum(data_path=”“)
Undocumented (contribute)
Parameters data_path (string, (optional)) – Context Attributes, rna context string
File startup/bl_operators/[Link]
[Link].context_modal_mouse(data_path_iter=”“, data_path_item=”“, input_scale=0.01, in-
vert=False, initial_x=0)
Adjust arbitrary values with mouse input
Parameters
• data_path_iter (string, (optional)) – The data path relative to the context, must point to an
iterable.
• data_path_item (string, (optional)) – The data path from each iterable to the value (int or
float)
• input_scale (float in [-inf, inf], (optional)) – Scale the mouse movement by this value before
applying the delta
• invert (boolean, (optional)) – Invert the mouse input
File startup/bl_operators/[Link]
[Link].context_scale_int(data_path=”“, value=1.0, always_step=True)
Scale an int context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (float in [-inf, inf], (optional)) – Value, Assign value
• always_step (boolean, (optional)) – Always Step, Always adjust the value by a minimum
of 1 when ‘value’ is not 1.0.
File startup/bl_operators/[Link]
[Link].context_set_boolean(data_path=”“, value=True)
Set a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (boolean, (optional)) – Value, Assignment value
File startup/bl_operators/[Link]

2.3. Operators ([Link]) 137


Blender Index, Release 2.57.0 r36138 - API

[Link].context_set_enum(data_path=”“, value=”“)
Set a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (string, (optional)) – Value, Assignment value (as a string)
File startup/bl_operators/[Link]
[Link].context_set_float(data_path=”“, value=0.0, relative=False)
Set a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (float in [-inf, inf], (optional)) – Value, Assignment value
• relative (boolean, (optional)) – Relative, Apply relative to the current value (delta)
File startup/bl_operators/[Link]
[Link].context_set_id(data_path=”“, value=”“)
Toggle a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (string, (optional)) – Value, Assign value
File startup/bl_operators/[Link]
[Link].context_set_int(data_path=”“, value=0, relative=False)
Set a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (int in [-inf, inf], (optional)) – Value, Assign value
• relative (boolean, (optional)) – Relative, Apply relative to the current value (delta)
File startup/bl_operators/[Link]
[Link].context_set_string(data_path=”“, value=”“)
Set a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (string, (optional)) – Value, Assign value
File startup/bl_operators/[Link]
[Link].context_set_value(data_path=”“, value=”“)
Set a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value (string, (optional)) – Value, Assignment value (as a string)
File startup/bl_operators/[Link]

138 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].context_toggle(data_path=”“)
Toggle a context value.
Parameters data_path (string, (optional)) – Context Attributes, rna context string
File startup/bl_operators/[Link]
[Link].context_toggle_enum(data_path=”“, value_1=”“, value_2=”“)
Toggle a context value.
Parameters
• data_path (string, (optional)) – Context Attributes, rna context string
• value_1 (string, (optional)) – Value, Toggle enum
• value_2 (string, (optional)) – Value, Toggle enum
File startup/bl_operators/[Link]
[Link].copy_prev_settings()
Copy settings from previous version
File startup/bl_operators/[Link]
[Link].debug_menu(debug_value=0)
Open a popup to set the debug level
Parameters debug_value (int in [-10000, 10000], (optional)) – Debug Value
[Link].doc_edit(doc_id=”“, doc_new=”“)
Load online reference docs
Parameters
• doc_id (string, (optional)) – Doc ID
• doc_new (string, (optional)) – Edit Description
File startup/bl_operators/[Link]
[Link].doc_view(doc_id=”“)
Load online reference docs
Parameters doc_id (string, (optional)) – Doc ID
File startup/bl_operators/[Link]
[Link].interaction_preset_add(name=”“, remove_active=False)
Add an Application Interaction Preset
Parameters name (string, (optional)) – Name, Name of the preset, used to make the path name
File startup/bl_operators/[Link]
[Link].keyconfig_activate(filepath=”“)
Undocumented (contribute)
Parameters filepath (string, (optional)) – File Path
File startup/bl_operators/[Link]
[Link].keyconfig_export(filepath=”[Link]”, filter_folder=True, filter_text=True, fil-
ter_python=True)
Export key configuration to a python script
Parameters
• filepath (string, (optional)) – File Path, Filepath to write file to

2.3. Operators ([Link]) 139


Blender Index, Release 2.57.0 r36138 - API

• filter_folder (boolean, (optional)) – Filter folders


• filter_text (boolean, (optional)) – Filter text
• filter_python (boolean, (optional)) – Filter python
File startup/bl_ui/space_userpref_keymap.py:595
[Link].keyconfig_import(filepath=”[Link]”, filter_folder=True, filter_text=True, fil-
ter_python=True, keep_original=True)
Import key configuration from a python script
Parameters
• filepath (string, (optional)) – File Path, Filepath to write file to
• filter_folder (boolean, (optional)) – Filter folders
• filter_text (boolean, (optional)) – Filter text
• filter_python (boolean, (optional)) – Filter python
• keep_original (boolean, (optional)) – Keep original, Keep original file after copying to
configuration folder
File startup/bl_ui/space_userpref_keymap.py:546
[Link].keyconfig_preset_add(name=”“, remove_active=False)
Add a Keyconfig Preset
Parameters name (string, (optional)) – Name, Name of the preset, used to make the path name
File startup/bl_operators/[Link]
[Link].keyconfig_remove()
Remove key config
File startup/bl_ui/space_userpref_keymap.py:779
[Link].keyconfig_test()
Test keyconfig for conflicts
File startup/bl_ui/space_userpref_keymap.py:513
[Link].keyitem_add()
Add key map item
File startup/bl_ui/space_userpref_keymap.py:731
[Link].keyitem_remove(item_id=0)
Remove key map item
Parameters item_id (int in [-inf, inf], (optional)) – Item Identifier, Identifier of the item to remove
File startup/bl_ui/space_userpref_keymap.py:761
[Link].keyitem_restore(item_id=0)
Restore key map item
Parameters item_id (int in [-inf, inf], (optional)) – Item Identifier, Identifier of the item to remove
File startup/bl_ui/space_userpref_keymap.py:716
[Link].keymap_edit()
Edit stored key map
File startup/bl_ui/space_userpref_keymap.py:678

140 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].keymap_restore(all=False)
Restore key map(s)
Parameters all (boolean, (optional)) – All Keymaps, Restore all keymaps to default
File startup/bl_ui/space_userpref_keymap.py:691
[Link].link_append(filepath=”“, directory=”“, filename=”“, filter_blender=True, fil-
ter_image=False, filter_movie=False, filter_python=False, fil-
ter_font=False, filter_sound=False, filter_text=False, filter_btx=False,
filter_collada=False, filter_folder=True, filemode=1, relative_path=False,
link=True, autoselect=True, active_layer=True, instance_groups=True,
files=None)
Link or Append from a Library .blend file
Parameters
• filepath (string, (optional)) – File Path, Path to file
• directory (string, (optional)) – Directory, Directory of the file
• filename (string, (optional)) – File Name, Name of the file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
• link (boolean, (optional)) – Link, Link the objects or datablocks rather than appending
• autoselect (boolean, (optional)) – Select, Select the linked objects
• active_layer (boolean, (optional)) – Active Layer, Put the linked objects on the active layer
• instance_groups (boolean, (optional)) – Instance Groups, Create instances for each group
as a DupliGroup
• files (bpy_prop_collection of OperatorFileListElement, (optional)) – Files
[Link].memory_statistics()
Print memory statistics to the console

2.3. Operators ([Link]) 141


Blender Index, Release 2.57.0 r36138 - API

[Link].open_mainfile(filepath=”“, filter_blender=True, filter_image=False, fil-


ter_movie=False, filter_python=False, filter_font=False, fil-
ter_sound=False, filter_text=False, filter_btx=False, fil-
ter_collada=False, filter_folder=True, filemode=8, load_ui=True,
use_scripts=True)
Open a Blender file
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• load_ui (boolean, (optional)) – Load UI, Load user interface setup in the .blend file
• use_scripts (boolean, (optional)) – Trusted Source, Allow blend file execute scripts auto-
matically, default available from system preferences
[Link].operator_preset_add(name=”“, remove_active=False, operator=”“)
Add an Application Interaction Preset
Parameters
• name (string, (optional)) – Name, Name of the preset, used to make the path name
• operator (string, (optional)) – Operator
File startup/bl_operators/[Link]
[Link].path_open(filepath=”“)
Open a path in a file browser
Parameters filepath (string, (optional)) – File Path
File startup/bl_operators/[Link]
[Link].properties_add(data_path=”“)
Internal use (edit a property data_path)
Parameters data_path (string, (optional)) – Property Edit, Property data_path edit
File startup/bl_operators/[Link]
[Link].properties_edit(data_path=”“, property=”“, value=”“, min=0.0, max=1.0, descrip-
tion=”“)
Internal use (edit a property data_path)

142 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• data_path (string, (optional)) – Property Edit, Property data_path edit
• property (string, (optional)) – Property Name, Property name edit
• value (string, (optional)) – Property Value, Property value edit
• min (float in [-inf, inf], (optional)) – Min
• max (float in [-inf, inf], (optional)) – Max
• description (string, (optional)) – Tip
File startup/bl_operators/[Link]
[Link].properties_remove(data_path=”“, property=”“)
Internal use (edit a property data_path)
Parameters
• data_path (string, (optional)) – Property Edit, Property data_path edit
• property (string, (optional)) – Property Name, Property name edit
File startup/bl_operators/[Link]
[Link].quit_blender()
Quit Blender
[Link].read_factory_settings()
Load default file and user preferences
[Link].read_homefile()
Open the default file (doesn’t save the current file)
[Link].recover_auto_save(filepath=”“, filter_blender=True, filter_image=False, fil-
ter_movie=False, filter_python=False, filter_font=False,
filter_sound=False, filter_text=False, filter_btx=False, fil-
ter_collada=False, filter_folder=False, filemode=8)
Open an automatically saved file to recover it
Parameters
• filepath (string, (optional)) – File Path, Path to file
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file

2.3. Operators ([Link]) 143


Blender Index, Release 2.57.0 r36138 - API

[Link].recover_last_session()
Open the last closed file (“[Link]”)
[Link].redraw_timer(type=’DRAW’, iterations=10)
Simple redraw timer to test the speed of updating the interface
Parameters
• type (enum in [’DRAW’, ‘DRAW_SWAP’, ‘DRAW_WIN’, ‘DRAW_WIN_SWAP’,
‘ANIM_STEP’, ‘ANIM_PLAY’, ‘UNDO’], (optional)) – Type
• iterations (int in [1, inf], (optional)) – Iterations, Number of times to redraw
[Link].save_as_mainfile(filepath=”“, check_existing=True, filter_blender=True, fil-
ter_image=False, filter_movie=False, filter_python=False,
filter_font=False, filter_sound=False, filter_text=False, fil-
ter_btx=False, filter_collada=False, filter_folder=True, filemode=8,
compress=False, relative_remap=True, copy=False)
Save the current file in the desired location
Parameters
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• compress (boolean, (optional)) – Compress, Write compressed .blend file
• relative_remap (boolean, (optional)) – Remap Relative, Remap relative paths when saving
in a different directory
• copy (boolean, (optional)) – Save Copy, Save a copy of the actual working state but does
not make saved file active.
[Link].save_homefile()
Make the current file the default .blend file
[Link].save_mainfile(filepath=”“, check_existing=True, filter_blender=True, fil-
ter_image=False, filter_movie=False, filter_python=False, fil-
ter_font=False, filter_sound=False, filter_text=False, filter_btx=False,
filter_collada=False, filter_folder=True, filemode=8, compress=False,
relative_remap=False)

144 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Save the current Blender file


Parameters
• filepath (string, (optional)) – File Path, Path to file
• check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting
existing files
• filter_blender (boolean, (optional)) – Filter .blend files
• filter_image (boolean, (optional)) – Filter image files
• filter_movie (boolean, (optional)) – Filter movie files
• filter_python (boolean, (optional)) – Filter python files
• filter_font (boolean, (optional)) – Filter font files
• filter_sound (boolean, (optional)) – Filter sound files
• filter_text (boolean, (optional)) – Filter text files
• filter_btx (boolean, (optional)) – Filter btx files
• filter_collada (boolean, (optional)) – Filter COLLADA files
• filter_folder (boolean, (optional)) – Filter folders
• filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser
mode to load a .blend file, a library or a special file
• compress (boolean, (optional)) – Compress, Write compressed .blend file
• relative_remap (boolean, (optional)) – Remap Relative, Remap relative paths when saving
in a different directory
[Link].search_menu()
Undocumented (contribute)
[Link]()
Opens a blocking popup region with release info
[Link]()
Generate System Info
File startup/bl_operators/[Link]
[Link].url_open(url=”“)
Open a website in the Webbrowser
Parameters url (string, (optional)) – URL, URL to open
File startup/bl_operators/[Link]
[Link].window_duplicate()
Duplicate the current Blender window
[Link].window_fullscreen_toggle()
Toggle the current window fullscreen

World Operators

[Link]()
Add a new world

2.3. Operators ([Link]) 145


Blender Index, Release 2.57.0 r36138 - API

2.4 Types ([Link])

2.4.1 Action(ID)

base classes — bpy_struct, ID


class [Link](ID)
A collection of F-Curves for animation
fcurves
The individual F-Curves that make up the Action
Type ActionFCurves bpy_prop_collection of FCurve, (readonly)
frame_range
The final frame range of all fcurves within this action
Type float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)
groups
Convenient groupings of F-Curves
Type ActionGroups bpy_prop_collection of ActionGroup, (readonly)
pose_markers
Markers specific to this Action, for labeling poses
Type ActionPoseMarkers bpy_prop_collection of TimelineMarker, (read-
only)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

146 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Object.pose_library
• [Link]
• [Link]

2.4.2 ActionActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to control the object movement
action
Type Action
frame_blend_in
Number of frames of motion blending
Type int in [0, 32767], default 0
frame_end
Type float in [-inf, inf], default 0.0
frame_property
Assign the action’s current frame number to this property
Type string, default “”
frame_start
Type float in [-inf, inf], default 0.0
play_mode
Action playback type
Type enum in [’PLAY’, ‘PINGPONG’, ‘FLIPPER’, ‘LOOPSTOP’, ‘LOOPEND’, ‘PROP-
ERTY’], default ‘PLAY’
priority
Execution priority - lower numbers will override actions with higher numbers. With 2 or more actions at
once, the overriding channels must be lower in the stack

2.4. Types ([Link]) 147


Blender Index, Release 2.57.0 r36138 - API

Type int in [0, 100], default 0


property
Use this property to define the Action position
Type string, default “”
use_continue_last_frame
Restore last frame when switching on/off, otherwise play from the start each time
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.3 ActionConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Map an action to the transform axes of a bone
action
Type Action
frame_end
Last frame of the Action to use
Type int in [-300000, 300000], default 0

148 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

frame_start
First frame of the Action to use
Type int in [-300000, 300000], default 0
max
Maximum value for target channel range
Type float in [-1000, 1000], default 0.0
min
Minimum value for target channel range
Type float in [-1000, 1000], default 0.0
subtarget
Type string, default “”
target
Target Object
Type Object
transform_channel
Transformation channel from the target that is used to key the Action
Type enum in [’LOCATION_X’, ‘LOCATION_Y’, ‘LOCATION_Z’, ‘ROTATION_X’, ‘RO-
TATION_Y’, ‘ROTATION_Z’, ‘SCALE_X’, ‘SCALE_Y’, ‘SCALE_Z’], default ‘ROTA-
TION_X’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 149


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.4 ActionFCurves(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of action fcurves
new(data_path, index=0, action_group=”“)
Add a keyframe to the curve.
Parameters
• data_path (string) – Data Path, FCurve data path to use.
• index (int in [0, inf], (optional)) – Index, Array index.
• action_group (string, (optional)) – Action Group, Acton group to add this fcurve into.
Returns Newly created fcurve
Return type FCurve
remove(fcurve)
Remove action group.
Parameters fcurve (FCurve, (never None)) – FCurve to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

150 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

References

• [Link]

2.4.5 ActionGroup(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Groups of F-Curves
channels
F-Curves in this group
Type bpy_prop_collection of FCurve, (readonly)
custom_color
Index of custom color set
Type int in [-inf, inf], default 0
lock
Action Group is locked
Type boolean, default False
name
Type string, default “”
select
Action Group is selected
Type boolean, default False
show_expanded
Action Group is expanded
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 151


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]

2.4.6 ActionGroups(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of action groups
new(name)
Add a keyframe to the curve.
Parameters name (string) – New name for the action group.
Returns Newly created action group
Return type ActionGroup
remove(action_group)
Remove action group.
Parameters action_group (ActionGroup, (never None)) – Action group to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

152 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.7 ActionPoseMarkers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of timeline markers
active
Active pose marker for this Action
Type TimelineMarker
active_index
Index of active pose marker
Type int in [-inf, inf], default 0
new(name)
Add a pose marker to the action.
Parameters name (string) – New name for the marker (not unique).
Returns Newly created marker
Return type TimelineMarker
remove(marker)
Remove a timeline marker.
Parameters marker (TimelineMarker, (never None)) – Timeline marker to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

2.4. Types ([Link]) 153


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Action.pose_markers

2.4.8 Actuator(bpy_struct)

base class — bpy_struct


subclasses — ShapeActionActuator, VisibilityActuator, MessageActuator, RandomActuator,
Filter2DActuator, GameActuator, CameraActuator, ArmatureActuator, SoundActuator,
ParentActuator, SceneActuator, StateActuator, ActionActuator, ConstraintActuator,
PropertyActuator, FCurveActuator, ObjectActuator, EditObjectActuator
class [Link](bpy_struct)
Actuator to apply actions in the game engine
name
Type string, default “”
pin
Display when not linked to a visible states controller
Type boolean, default False
show_expanded
Set actuator expanded in the user interface
Type boolean, default False
type
Type enum in [’ACTION’, ‘ARMATURE’, ‘CAMERA’, ‘CONSTRAINT’, ‘EDIT_OBJECT’,
‘FCURVE’, ‘FILTER_2D’, ‘GAME’, ‘MESSAGE’, ‘MOTION’, ‘PARENT’, ‘PROPERTY’,
‘RANDOM’, ‘SCENE’, ‘SHAPE_ACTION’, ‘SOUND’, ‘STATE’, ‘VISIBILITY’], default
‘MOTION’
link(controller)
Link the actuator to a controller.
Parameters controller (Controller) – Controller to link to.
unlink(controller)
Unlink the actuator from a controller.
Parameters controller (Controller) – Controller to unlink from.

Inherited Properties

• bpy_struct.id_data

154 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.9 ActuatorSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect state modifications of actuators
actuator
Actuator name, actuator active state modifications will be detected
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

2.4. Types ([Link]) 155


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.10 Addon(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Python addons to be loaded automatically
module
Module name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

156 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.11 Addons(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of add-ons
classmethod new()
Add a new addon
Returns Addon datablock.
Return type Addon
classmethod remove(addon)
Remove addon.
Parameters addon (Addon, (never None)) – Addon to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 157


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.12 AlwaysSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to generate continuous pulses

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.13 AndController(Controller)

base classes — bpy_struct, Controller

158 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](Controller)
Controller passing on events based on a logical AND operation

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.14 AnimData(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Animation data for datablock
action
Active Action for this datablock
Type Action
action_blend_type
Method used for combining Active Action’s result with result of NLA stack
Type enum in [’REPLACE’, ‘ADD’, ‘SUBTRACT’, ‘MULITPLY’], default ‘REPLACE’
action_extrapolation
Action to take for gaps past the Active Action’s range (when evaluating with NLA)
Type enum in [’NOTHING’, ‘HOLD’, ‘HOLD_FORWARD’], default ‘HOLD’

2.4. Types ([Link]) 159


Blender Index, Release 2.57.0 r36138 - API

action_influence
Amount the Active Action contributes to the result of the NLA stack
Type float in [0, 1], default 1.0
drivers
The Drivers/Expressions for this datablock
Type bpy_prop_collection of FCurve, (readonly)
nla_tracks
NLA Tracks (i.e. Animation Layers)
Type NlaTracks bpy_prop_collection of NlaTrack, (readonly)
use_nla
NLA stack is evaluated when evaluating this block
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Armature.animation_data
• Camera.animation_data
• Curve.animation_data
• ID.animation_data_create
• Key.animation_data
• Lamp.animation_data
• Lattice.animation_data
• Material.animation_data
• Mesh.animation_data
• MetaBall.animation_data

160 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• NodeTree.animation_data
• Object.animation_data
• ParticleSettings.animation_data
• Scene.animation_data
• Texture.animation_data
• World.animation_data

2.4.15 AnimViz(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings for the visualisation of motion
motion_path
Motion Path settings for visualisation
Type AnimVizMotionPaths, (readonly, never None)
onion_skin_frames
Onion Skinning (ghosting) settings for visualisation
Type AnimVizOnionSkinning, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.animation_visualisation
• Pose.animation_visualisation

2.4. Types ([Link]) 161


Blender Index, Release 2.57.0 r36138 - API

2.4.16 AnimVizMotionPaths(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Motion Path settings for animation visualisation
bake_location
When calculating Bone Paths, use Head or Tips
Type enum in [’HEADS’, ‘TAILS’], default ‘TAILS’
frame_after
Number of frames to show after the current frame (only for ‘Around Current Frame’ Onion-skinning
method)
Type int in [1, 150000], default 0
frame_before
Number of frames to show before the current frame (only for ‘Around Current Frame’ Onion-skinning
method)
Type int in [1, 150000], default 0
frame_end
End frame of range of paths to display/calculate (not for ‘Around Current Frame’ Onion-skinning method)
Type int in [-inf, inf], default 0
frame_start
Starting frame of range of paths to display/calculate (not for ‘Around Current Frame’ Onion-skinning
method)
Type int in [-inf, inf], default 0
frame_step
Number of frames between paths shown (not for ‘On Keyframes’ Onion-skinning method)
Type int in [1, 100], default 0
show_frame_numbers
Show frame numbers on Motion Paths
Type boolean, default False
show_keyframe_action_all
For bone motion paths, search whole Action for keyframes instead of in group with matching name only
(is slower)
Type boolean, default False
show_keyframe_highlight
Emphasize position of keyframes on Motion Paths
Type boolean, default False
show_keyframe_numbers
Show frame numbers of Keyframes on Motion Paths
Type boolean, default False
type
Type of range to show for Motion Paths
Type enum in [’CURRENT_FRAME’, ‘RANGE’], default ‘RANGE’

162 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• AnimViz.motion_path

2.4.17 AnimVizOnionSkinning(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Onion Skinning settings for animation visualisation
frame_after
Number of frames to show after the current frame (only for ‘Around Current Frame’ Onion-skinning
method)
Type int in [0, 30], default 0
frame_before
Number of frames to show before the current frame (only for ‘Around Current Frame’ Onion-skinning
method)
Type int in [0, 30], default 0
frame_end
End frame of range of Ghosts to display (not for ‘Around Current Frame’ Onion-skinning method)
Type int in [-inf, inf], default 0
frame_start
Starting frame of range of Ghosts to display (not for ‘Around Current Frame’ Onion-skinning method)
Type int in [-inf, inf], default 0

2.4. Types ([Link]) 163


Blender Index, Release 2.57.0 r36138 - API

frame_step
Number of frames between ghosts shown (not for ‘On Keyframes’ Onion-skinning method)
Type int in [1, 20], default 0
show_only_selected
For Pose-Mode drawing, only draw ghosts for selected bones
Type boolean, default False
type
Method used for determining what ghosts get drawn
Type enum in [’NONE’, ‘CURRENT_FRAME’, ‘RANGE’, ‘KEYS’], default ‘NONE’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• AnimViz.onion_skin_frames

2.4.18 AnyType(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
RNA type used for pointers to any possible data

Inherited Properties

• bpy_struct.id_data

164 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• UILayout.context_pointer_set
• [Link]
• UILayout.prop_enum
• UILayout.prop_menu_enum
• UILayout.prop_search
• UILayout.prop_search
• UILayout.props_enum
• UILayout.template_ID
• UILayout.template_ID_preview
• UILayout.template_any_ID
• UILayout.template_color_ramp
• UILayout.template_color_wheel
• UILayout.template_curve_mapping
• UILayout.template_histogram
• UILayout.template_image
• UILayout.template_layers
• UILayout.template_layers
• UILayout.template_list
• UILayout.template_list
• UILayout.template_path_builder
• UILayout.template_vectorscope
• UILayout.template_waveform

2.4.19 Area(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Area in a subdivided screen, containing an editor

2.4. Types ([Link]) 165


Blender Index, Release 2.57.0 r36138 - API

active_space
Space currently being displayed in this area
Type Space, (readonly)
height
Area height
Type int in [0, 32767], default 0, (readonly)
regions
Regions this area is subdivided in
Type bpy_prop_collection of Region, (readonly)
show_menus
Show menus in the header
Type boolean, default False
spaces
Spaces contained in this area, the first being the active space. NOTE: Useful for example to restore a
previously used 3d view space in a certain area to get the old view orientation.
Type bpy_prop_collection of Space, (readonly)
type
Space type
Type enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUTLINER’, ‘PROP-
ERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SEQUENCE_EDITOR’,
‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’,
‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’, ‘CON-
SOLE’, ‘USER_PREFERENCES’], default ‘EMPTY’
width
Area width
Type int in [0, 32767], default 0, (readonly)
tag_redraw()
tag_redraw
header_text_set(text=”“)
Set the header text
Parameters text (string, (optional)) – Text, New string for the header, no argument clears the
text.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

166 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.20 AreaLamp(Lamp)

base classes — bpy_struct, ID, Lamp


class [Link](Lamp)
Directional area lamp
gamma
Light gamma correction value
Type float in [-inf, inf], default 0.0
shadow_adaptive_threshold
Threshold for Adaptive Sampling (Raytraced shadows)
Type float in [0, 1], default 0.0
shadow_color
Color of shadows cast by the lamp
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
shadow_method
Method to compute lamp shadow with
Type enum in [’NOSHADOW’, ‘RAY_SHADOW’], default ‘NOSHADOW’
shadow_ray_sample_method
Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower
Type enum in [’ADAPTIVE_QMC’, ‘CONSTANT_QMC’, ‘CONSTANT_JITTERED’], de-
fault ‘CONSTANT_JITTERED’
shadow_ray_samples_x
Amount of samples taken extra (samples x samples)
Type int in [1, 64], default 0
shadow_ray_samples_y
Amount of samples taken extra (samples x samples)
Type int in [1, 64], default 0

2.4. Types ([Link]) 167


Blender Index, Release 2.57.0 r36138 - API

shadow_soft_size
Light size for ray shadow sampling (Raytraced shadows)
Type float in [-inf, inf], default 0.0
shape
Shape of the area lamp
Type enum in [’SQUARE’, ‘RECTANGLE’], default ‘SQUARE’
size
Size of the area of the area Lamp, X direction size for Rectangle shapes
Type float in [-inf, inf], default 0.0
size_y
Size of the area of the area Lamp in the Y direction for Rectangle shapes
Type float in [-inf, inf], default 0.0
use_dither
Use 2x2 dithering for sampling (Constant Jittered sampling)
Type boolean, default False
use_jitter
Use noise for sampling (Constant Jittered sampling)
Type boolean, default False
use_only_shadow
Causes light to cast shadows only without illuminating objects
Type boolean, default False
use_shadow_layer
Causes only objects on the same layer to cast shadows
Type boolean, default False
use_umbra
Emphasize parts that are fully shadowed (Constant Jittered sampling)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Lamp.active_texture
• Lamp.active_texture_index
• Lamp.animation_data
• [Link]
• Lamp.use_diffuse
• [Link]
• [Link]
• Lamp.use_own_layer

168 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Lamp.use_negative
• Lamp.use_specular
• Lamp.texture_slots
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.21 Armature(ID)

base classes — bpy_struct, ID


class [Link](ID)
Armature datablock containing a hierarchy of bones, usually used for rigging characters
animation_data
Animation data for this datablock
Type AnimData, (readonly)
bones
Type ArmatureBones bpy_prop_collection of Bone, (readonly)
draw_type
Type enum in [’OCTAHEDRAL’, ‘STICK’, ‘BBONE’, ‘ENVELOPE’], default ‘OCTAHE-
DRAL’
edit_bones
Type ArmatureEditBones bpy_prop_collection of EditBone, (readonly)
ghost_frame_end
End frame of range of Ghosts to display (not for ‘Around Current Frame’ Onion-skinning method)
Type int in [-inf, inf], default 0

2.4. Types ([Link]) 169


Blender Index, Release 2.57.0 r36138 - API

ghost_frame_start
Starting frame of range of Ghosts to display (not for ‘Around Current Frame’ Onion-skinning method)
Type int in [-inf, inf], default 0
ghost_size
Frame step for Ghosts (not for ‘On Keyframes’ Onion-skinning method)
Type int in [1, 20], default 0
ghost_step
Number of frame steps on either side of current frame to show as ghosts (only for ‘Around Current Frame’
Onion-skinning method)
Type int in [0, 30], default 0
ghost_type
Method of Onion-skinning for active Action
Type enum in [’CURRENT_FRAME’, ‘RANGE’, ‘KEYS’], default ‘CURRENT_FRAME’
layers
Armature layer visibility
Type boolean array of 32 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False)
layers_protected
Protected layers in Proxy Instances are restored to Proxy settings on file reload and undo
Type boolean array of 32 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False)
pose_position
Show armature in binding pose or final posed state
Type enum in [’POSE’, ‘REST’], default ‘POSE’
show_axes
Draw bone axes
Type boolean, default False
show_bone_custom_shapes
Draw bones with their custom shapes
Type boolean, default False
show_group_colors
Draw bone group colors
Type boolean, default False
show_names
Draw bone names
Type boolean, default False
show_only_ghost_selected
Type boolean, default False
use_auto_ik
Add temporaral IK constraints while grabbing bones in Pose Mode

170 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_deform_delay
Don’t deform children when manipulating bones in Pose Mode
Type boolean, default False
use_deform_envelopes
Enable Bone Envelopes when defining deform
Type boolean, default False
use_deform_preserve_volume
Enable deform rotation with Quaternions
Type boolean, default False
use_deform_vertex_groups
Enable Vertex Groups when defining deform
Type boolean, default False
use_mirror_x
Apply changes to matching bone on opposite side of X-Axis
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create

2.4. Types ([Link]) 171


Blender Index, Release 2.57.0 r36138 - API

• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.22 ArmatureActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to ..
bone
Bone on which the constraint is defined
Type string, default “”
constraint
Name of the constraint you want to control
Type string, default “”
mode
Type enum in [’RUN’, ‘ENABLE’, ‘DISABLE’, ‘SETTARGET’, ‘SETWEIGHT’], default
‘RUN’
secondary_target
Set this object as the secondary target of the constraint (only IK polar target at the moment)
Type Object
target
Set this object as the target of the constraint
Type Object
weight
Set weight of this constraint
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

172 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.23 ArmatureBones(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of armature bones
active
Armatures active bone
Type Bone

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

2.4. Types ([Link]) 173


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.24 ArmatureEditBones(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of armature edit bones
active
Armatures active edit bone
Type EditBone
new(name)
Add a new bone.
Parameters name (string) – New name for the bone
Returns Newly created edit bone
Return type EditBone
remove(bone)
Remove an existing bone from the armature
Parameters bone (EditBone, (never None)) – EditBone to remove

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

174 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

References

• Armature.edit_bones

2.4.25 ArmatureModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Armature deformation modifier
invert_vertex_group
Invert vertex group influence
Type boolean, default False
object
Armature object to deform with
Type Object
use_bone_envelopes
Type boolean, default False
use_deform_preserve_volume
Deform rotation interpolation with quaternions
Type boolean, default False
use_multi_modifier
Use same input as previous modifier, and mix results using overall vgroup
Type boolean, default False
use_vertex_groups
Type boolean, default False
vertex_group
Name of Vertex Group which determines influence of modifier per point
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

2.4. Types ([Link]) 175


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.26 ArmatureSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect values and changes in values of IK solver
bone
Identify the bone to check value from
Type string, default “”
constraint
Identify the bone constraint to check value from
Type string, default “”
test_type
Type of value and test
Type enum in [’STATECHG’, ‘LINERRORBELOW’, ‘LINERRORABOVE’, ‘ROTERROR-
BELOW’, ‘ROTERRORABOVE’], default ‘STATECHG’
value
Specify value to be used in comparison
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]

176 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.27 ArrayModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Array duplication modifier
constant_offset_displace
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
count
Number of duplicates to make
Type int in [1, inf], default 0
curve
Curve object to fit array length to
Type Object
end_cap
Mesh object to use as an end cap
Type Object
fit_length
Length to fit array within
Type float in [0, inf], default 0.0

2.4. Types ([Link]) 177


Blender Index, Release 2.57.0 r36138 - API

fit_type
Array length calculation method
Type enum in [’FIXED_COUNT’, ‘FIT_LENGTH’, ‘FIT_CURVE’], default
‘FIXED_COUNT’
merge_threshold
Limit below which to merge vertices
Type float in [0, inf], default 0.0
offset_object
Type Object
relative_offset_displace
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
start_cap
Mesh object to use as a start cap
Type Object
use_constant_offset
Add a constant offset
Type boolean, default False
use_merge_vertices
Merge vertices in adjacent duplicates
Type boolean, default False
use_merge_vertices_cap
Merge vertices in first and last duplicates
Type boolean, default False
use_object_offset
Add another object’s transformation to the total offset
Type boolean, default False
use_relative_offset
Add an offset relative to the object’s bounding box
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

178 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.28 BackgroundImage(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Image and settings for display in the 3d View background
image
Image displayed and edited in this space
Type Image
image_user
Parameters defining which layer, pass and frame of the image is displayed
Type ImageUser, (readonly, never None)
offset_x
Offsets image horizontally from the world origin
Type float in [-inf, inf], default 0.0
offset_y
Offsets image vertically from the world origin
Type float in [-inf, inf], default 0.0
opacity
Image opacity to blend the image against the background color
Type float in [0, 1], default 0.0
show_expanded
Show the expanded in the user interface
Type boolean, default False
size
Scaling factor for the background image
Type float in [0, inf], default 0.0

2.4. Types ([Link]) 179


Blender Index, Release 2.57.0 r36138 - API

view_axis
The axis to display the image on
Type enum in [’LEFT’, ‘RIGHT’, ‘BACK’, ‘FRONT’, ‘BOTTOM’, ‘TOP’, ‘ALL’, ‘CAM-
ERA’], default ‘ALL’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• SpaceView3D.background_images

2.4.29 BevelModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Bevel modifier to make edges and vertices more rounded
angle_limit
Angle above which to bevel edges
Type float in [0, 180], default 0.0
edge_weight_method
What edge weight to use for weighting a vertex
Type enum in [’AVERAGE’, ‘SHARPEST’, ‘LARGEST’], default ‘AVERAGE’
limit_method
Type enum in [’NONE’, ‘ANGLE’, ‘WEIGHT’], default ‘NONE’

180 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_only_vertices
Bevel verts/corners, not edges
Type boolean, default False
width
Bevel value/amount
Type float in [0, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.30 BezierSplinePoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Bezier curve point with two handles
co
Coordinates of the control point
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_left
Coordinates of the first handle

2.4. Types ([Link]) 181


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_left_type
Handle types
Type enum in [’FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
handle_right
Coordinates of the second handle
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_right_type
Handle types
Type enum in [’FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
hide
Visibility status
Type boolean, default False
radius
Radius for bevelling
Type float in [0, inf], default 0.0
select_control_point
Control point selection status
Type boolean, default False
select_left_handle
Handle 1 selection status
Type boolean, default False
select_right_handle
Handle 2 selection status
Type boolean, default False
tilt
Tilt in 3D View
Type float in [-inf, inf], default 0.0
weight
Softbody goal weight
Type float in [0.01, 100], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

182 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Spline.bezier_points

2.4.31 BlendData(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Main data structure representing a .blend file and all its datablocks
actions
Action datablocks.
Type BlendDataActions bpy_prop_collection of Action, (readonly)
armatures
Armature datablocks.
Type BlendDataArmatures bpy_prop_collection of Armature, (readonly)
brushes
Brush datablocks.
Type BlendDataBrushes bpy_prop_collection of Brush, (readonly)
cameras
Camera datablocks.
Type BlendDataCameras bpy_prop_collection of Camera, (readonly)
curves
Curve datablocks.
Type BlendDataCurves bpy_prop_collection of Curve, (readonly)
filepath
Path to the .blend file
Type string, default “”, (readonly)
fonts
Vector font datablocks.
Type BlendDataFonts bpy_prop_collection of VectorFont, (readonly)

2.4. Types ([Link]) 183


Blender Index, Release 2.57.0 r36138 - API

grease_pencil
Grease Pencil datablocks.
Type BlendDataGreasePencils bpy_prop_collection of GreasePencil,
(readonly)
groups
Group datablocks.
Type BlendDataGroups bpy_prop_collection of Group, (readonly)
images
Image datablocks.
Type BlendDataImages bpy_prop_collection of Image, (readonly)
is_dirty
Have recent edits been saved to disk
Type boolean, default False, (readonly)
is_saved
Has the current session been saved to disk as a .blend file
Type boolean, default False, (readonly)
lamps
Lamp datablocks.
Type BlendDataLamps bpy_prop_collection of Lamp, (readonly)
lattices
Lattice datablocks.
Type BlendDataLattices bpy_prop_collection of Lattice, (readonly)
libraries
Library datablocks.
Type BlendDataLibraries bpy_prop_collection of Library, (readonly)
materials
Material datablocks.
Type BlendDataMaterials bpy_prop_collection of Material, (readonly)
meshes
Mesh datablocks.
Type BlendDataMeshes bpy_prop_collection of Mesh, (readonly)
metaballs
Metaball datablocks.
Type BlendDataMetaBalls bpy_prop_collection of MetaBall, (readonly)
node_groups
Node group datablocks.
Type BlendDataNodeTrees bpy_prop_collection of NodeTree, (readonly)
objects
Object datablocks.
Type BlendDataObjects bpy_prop_collection of Object, (readonly)

184 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

particles
Particle datablocks.
Type BlendDataParticles bpy_prop_collection of ParticleSettings,
(readonly)
scenes
Scene datablocks.
Type BlendDataScenes bpy_prop_collection of Scene, (readonly)
screens
Screen datablocks.
Type BlendDataScreens bpy_prop_collection of Screen, (readonly)
scripts
Script datablocks (DEPRECATED).
Type bpy_prop_collection of ID, (readonly)
shape_keys
Shape Key datablocks.
Type bpy_prop_collection of Key, (readonly)
sounds
Sound datablocks.
Type BlendDataSounds bpy_prop_collection of Sound, (readonly)
texts
Text datablocks.
Type BlendDataTexts bpy_prop_collection of Text, (readonly)
textures
Texture datablocks.
Type BlendDataTextures bpy_prop_collection of Texture, (readonly)
window_managers
Window manager datablocks.
Type BlendDataWindowManagers bpy_prop_collection of WindowManager,
(readonly)
worlds
World datablocks.
Type BlendDataWorlds bpy_prop_collection of World, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 185


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Context.blend_data

2.4.32 BlendDataActions(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of actions
new(name)
Add a new action to the main database
Parameters name (string) – New name for the datablock.
Returns New action datablock.
Return type Action
remove(action)
Remove a action from the current blendfile.
Parameters action (Action, (never None)) – Action to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

186 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.33 BlendDataArmatures(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of armatures
new(name)
Add a new armature to the main database
Parameters name (string) – New name for the datablock.
Returns New armature datablock.
Return type Armature
remove(armature)
Remove a armature from the current blendfile.
Parameters armature (Armature, (never None)) – Armature to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 187


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.34 BlendDataBrushes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of brushes
new(name)
Add a new brush to the main database
Parameters name (string) – New name for the datablock.
Returns New brush datablock.
Return type Brush
remove(brush)
Remove a brush from the current blendfile.
Parameters brush (Brush, (never None)) – Brush to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

188 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.35 BlendDataCameras(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of cameras
new(name)
Add a new camera to the main database
Parameters name (string) – New name for the datablock.
Returns New camera datablock.
Return type Camera
remove(camera)
Remove a camera from the current blendfile.
Parameters camera (Camera, (never None)) – Camera to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

2.4. Types ([Link]) 189


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.36 BlendDataCurves(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of curves
new(name, type)
Add a new curve to the main database
Parameters
• name (string) – New name for the datablock.
• type (enum in [’CURVE’, ‘SURFACE’, ‘FONT’]) – Type, The type of curve to add
Returns New curve datablock.
Return type Curve
remove(curve)
Remove a curve from the current blendfile.
Parameters curve (Curve, (never None)) – Curve to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

190 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.37 BlendDataFonts(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of fonts
load(filepath)
Load a new font into the main database
Parameters filepath (string) – path of the font to load.
Returns New font datablock.
Return type VectorFont
remove(vfont)
Remove a font from the current blendfile.
Parameters vfont (VectorFont, (never None)) – Font to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

2.4. Types ([Link]) 191


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.38 BlendDataGreasePencils(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of grease pencils
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• BlendData.grease_pencil

192 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.39 BlendDataGroups(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of groups
new(name)
Add a new group to the main database
Parameters name (string) – New name for the datablock.
Returns New group datablock.
Return type Group
remove(group)
Remove a group from the current blendfile.
Parameters group (Group, (never None)) – Group to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4. Types ([Link]) 193


Blender Index, Release 2.57.0 r36138 - API

2.4.40 BlendDataImages(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of images
new(name, width, height, alpha=False, float_buffer=False)
Add a new image to the main database
Parameters
• name (string) – New name for the datablock.
• width (int in [1, inf]) – Width of the image.
• height (int in [1, inf]) – Height of the image.
• alpha (boolean, (optional)) – Alpha, Use alpha channel
• float_buffer (boolean, (optional)) – Float Buffer, Create an image with floating point color
Returns New image datablock.
Return type Image
load(filepath)
Load a new image into the main database
Parameters filepath (string) – path of the file to load.
Returns New image datablock.
Return type Image
remove(image)
Remove an image from the current blendfile.
Parameters image (Image, (never None)) – Image to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

194 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.41 BlendDataLamps(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of lamps
new(name, type)
Add a new lamp to the main database
Parameters
• name (string) – New name for the datablock.
• type (enum in [’POINT’, ‘SUN’, ‘SPOT’, ‘HEMI’, ‘AREA’]) – Type, The type of texture
to add
Returns New lamp datablock.
Return type Lamp
remove(lamp)
Remove a lamp from the current blendfile.
Parameters lamp (Lamp, (never None)) – Lamp to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 195


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.42 BlendDataLattices(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of lattices
new(name)
Add a new lattice to the main database
Parameters name (string) – New name for the datablock.
Returns New lattices datablock.
Return type Lattice
remove(lattice)
Remove a lattice from the current blendfile.
Parameters lattice (Lattice, (never None)) – Lattice to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

196 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.43 BlendDataLibraries(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of libraries
tag(value)
tag
Parameters value (boolean) – Value
load(filepath, link=False, relative=False)
Returns a context manager which exposes 2 library objects on entering. Each object has attributes matching
[Link] which are lists of strings to be linked.
Parameters
• filepath (string) – The path to a blend file.
• link (bool) – When False reference to the original file is lost.
• relative (bool) – When True the path is stored relative to the open blend file.
import bpy

filepath = "//link_library.blend"

# load a single scene we know the name of.


with [Link](filepath) as (data_from, data_to):
data_to.scenes = ["Scene"]

# load all meshes


with [Link](filepath) as (data_from, data_to):
data_to.meshes = data_from.meshes

# link all objects starting with ’A’


with [Link](filepath, link=True) as (data_from, data_to):
data_to.objects = [name for name in data_from.objects if [Link]("A")]

# append everything
with [Link](filepath) as (data_from, data_to):
for attr in dir(data_to):
setattr(data_to, attr, getattr(data_from, attr))

2.4. Types ([Link]) 197


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.44 BlendDataMaterials(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of materials
new(name)
Add a new material to the main database
Parameters name (string) – New name for the datablock.
Returns New material datablock.
Return type Material
remove(material)
Remove a material from the current blendfile.
Parameters material (Material, (never None)) – Material to remove.
tag(value)
tag
Parameters value (boolean) – Value

198 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.45 BlendDataMeshes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of meshes
new(name)
Add a new mesh to the main database
Parameters name (string) – New name for the datablock.
Returns New mesh datablock.
Return type Mesh
remove(mesh)
Remove a mesh from the current blendfile.
Parameters mesh (Mesh, (never None)) – Mesh to remove.
tag(value)
tag
Parameters value (boolean) – Value

2.4. Types ([Link]) 199


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.46 BlendDataMetaBalls(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of metaballs
new(name)
Add a new metaball to the main database
Parameters name (string) – New name for the datablock.
Returns New metaball datablock.
Return type MetaBall
remove(metaball)
Remove a metaball from the current blendfile.
Parameters metaball (MetaBall, (never None)) – MetaBall to remove.
tag(value)
tag
Parameters value (boolean) – Value

200 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.47 BlendDataNodeTrees(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of node trees
new(name, type)
Add a new node tree to the main database
Parameters
• name (string) – New name for the datablock.
• type (enum in [’SHADER’, ‘COMPOSITE’, ‘TEXTURE’]) – Type, The type of
node_group to add
Returns New node tree datablock.
Return type NodeTree
remove(tree)
Remove a node tree from the current blendfile.
Parameters tree (NodeTree, (never None)) – Node tree to remove.
tag(value)
tag

2.4. Types ([Link]) 201


Blender Index, Release 2.57.0 r36138 - API

Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• BlendData.node_groups

2.4.48 BlendDataObjects(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of objects
new(name, object_data)
Add a new object to the main database
Parameters
• name (string) – New name for the datablock.
• object_data (ID) – Object data or None for an empty object.
Returns New object datablock.
Return type Object
remove(object)
Remove a object from the current blendfile.
Parameters object (Object, (never None)) – Object to remove.

202 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.49 BlendDataParticles(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of particle settings
new(name)
Add a new particle settings instance to the main database
Parameters name (string) – New name for the datablock.
Returns New particle settings datablock.
Return type ParticleSettings
remove(particle)
Remove a particle settings instance from the current blendfile.
Parameters particle (ParticleSettings, (never None)) – Particle Settings to remove.
tag(value)
tag

2.4. Types ([Link]) 203


Blender Index, Release 2.57.0 r36138 - API

Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.50 BlendDataScenes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of scenes
new(name)
Add a new scene to the main database
Parameters name (string) – New name for the datablock.
Returns New scene datablock.
Return type Scene
remove(scene)
Remove a scene from the current blendfile.
Parameters scene (Scene, (never None)) – Scene to remove.

Inherited Properties

• bpy_struct.id_data

204 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.51 BlendDataScreens(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of screens
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

2.4. Types ([Link]) 205


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.52 BlendDataSounds(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of sounds
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

206 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.53 BlendDataTexts(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of texts
new(name)
Add a new text to the main database
Parameters name (string) – New name for the datablock.
Returns New text datablock.
Return type Text
remove(text)
Remove a text from the current blendfile.
Parameters text (Text, (never None)) – Text to remove.
load(filepath)
Add a new text to the main database from a file
Parameters filepath (string) – path for the datablock.
Returns New text datablock.
Return type Text
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 207


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.54 BlendDataTextures(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of groups
new(name, type)
Add a new texture to the main database
Parameters
• name (string) – New name for the datablock.
• type (enum in [’NONE’, ‘BLEND’, ‘CLOUDS’, ‘DISTORTED_NOISE’, ‘ENVI-
RONMENT_MAP’, ‘IMAGE’, ‘MAGIC’, ‘MARBLE’, ‘MUSGRAVE’, ‘NOISE’,
‘POINT_DENSITY’, ‘STUCCI’, ‘VORONOI’, ‘VOXEL_DATA’, ‘WOOD’]) – Type,
The type of texture to add
Returns New texture datablock.
Return type Texture
remove(texture)
Remove a texture from the current blendfile.
Parameters texture (Texture, (never None)) – Texture to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

208 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.55 BlendDataWindowManagers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of window managers
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• BlendData.window_managers

2.4. Types ([Link]) 209


Blender Index, Release 2.57.0 r36138 - API

2.4.56 BlendDataWorlds(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of worlds
new(name)
Add a new world to the main database
Parameters name (string) – New name for the datablock.
Returns New world datablock.
Return type World
remove(world)
Remove a world from the current blendfile.
Parameters world (World, (never None)) – World to remove.
tag(value)
tag
Parameters value (boolean) – Value

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

210 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.57 BlendTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural color blending texture
progression
Sets the style of the color blending
Type enum in [’LINEAR’, ‘QUADRATIC’, ‘EASING’, ‘DIAGONAL’, ‘SPHERICAL’,
‘QUADRATIC_SPHERE’, ‘RADIAL’], default ‘LINEAR’
use_flip_axis
Flips the texture’s X and Y axis
Type enum in [’HORIZONTAL’, ‘VERTICAL’], default ‘HORIZONTAL’
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 211


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.58 BlenderRNA(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Blender RNA structure definitions
structs
Type bpy_prop_collection of Struct, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

212 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.59 BoidRule(bpy_struct)

base class — bpy_struct


subclasses — BoidRuleAvoidCollision, BoidRuleAverageSpeed, BoidRuleAvoid,
BoidRuleFight, BoidRuleFollowLeader, BoidRuleGoal
class [Link](bpy_struct)

name
Boid rule name
Type string, default “”
type
Type enum in [’GOAL’, ‘AVOID’, ‘AVOID_COLLISION’, ‘SEPARATE’, ‘FLOCK’, ‘FOL-
LOW_LEADER’, ‘AVERAGE_SPEED’, ‘FIGHT’], default ‘GOAL’, (readonly)
use_in_air
Use rule when boid is flying
Type boolean, default False
use_on_land
Use rule when boid is on land
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• BoidSettings.active_boid_state

2.4. Types ([Link]) 213


Blender Index, Release 2.57.0 r36138 - API

• BoidState.active_boid_rule
• [Link]

2.4.60 BoidRuleAverageSpeed(BoidRule)

base classes — bpy_struct, BoidRule


class [Link](BoidRule)

level
How much velocity’s z-component is kept constant
Type float in [0, 1], default 0.0
speed
Percentage of maximum speed
Type float in [0, 1], default 0.0
wander
How fast velocity’s direction is randomized
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• BoidRule.use_in_air
• BoidRule.use_on_land
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

214 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.61 BoidRuleAvoid(BoidRule)

base classes — bpy_struct, BoidRule


class [Link](BoidRule)

fear_factor
Avoid object if danger from it is above this threshold
Type float in [0, 100], default 0.0
object
Object to avoid
Type Object
use_predict
Predict target movement
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• BoidRule.use_in_air
• BoidRule.use_on_land
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.62 BoidRuleAvoidCollision(BoidRule)

base classes — bpy_struct, BoidRule


class [Link](BoidRule)

2.4. Types ([Link]) 215


Blender Index, Release 2.57.0 r36138 - API

look_ahead
Time to look ahead in seconds
Type float in [0, 100], default 0.0
use_avoid
Avoid collision with other boids
Type boolean, default False
use_avoid_collision
Avoid collision with deflector objects
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• BoidRule.use_in_air
• BoidRule.use_on_land
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.63 BoidRuleFight(BoidRule)

base classes — bpy_struct, BoidRule


class [Link](BoidRule)

distance
Attack boids at max this distance
Type float in [0, 100], default 0.0
flee_distance
Flee to this distance

216 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 100], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• BoidRule.use_in_air
• BoidRule.use_on_land
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.64 BoidRuleFollowLeader(BoidRule)

base classes — bpy_struct, BoidRule


class [Link](BoidRule)

distance
Distance behind leader to follow
Type float in [0, 100], default 0.0
object
Follow this object instead of a boid
Type Object
queue_count
How many boids in a line
Type int in [0, 100], default 0
use_line
Follow leader in a line
Type boolean, default False

2.4. Types ([Link]) 217


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• BoidRule.use_in_air
• BoidRule.use_on_land
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.65 BoidRuleGoal(BoidRule)

base classes — bpy_struct, BoidRule


class [Link](BoidRule)

object
Goal object
Type Object
use_predict
Predict target movement
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• BoidRule.use_in_air
• BoidRule.use_on_land
• [Link]

218 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.66 BoidSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings for boid physics
accuracy
Accuracy of attack
Type float in [0, 1], default 0.0
active_boid_state
Type BoidRule, (readonly)
active_boid_state_index
Type int in [0, inf], default 0
aggression
Boid will fight this times stronger enemy
Type float in [0, 100], default 0.0
air_acc_max
Maximum acceleration in air (relative to maximum speed)
Type float in [0, 1], default 0.0
air_ave_max
Maximum angular velocity in air (relative to 180 degrees)
Type float in [0, 1], default 0.0
air_personal_space
Radius of boids personal space in air (% of particle size)
Type float in [0, 10], default 0.0
air_speed_max
Maximum speed in air

2.4. Types ([Link]) 219


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 100], default 0.0


air_speed_min
Minimum speed in air (relative to maximum speed)
Type float in [0, 1], default 0.0
bank
Amount of rotation around velocity vector on turns
Type float in [0, 2], default 0.0
health
Initial boid health when born
Type float in [0, 100], default 0.0
height
Boid height relative to particle size
Type float in [0, 2], default 0.0
land_acc_max
Maximum acceleration on land (relative to maximum speed)
Type float in [0, 1], default 0.0
land_ave_max
Maximum angular velocity on land (relative to 180 degrees)
Type float in [0, 1], default 0.0
land_jump_speed
Maximum speed for jumping
Type float in [0, 100], default 0.0
land_personal_space
Radius of boids personal space on land (% of particle size)
Type float in [0, 10], default 0.0
land_smooth
How smoothly the boids land
Type float in [0, 10], default 0.0
land_speed_max
Maximum speed on land
Type float in [0, 100], default 0.0
land_stick_force
How strong a force must be to start effecting a boid on land
Type float in [0, 1000], default 0.0
pitch
Amount of rotation around side vector
Type float in [0, 2], default 0.0
range
The maximum distance from which a boid can attack
Type float in [0, 100], default 0.0

220 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

states
Type bpy_prop_collection of BoidState, (readonly)
strength
Maximum caused damage on attack per second
Type float in [0, 100], default 0.0
use_climb
Allow boids to climb goal objects
Type boolean, default False
use_flight
Allow boids to move in air
Type boolean, default False
use_land
Allow boids to move on land
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.67 BoidState(bpy_struct)

base class — bpy_struct

2.4. Types ([Link]) 221


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
Boid state for boid physics
active_boid_rule
Type BoidRule, (readonly)
active_boid_rule_index
Type int in [0, inf], default 0
falloff
Type float in [0, 10], default 0.0
name
Boid state name
Type string, default “”
rule_fuzzy
Type float in [0, 1], default 0.0
rules
Type bpy_prop_collection of BoidRule, (readonly)
ruleset_type
How the rules in the list are evaluated
Type enum in [’FUZZY’, ‘RANDOM’, ‘AVERAGE’], default ‘FUZZY’
volume
Type float in [0, 100], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

222 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.68 Bone(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Bone in an Armature datablock
bbone_in
Length of first Bezier Handle (for B-Bones only)
Type float in [0, 2], default 0.0
bbone_out
Length of second Bezier Handle (for B-Bones only)
Type float in [0, 2], default 0.0
bbone_segments
Number of subdivisions of bone (for B-Bones only)
Type int in [1, 32], default 0
bbone_x
B-Bone X size
Type float in [0, 1000], default 0.0
bbone_z
B-Bone Z size
Type float in [0, 1000], default 0.0
children
Bones which are children of this bone
Type bpy_prop_collection of Bone, (readonly)
envelope_distance
Bone deformation distance (for Envelope deform only)
Type float in [0, 1000], default 0.0
envelope_weight
Bone deformation weight (for Envelope deform only)
Type float in [0, 1000], default 0.0
head
Location of head end of the bone relative to its parent
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
head_local
Location of head end of the bone relative to armature
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
head_radius
Radius of head of bone (for Envelope deform only)

2.4. Types ([Link]) 223


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, inf], default 0.0


hide
Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes)
Type boolean, default False
hide_select
Bone is able to be selected
Type boolean, default False
layers
Layers bone exists in
Type boolean array of 32 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False)
matrix
3x3 bone matrix
Type float array of 9 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
matrix_local
4x4 bone matrix relative to armature
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
name
Type string, default “”
parent
Parent bone (in same Armature)
Type Bone, (readonly)
select
Type boolean, default False
select_head
Type boolean, default False
select_tail
Type boolean, default False
show_wire
Bone is always drawn as Wireframe regardless of viewport draw mode. Useful for non-obstructive custom
bone shapes
Type boolean, default False
tail
Location of tail end of the bone
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
tail_local
Location of tail end of the bone relative to armature
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

224 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

tail_radius
Radius of tail of bone (for Envelope deform only)
Type float in [0, inf], default 0.0
use_connect
When bone has a parent, bone’s head is struck to the parent’s tail
Type boolean, default False, (readonly)
use_cyclic_offset
When bone doesn’t have a parent, it receives cyclic offset effects
Type boolean, default False
use_deform
Bone does not deform any geometry
Type boolean, default False
use_envelope_multiply
When deforming bone, multiply effects of Vertex Group weights with Envelope influence
Type boolean, default False
use_inherit_rotation
Bone inherits rotation or scale from parent bone
Type boolean, default False
use_inherit_scale
Bone inherits scaling from parent bone
Type boolean, default False
use_local_location
Bone location is set in local space
Type boolean, default False
basename
The name of this bone before any ‘.’ character (readonly)
center
The midpoint between the head and the tail. (readonly)
children
A list of all the bones children. (readonly)
children_recursive
a list of all children from this bone. (readonly)
children_recursive_basename
Returns a chain of children with the same base name as this bone Only direct chains are supported, forks
caused by multiple children with matching basenames will terminate the function and not be returned.
(readonly)
length
The distance from head to tail, when set the head is moved to fit the length.
parent_recursive
A list of parents, starting with the immediate parent (readonly)
vector
The direction this bone is pointing. Utility function for (tail - head) (readonly)

2.4. Types ([Link]) 225


Blender Index, Release 2.57.0 r36138 - API

x_axis
Vector pointing down the x-axis of the bone.
(readonly)
y_axis
Vector pointing down the x-axis of the bone.
(readonly)
z_axis
Vector pointing down the x-axis of the bone.
(readonly)
evaluate_envelope(point)
Calculate bone envelope at given point.
Parameters point (float array of 3 items in [-inf, inf]) – Point, Position in 3d space to evaluate
Returns Factor, Envelope factor
Return type float in [-inf, inf]
parent_index(parent_test)
The same as ‘bone in other_bone.parent_recursive’ but saved generating a list.
translate(vec)
Utility function to add vec to the head and tail of this bone.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

226 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

2.4.69 BoneGroup(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Groups of Pose Channels (Bones)
color_set
Custom color set to use
Type enum in [’DEFAULT’, ‘THEME01’, ‘THEME02’, ‘THEME03’, ‘THEME04’,
‘THEME05’, ‘THEME06’, ‘THEME07’, ‘THEME08’, ‘THEME09’, ‘THEME10’,
‘THEME11’, ‘THEME12’, ‘THEME13’, ‘THEME14’, ‘THEME15’, ‘THEME16’,
‘THEME17’, ‘THEME18’, ‘THEME19’, ‘THEME20’, ‘CUSTOM’], default ‘DEFAULT’
colors
Copy of the colors associated with the group’s color set
Type ThemeBoneColorSet, (readonly, never None)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4. Types ([Link]) 227


Blender Index, Release 2.57.0 r36138 - API

• Pose.bone_groups
• PoseBone.bone_group

2.4.70 BoneGroups(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of bone groups
active
Active bone group for this pose
Type BoneGroup
active_index
Active index in bone groups array
Type int in [-inf, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Pose.bone_groups

2.4.71 BooleanModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Boolean operations modifier

228 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

object
Mesh object to use for Boolean operation
Type Object
operation
Type enum in [’INTERSECT’, ‘UNION’, ‘DIFFERENCE’], default ‘INTERSECT’

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.72 BooleanProperty(Property)

base classes — bpy_struct, Property


class [Link](Property)
RNA boolean property definition
array_length
Maximum length of the array, 0 means unlimited
Type int in [0, inf], default 0, (readonly)
default
Default value for this number

2.4. Types ([Link]) 229


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False, (readonly)


default_array
Default value for this array
Type boolean array of 3 items, default (False, False, False), (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden
• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.73 Brush(ID)

base classes — bpy_struct, ID


class [Link](ID)
Brush datablock for storing brush settings for painting and sculpting

230 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

auto_smooth_factor
Amount of smoothing to automatically apply to each stroke
Type float in [0, 1], default 0.0
blend
Brush blending mode
Type enum in [’MIX’, ‘ADD’, ‘SUB’, ‘MUL’, ‘LIGHTEN’, ‘DARKEN’, ‘ERASE_ALPHA’,
‘ADD_ALPHA’], default ‘MIX’
clone_alpha
Opacity of clone image display
Type float in [0, 1], default 0.0
clone_image
Image for clone tool
Type Image
clone_offset
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
color
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
crease_pinch_factor
How much the crease brush pinches
Type float in [0, 1], default 0.666667
cursor_color_add
Color of cursor when adding
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
cursor_color_subtract
Color of cursor when subtracting
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
curve
Editable falloff curve
Type CurveMapping, (readonly, never None)
direction
Type enum in [’ADD’, ‘SUBTRACT’], default ‘ADD’
height
Affectable height of brush (layer height for layer tool, i.e.)
Type float in [0, 1], default 0.5
icon_filepath
File path to brush icon
Type string, default “”
image_tool
Type enum in [’DRAW’, ‘SOFTEN’, ‘SMEAR’, ‘CLONE’], default ‘DRAW’

2.4. Types ([Link]) 231


Blender Index, Release 2.57.0 r36138 - API

jitter
Jitter the position of the brush while painting
Type float in [0, 1], default 0.0
normal_weight
How much grab will pull vertexes out of surface during a grab
Type float in [0, 1], default 0.0
plane_offset
Adjusts plane on which the brush acts towards or away from the object surface
Type float in [-2, 2], default 0.0
plane_trim
If a vertex is further from offset plane than this then it is not affected
Type float in [0, 1], default 0.5
rate
Interval between paints for Airbrush
Type float in [0.0001, 10000], default 0.0
sculpt_plane
Type enum in [’AREA’, ‘VIEW’, ‘X’, ‘Y’, ‘Z’], default ‘AREA’
sculpt_tool
Type enum in [’BLOB’, ‘CLAY’, ‘CREASE’, ‘DRAW’, ‘FILL’, ‘FLATTEN’, ‘GRAB’,
‘INFLATE’, ‘LAYER’, ‘NUDGE’, ‘PINCH’, ‘ROTATE’, ‘SCRAPE’, ‘SMOOTH’,
‘SNAKE_HOOK’, ‘THUMB’], default ‘BLOB’
size
Radius of the brush in pixels
Type int in [1, 2000], default 0
smooth_stroke_factor
Higher values give a smoother stroke
Type float in [0.5, 0.99], default 0.0
smooth_stroke_radius
Minimum distance from last point before stroke continues
Type int in [10, 200], default 0
spacing
Spacing between brush daubs as a percentage of brush diameter
Type int in [1, 1000], default 0
strength
How powerful the effect of the brush is when applied
Type float in [0, 10], default 0.5
stroke_method
Type enum in [’DOTS’, ‘DRAG_DOT’, ‘SPACE’, ‘ANCHORED’, ‘AIRBRUSH’], default
‘DOTS’
texture

232 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type Texture
texture_angle_source_no_random
Type enum in [’USER’, ‘RAKE’], default ‘USER’
texture_angle_source_random
Type enum in [’USER’, ‘RAKE’, ‘RANDOM’], default ‘USER’
texture_overlay_alpha
Type int in [1, 100], default 0
texture_sample_bias
Value added to texture samples
Type float in [-1, 1], default 0.0
texture_slot
Type BrushTextureSlot, (readonly)
unprojected_radius
Radius of brush in Blender units
Type float in [0.001, inf], default 0.0
use_accumulate
Accumulate stroke dabs on top of each other
Type boolean, default False
use_adaptive_space
Space daubs according to surface orientation instead of screen space
Type boolean, default False
use_airbrush
Keep applying paint effect while holding mouse (spray)
Type boolean, default False
use_alpha
When this is disabled, lock alpha while painting
Type boolean, default False
use_anchor
Keep the brush anchored to the initial location
Type boolean, default False
use_custom_icon
Set the brush icon from an image file
Type boolean, default False
use_edge_to_edge
Drag anchor brush from edge-to-edge
Type boolean, default False
use_fixed_texture
Keep texture origin in fixed position
Type boolean, default False

2.4. Types ([Link]) 233


Blender Index, Release 2.57.0 r36138 - API

use_frontface
Brush only affects vertexes that face the viewer
Type boolean, default False
use_inverse_smooth_pressure
Lighter pressure causes more smoothing to be applied
Type boolean, default False
use_locked_size
When locked brush stays same size relative to object; when unlocked brush size is given in pixels
Type boolean, default False
use_offset_pressure
Enable tablet pressure sensitivity for offset
Type boolean, default False
use_original_normal
When locked keep using normal of surface where stroke was initiated
Type boolean, default False
use_paint_image
Use this brush in texture paint mode
Type boolean, default False
use_paint_sculpt
Use this brush in sculpt mode
Type boolean, default False
use_paint_vertex
Use this brush in vertex paint mode
Type boolean, default False
use_paint_weight
Use this brush in weight paint mode
Type boolean, default False
use_persistent
Sculpts on a persistent layer of the mesh
Type boolean, default False
use_plane_trim
Enable Plane Trim
Type boolean, default False
use_pressure_jitter
Enable tablet pressure sensitivity for jitter
Type boolean, default False
use_pressure_size
Enable tablet pressure sensitivity for size
Type boolean, default False
use_pressure_spacing
Enable tablet pressure sensitivity for spacing

234 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_pressure_strength
Enable tablet pressure sensitivity for strength
Type boolean, default False
use_rake
Rotate the brush texture to match the stroke direction
Type boolean, default False
use_random_rotation
Rotate the brush texture at random
Type boolean, default False
use_restore_mesh
Allows a single dot to be carefully positioned
Type boolean, default False
use_smooth_stroke
Brush lags behind mouse and follows a smoother path
Type boolean, default False
use_space
Limit brush application to the distance specified by spacing
Type boolean, default False
use_space_atten
Automatically adjusts strength to give consistent results for different spacings
Type boolean, default False
use_texture_overlay
Show texture in viewport
Type boolean, default False
use_wrap
Enable torus wrapping while painting
Type boolean, default False
vertex_tool
Type enum in [’MIX’, ‘ADD’, ‘SUB’, ‘MUL’, ‘BLUR’, ‘LIGHTEN’, ‘DARKEN’], default
‘MIX’

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 235


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]

2.4.74 BrushTextureSlot(TextureSlot)

base classes — bpy_struct, TextureSlot


class [Link](TextureSlot)
Texture slot for textures in a Brush datablock
angle
Defines brush texture rotation
Type float in [0, 6.28319], default 0.0
map_mode
Type enum in [’FIXED’, ‘TILED’, ‘3D’], default ‘FIXED’

Inherited Properties

• bpy_struct.id_data
• [Link]
• TextureSlot.blend_type
• [Link]

236 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• TextureSlot.default_value
• [Link]
• [Link]
• TextureSlot.output_node
• TextureSlot.use_rgb_to_intensity
• [Link]
• TextureSlot.use_stencil
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Brush.texture_slot

2.4.75 BuildModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Build effect modifier
frame_duration
Specify the total time the build effect requires
Type float in [1, 300000], default 0.0
frame_start
Specify the start frame of the effect
Type float in [-300000, 300000], default 0.0
seed
Specify the seed for random if used
Type int in [1, 300000], default 0

2.4. Types ([Link]) 237


Blender Index, Release 2.57.0 r36138 - API

use_random_order
Randomize the faces or edges during build
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.76 Camera(ID)

base classes — bpy_struct, ID


class [Link](ID)
Camera datablock for storing camera settings
angle
Perspective Camera lens field of view in degrees
Type float in [0.00640536, 3.01675], default 0.0
animation_data
Animation data for this datablock
Type AnimData, (readonly)
clip_end
Camera far clipping distance

238 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [1, inf], default 0.0


clip_start
Camera near clipping distance
Type float in [0, inf], default 0.0
dof_distance
Distance to the focus point for depth of field
Type float in [0, 5000], default 0.0
dof_object
Use this object to define the depth of field focal point
Type Object
draw_size
Apparent size of the Camera object in the 3D View
Type float in [0.01, 1000], default 0.0
lens
Perspective Camera lens value in millimeters
Type float in [1, 5000], default 0.0
lens_unit
Unit to edit lens in for the user interface
Type enum in [’MILLIMETERS’, ‘DEGREES’], default ‘MILLIMETERS’
ortho_scale
Orthographic Camera scale (similar to zoom)
Type float in [0.01, 1000], default 0.0
passepartout_alpha
Opacity (alpha) of the darkened overlay in Camera view
Type float in [0, 1], default 0.0
shift_x
Perspective Camera horizontal shift
Type float in [-10, 10], default 0.0
shift_y
Perspective Camera vertical shift
Type float in [-10, 10], default 0.0
show_limits
Draw the clipping range and focus point on the camera
Type boolean, default False
show_mist
Draw a line from the Camera to indicate the mist area
Type boolean, default False
show_name
Show the active Camera’s name in Camera view
Type boolean, default False

2.4. Types ([Link]) 239


Blender Index, Release 2.57.0 r36138 - API

show_passepartout
Show a darkened overlay outside the image area in Camera view
Type boolean, default False
show_title_safe
Show indicators for the title safe zone in Camera view
Type boolean, default False
type
Camera types
Type enum in [’PERSP’, ‘ORTHO’], default ‘PERSP’
use_panorama
Render the scene with a cylindrical camera for pseudo-fisheye lens effects
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

240 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]

2.4.77 CameraActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to ..
axis
Specify the axis the Camera will try to get behind
Type enum in [’X’, ‘Y’], default ‘X’
height
Type float in [-inf, inf], default 0.0
max
Type float in [-inf, inf], default 0.0
min
Type float in [-inf, inf], default 0.0
object
Look at this Object
Type Object

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

2.4. Types ([Link]) 241


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.78 CastModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Cast modifier to cast to other shapes
cast_type
Type enum in [’SPHERE’, ‘CYLINDER’, ‘CUBOID’], default ‘SPHERE’
factor
Type float in [-inf, inf], default 0.0
object
Control object: if available, its location determines the center of the effect
Type Object
radius
Only deform vertices within this distance from the center of the effect (leave as 0 for infinite.)
Type float in [0, inf], default 0.0
size
Size of projection shape (leave as 0 for auto.)
Type float in [0, inf], default 0.0
use_radius_as_size
Use radius as size of projection shape (0 = auto)
Type boolean, default False
use_transform
Use object transform to control projection shape
Type boolean, default False
use_x
Type boolean, default False
use_y
Type boolean, default False
use_z
Type boolean, default False
vertex_group
Vertex group name
Type string, default “”

242 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.79 ChannelDriverVariables(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of channel driver Variables
new()
Add a new variable for the driver.
Returns Newly created Driver Variable.
Return type DriverVariable
remove(variable)
Remove an existing variable from the driver.
Parameters variable (DriverVariable, (never None)) – Variable to remove from the driver.

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 243


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.80 ChildOfConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Creates constraint-based parent-child relationship
subtarget
Type string, default “”
target
Target Object
Type Object
use_location_x
Use X Location of Parent
Type boolean, default False
use_location_y
Use Y Location of Parent
Type boolean, default False
use_location_z
Use Z Location of Parent
Type boolean, default False
use_rotation_x
Use X Rotation of Parent
Type boolean, default False

244 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_rotation_y
Use Y Rotation of Parent
Type boolean, default False
use_rotation_z
Use Z Rotation of Parent
Type boolean, default False
use_scale_x
Use X Scale of Parent
Type boolean, default False
use_scale_y
Use Y Scale of Parent
Type boolean, default False
use_scale_z
Use Z Scale of Parent
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 245


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

2.4.81 ChildParticle(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Child particle interpolated from simulated or edited particles

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ParticleSystem.child_particles

2.4.82 ClampToConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Constrains an object’s location to the nearest point along the target path
main_axis
Main axis of movement
Type enum in [’CLAMPTO_AUTO’, ‘CLAMPTO_X’, ‘CLAMPTO_Y’, ‘CLAMPTO_Z’], de-
fault ‘CLAMPTO_AUTO’
target
Target Object

246 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type Object
use_cyclic
Treat curve as cyclic curve (no clamping to curve bounding box
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.83 ClothCollisionSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Cloth simulation settings for self collision and collision with other objects
collision_quality
How many collision iterations should be done. (higher is better quality but slower)
Type int in [1, 20], default 0

2.4. Types ([Link]) 247


Blender Index, Release 2.57.0 r36138 - API

distance_min
Minimum distance between collision objects before collision response takes in
Type float in [0.001, 1], default 0.0
friction
Friction force if a collision happened. (higher = less movement)
Type float in [0, 80], default 0.0
group
Limit colliders to this Group
Type Group
self_collision_quality
How many self collision iterations should be done. (higher is better quality but slower)
Type int in [1, 10], default 0
self_distance_min
0.5 means no distance at all, 1.0 is maximum distance
Type float in [0.5, 1], default 0.0
self_friction
Friction/damping with self contact
Type float in [0, 80], default 0.0
use_collision
Enable collisions with other objects
Type boolean, default False
use_self_collision
Enable self collisions
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

248 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• ClothModifier.collision_settings

2.4.84 ClothModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Cloth simulation modifier
collision_settings
Type ClothCollisionSettings, (readonly, never None)
point_cache
Type PointCache, (readonly, never None)
settings
Type ClothSettings, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 249


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.85 ClothSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Cloth simulation settings for an object
air_damping
Air has normally some thickness which slows falling things down
Type float in [0, 10], default 0.0
bending_stiffness
Wrinkle coefficient. (higher = less smaller but more big wrinkles)
Type float in [0, 10000], default 0.0
bending_stiffness_max
Maximum bending stiffness value
Type float in [0, 10000], default 0.0
collider_friction
Type float in [0, 1], default 0.0
effector_weights
Type EffectorWeights, (readonly)
goal_default
Default Goal (vertex target position) value, when no Vertex Group used
Type float in [0, 1], default 0.0
goal_friction
Goal (vertex target position) friction
Type float in [0, 50], default 0.0
goal_max
Goal maximum, vertex group weights are scaled to match this range
Type float in [0, 1], default 0.0
goal_min
Goal minimum, vertex group weights are scaled to match this range
Type float in [0, 1], default 0.0
goal_spring
Goal (vertex target position) spring stiffness
Type float in [0, 0.999], default 0.0

250 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

gravity
Gravity or external force vector
Type float array of 3 items in [-100, 100], default (0.0, 0.0, 0.0)
internal_friction
Type float in [0, 1], default 0.0
mass
Mass of cloth material
Type float in [0, 10], default 0.0
pin_stiffness
Pin (vertex target position) spring stiffness
Type float in [0, 50], default 0.0
pre_roll
Simulation starts on this frame
Type int in [0, 200], default 0
quality
Quality of the simulation in steps per frame. (higher is better quality but slower)
Type int in [4, 80], default 0
rest_shape_key
Shape key to use the rest spring lengths from
Type ShapeKey
spring_damping
Damping of cloth velocity. (higher = more smooth, less jiggling)
Type float in [0, 50], default 0.0
structural_stiffness
Overall stiffness of structure
Type float in [0, 10000], default 0.0
structural_stiffness_max
Maximum structural stiffness value
Type float in [0, 10000], default 0.0
use_pin_cloth
Enable pinning of cloth vertices to other objects/positions
Type boolean, default False
use_stiffness_scale
If enabled, stiffness can be scaled along a weight painted vertex group
Type boolean, default False
vertex_group_bending
Vertex group for fine control over bending stiffness
Type string, default “”
vertex_group_mass
Vertex Group for pinning of vertices

2.4. Types ([Link]) 251


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


vertex_group_structural_stiffness
Vertex group for fine control over structural stiffness
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.86 CloudsTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural noise texture
cloud_type
Type enum in [’GREYSCALE’, ‘COLOR’], default ‘GREYSCALE’
nabla
Size of derivative offset used for calculating normal
Type float in [0.001, 0.1], default 0.0
noise_basis
Sets the noise basis used for turbulence

252 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,


‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_depth
Sets the depth of the cloud calculation
Type int in [0, 30], default 0
noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
noise_type
Type enum in [’SOFT_NOISE’, ‘HARD_NOISE’], default ‘SOFT_NOISE’
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

2.4. Types ([Link]) 253


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.87 CollectionProperty(Property)

base classes — bpy_struct, Property


class [Link](Property)
RNA collection property to define lists, arrays and mappings
fixed_type
Fixed pointer type, empty if variable type
Type Struct, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden
• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

254 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.88 CollisionModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Collision modifier defining modifier stack position used for collision
settings
Type CollisionSettings, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 255


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.89 CollisionSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect objects colliding with the current object, with more settings than the Touch sensor
material
Only look for Objects with this material (blank = all objects)
Type string, default “”
property
Only look for Objects with this property (blank = all objects)
Type string, default “”
use_material
Toggle collision on material or property
Type boolean, default False
use_pulse
Changes to the set of colliding objects generates pulse
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

256 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.90 CollisionSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collision settings for object in physics simulation
absorption
How much of effector force gets lost during collision with this object (in percent)
Type float in [0, 1], default 0.0
damping
Amount of damping during collision
Type float in [0, 1], default 0.0
damping_factor
Amount of damping during particle collision
Type float in [0, 1], default 0.0
damping_random
Random variation of damping
Type float in [0, 1], default 0.0
friction_factor
Amount of friction during particle collision
Type float in [0, 1], default 0.0
friction_random
Random variation of friction
Type float in [0, 1], default 0.0
permeability
Chance that the particle will pass through the mesh
Type float in [0, 1], default 0.0
stickness
Amount of stickness to surface collision
Type float in [0, 10], default 0.0

2.4. Types ([Link]) 257


Blender Index, Release 2.57.0 r36138 - API

thickness_inner
Inner face thickness
Type float in [0.001, 1], default 0.0
thickness_outer
Outer face thickness
Type float in [0.001, 1], default 0.0
use
Enable this objects as a collider for physics systems
Type boolean, default False
use_particle_kill
Kill collided particles
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.91 ColorRamp(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Color ramp mapping a scalar value to a color

258 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

elements
Type ColorRampElements bpy_prop_collection of ColorRampElement, (read-
only)
interpolation
Type enum in [’EASE’, ‘CARDINAL’, ‘LINEAR’, ‘B_SPLINE’, ‘CONSTANT’], default
‘LINEAR’
evaluate(position)
Evaluate ColorRamp
Parameters position (float in [0, 1]) – Position, Evaluate ColorRamp at position
Returns Color, Color at given position
Return type float array of 4 items in [-inf, inf]

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• CompositorNodeValToRGB.color_ramp
• Material.diffuse_ramp
• Material.specular_ramp
• PointDensity.color_ramp
• ShaderNodeValToRGB.color_ramp
• Texture.color_ramp
• TextureNodeValToRGB.color_ramp
• UserPreferencesSystem.weight_color_range

2.4. Types ([Link]) 259


Blender Index, Release 2.57.0 r36138 - API

2.4.92 ColorRampElement(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Element defining a color at a position in the color ramp
color
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
position
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.93 ColorRampElements(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of Color Ramp Elements
new(position)
Add element to ColorRamp

260 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters position (float in [0, 1]) – Position, Position to add element


Returns New element.
Return type ColorRampElement
remove(element)
Delete element from ColorRamp
Parameters element (ColorRampElement, (never None)) – Element to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.94 ColorSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence


class [Link](EffectSequence)
Sequence strip creating an image filled with a single g
color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data
• [Link]

2.4. Types ([Link]) 261


Blender Index, Release 2.57.0 r36138 - API

• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count
• EffectSequence.color_balance
• EffectSequence.use_float
• [Link]
• EffectSequence.use_deinterlace
• EffectSequence.use_reverse_frames
• EffectSequence.use_flip_x
• EffectSequence.use_flip_y
• EffectSequence.color_multiply
• EffectSequence.use_premultiply
• [Link]
• EffectSequence.use_proxy_custom_directory
• EffectSequence.use_proxy_custom_file
• EffectSequence.color_saturation
• [Link]
• [Link]
• EffectSequence.use_color_balance
• EffectSequence.use_crop
• EffectSequence.use_proxy
• EffectSequence.use_translation

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

262 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.95 CompositorNode(Node)

base classes — bpy_struct, Node


subclasses — CompositorNodeSepHSVA, CompositorNodeValToRGB, CompositorNodeSepYCCA,
CompositorNodeSetAlpha, CompositorNodeCrop, CompositorNodeMath,
CompositorNodeCurveRGB, CompositorNodeDilateErode, CompositorNodeGamma,
CompositorNodeRotate, CompositorNodeLensdist, CompositorNodeLumaMatte,
CompositorNodeTranslate, CompositorNodeCombYCCA, CompositorNodeBilateralblur,
CompositorNodeZcombine, CompositorNodeFilter, CompositorNodePremulKey,
CompositorNodeMixRGB, CompositorNodeTime, CompositorNodeValue,
CompositorNodeHueCorrect, CompositorNodeNormal, CompositorNodeIDMask,
CompositorNodeVecBlur, CompositorNodeRLayers, CompositorNodeComposite,
CompositorNodeCombRGBA, CompositorNodeViewer, CompositorNodeCombHSVA,
CompositorNodeOutputFile, CompositorNodeInvert, CompositorNodeFlip,
CompositorNodeDistanceMatte, CompositorNodeRGBToBW, CompositorNodeCombYUVA,
CompositorNodeBlur, CompositorNodeDefocus, CompositorNodeGlare,
CompositorNodeDiffMatte, CompositorNodeImage, CompositorNodeDBlur,
CompositorNodeMapValue, CompositorNodeBrightContrast, CompositorNodeTexture,
CompositorNodeLevels, CompositorNodeNormalize, CompositorNodeChannelMatte,
CompositorNodeRGB, CompositorNodeColorSpill, CompositorNodeSepRGBA,
CompositorNodeScale, CompositorNodeMapUV, CompositorNodeChromaMatte,
CompositorNodeDisplace, CompositorNodeColorBalance, CompositorNodeTonemap,
CompositorNodeAlphaOver, CompositorNodeColorMatte, CompositorNodeHueSat,
CompositorNodeSepYUVA, CompositorNodeCurveVec, CompositorNodeSplitViewer
class [Link](Node)

type
Type enum in [’VIEWER’, ‘RGB’, ‘VALUE’, ‘MIX_RGB’, ‘VALTORGB’, ‘RG-
BTOBW’, ‘NORMAL’, ‘CURVE_VEC’, ‘CURVE_RGB’, ‘ALPHAOVER’, ‘BLUR’,
‘FILTER’, ‘MAP_VALUE’, ‘TIME’, ‘VECBLUR’, ‘SEPRGBA’, ‘SEPHSVA’, ‘SE-
TALPHA’, ‘HUE_SAT’, ‘IMAGE’, ‘R_LAYERS’, ‘COMPOSITE’, ‘OUTPUT_FILE’,
‘TEXTURE’, ‘TRANSLATE’, ‘ZCOMBINE’, ‘COMBRGBA’, ‘DILATEERODE’,
‘ROTATE’, ‘SCALE’, ‘SEPYCCA’, ‘COMBYCCA’, ‘SEPYUVA’, ‘COMBYUVA’,
‘DIFF_MATTE’, ‘COLOR_SPILL’, ‘CHROMA_MATTE’, ‘CHANNEL_MATTE’, ‘FLIP’,
‘SPLITVIEWER’, ‘MAP_UV’, ‘ID_MASK’, ‘DEFOCUS’, ‘DISPLACE’, ‘COMBHSVA’,
‘MATH’, ‘LUMA_MATTE’, ‘BRIGHTCONTRAST’, ‘GAMMA’, ‘INVERT’, ‘NORMAL-
IZE’, ‘CROP’, ‘DBLUR’, ‘BILATERALBLUR’, ‘PREMULKEY’, ‘DISTANCE_MATTE’,

2.4. Types ([Link]) 263


Blender Index, Release 2.57.0 r36138 - API

‘LEVELS’, ‘COLOR_MATTE’, ‘COLORBALANCE’, ‘HUECORRECT’, ‘GLARE’,


‘TONEMAP’, ‘LENSDIST’, ‘SCRIPT’, ‘GROUP’], default ‘VIEWER’, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.96 CompositorNodeAlphaOver(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

premul
Mix Factor
Type float in [0, 1], default 0.0
use_premultiply
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]

264 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.97 CompositorNodeBilateralblur(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

iterations
Type int in [1, 128], default 0
sigma_color
Type float in [0.01, 3], default 0.0
sigma_space
Type float in [0.01, 30], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 265


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.98 CompositorNodeBlur(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

aspect_correction
Type of aspect correction to use
Type enum in [’NONE’, ‘Y’, ‘X’], default ‘NONE’
factor
Type float in [0, 2], default 0.0
factor_x
Type float in [0, 100], default 0.0
factor_y
Type float in [0, 100], default 0.0
filter_type
Type enum in [’FLAT’, ‘TENT’, ‘QUAD’, ‘CUBIC’, ‘GAUSS’, ‘FAST_GAUSS’, ‘CATROM’,
‘MITCH’], default ‘FLAT’
size_x
Type int in [0, 2048], default 0
size_y
Type int in [0, 2048], default 0
use_bokeh
Uses circular filter (slower)
Type boolean, default False

266 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_gamma_correction
Applies filter on gamma corrected values
Type boolean, default False
use_relative
Use relative (percent) values to define blur radius
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.99 CompositorNodeBrightContrast(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 267


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.100 CompositorNodeChannelMatte(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

color_space
Type enum in [’RGB’, ‘HSV’, ‘YUV’, ‘YCC’], default ‘RGB’
limit_channel
Limit by this channels value
Type enum in [’R’, ‘G’, ‘B’], default ‘R’
limit_max
Values higher than this setting are 100% opaque
Type float in [0, 1], default 0.0
limit_method
Algorithm to use to limit channel
Type enum in [’SINGLE’, ‘MAX’], default ‘SINGLE’
limit_min
Values lower than this setting are 100% keyed
Type float in [0, 1], default 0.0
matte_channel
Channel used to determine matte
Type enum in [’R’, ‘G’, ‘B’], default ‘R’

268 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.101 CompositorNodeChromaMatte(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

gain
Alpha gain
Type float in [0, 1], default 0.0
lift
Alpha lift
Type float in [0, 1], default 0.0
shadow_adjust
Adjusts the brightness of any shadows captured
Type float in [0, 1], default 0.0
threshold
Tolerance below which colors will be considered as exact matches
Type float in [0, 30], default 0.0

2.4. Types ([Link]) 269


Blender Index, Release 2.57.0 r36138 - API

tolerance
Tolerance for a color to be considered a keying color
Type float in [1, 80], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.102 CompositorNodeColorBalance(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

correction_method
Type enum in [’LIFT_GAMMA_GAIN’, ‘OFFSET_POWER_SLOPE’], default
‘LIFT_GAMMA_GAIN’
gain
Correction for Highlights
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)
gamma
Correction for Midtones
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)

270 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

lift
Correction for Shadows
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)
offset
Correction for Shadows
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
power
Correction for Midtones
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)
slope
Correction for Highlights
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.103 CompositorNodeColorMatte(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

2.4. Types ([Link]) 271


Blender Index, Release 2.57.0 r36138 - API

color_hue
Hue tolerance for colors to be considered a keying color
Type float in [0, 1], default 0.0
color_saturation
Saturation Tolerance for the color
Type float in [0, 1], default 0.0
color_value
Value Tolerance for the color
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.104 CompositorNodeColorSpill(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

channel
Type enum in [’R’, ‘G’, ‘B’], default ‘R’
limit_channel

272 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’R’, ‘G’, ‘B’], default ‘R’


limit_method
Type enum in [’SIMPLE’, ‘AVERAGE’], default ‘SIMPLE’
ratio
Scale limit by value
Type float in [0.5, 1.5], default 0.0
unspill_blue
Blue spillmap scale
Type float in [0, 1.5], default 0.0
unspill_green
Green spillmap scale
Type float in [0, 1.5], default 0.0
unspill_red
Red spillmap scale
Type float in [0, 1.5], default 0.0
use_unspill
Compensate all channels (differently) by hand
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 273


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

2.4.105 CompositorNodeCombHSVA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.106 CompositorNodeCombRGBA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]

274 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.107 CompositorNodeCombYCCA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

mode
Type enum in [’ITUBT601’, ‘ITUBT709’, ‘JFIF’], default ‘ITUBT601’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 275


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.108 CompositorNodeCombYUVA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.109 CompositorNodeComposite(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

276 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.110 CompositorNodeCrop(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

max_x
Type int in [0, 10000], default 0
max_y
Type int in [0, 10000], default 0
min_x
Type int in [0, 10000], default 0
min_y
Type int in [0, 10000], default 0
rel_max_x
Type float in [0, 1], default 0.0
rel_max_y

2.4. Types ([Link]) 277


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1], default 0.0


rel_min_x
Type float in [0, 1], default 0.0
rel_min_y
Type float in [0, 1], default 0.0
relative
Use relative values to crop image
Type boolean, default False
use_crop_size
Whether to crop the size of the input image
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.111 CompositorNodeCurveRGB(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

278 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

mapping
Type CurveMapping, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.112 CompositorNodeCurveVec(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

mapping
Type CurveMapping, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 279


Blender Index, Release 2.57.0 r36138 - API

• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.113 CompositorNodeDBlur(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

angle
Type float in [0, 360], default 0.0
center_x
Type float in [0, 1], default 0.0
center_y
Type float in [0, 1], default 0.0
distance
Type float in [-1, 1], default 0.0
iterations
Type int in [1, 32], default 0
spin
Type float in [-360, 360], default 0.0
use_wrap
Type boolean, default False
zoom
Type float in [0, 100], default 0.0

280 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.114 CompositorNodeDefocus(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

angle
Bokeh shape rotation offset in degrees
Type int in [0, 90], default 0
blur_max
blur limit, maximum CoC radius, 0=no limit
Type float in [0, 10000], default 0.0
bokeh
Type enum in [’OCTAGON’, ‘HEPTAGON’, ‘HEXAGON’, ‘PENTAGON’, ‘SQUARE’, ‘TRI-
ANGLE’, ‘CIRCLE’], default ‘CIRCLE’
f_stop
Amount of focal blur, 128=infinity=perfect focus, half the value doubles the blur radius
Type float in [0, 128], default 0.0

2.4. Types ([Link]) 281


Blender Index, Release 2.57.0 r36138 - API

samples
Number of samples (16=grainy, higher=less noise)
Type int in [16, 256], default 0
threshold
CoC radius threshold, prevents background bleed on in-focus midground, 0=off
Type float in [0, 100], default 0.0
use_gamma_correction
Enable gamma correction before and after main process
Type boolean, default False
use_preview
Enable sampling mode, useful for preview when using low samplecounts
Type boolean, default False
use_zbuffer
Disable when using an image as input instead of actual z-buffer (auto enabled if node not image based, eg.
time node)
Type boolean, default False
z_scale
Scales the Z input when not using a z-buffer, controls maximum blur designated by the color white or input
value 1
Type float in [0, 1000], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

282 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

2.4.115 CompositorNodeDiffMatte(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

falloff
Color distances below this additional threshold are partially keyed
Type float in [0, 1], default 0.0
tolerance
Color distances below this threshold are keyed
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.116 CompositorNodeDilateErode(CompositorNode)

base classes — bpy_struct, Node, CompositorNode

2.4. Types ([Link]) 283


Blender Index, Release 2.57.0 r36138 - API

class [Link](CompositorNode)

distance
Distance to grow/shrink (number of iterations)
Type int in [-100, 100], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.117 CompositorNodeDisplace(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

284 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.118 CompositorNodeDistanceMatte(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

falloff
Color distances below this additional threshold are partially keyed
Type float in [0, 1], default 0.0
tolerance
Color distances below this threshold are keyed
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

2.4. Types ([Link]) 285


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.119 CompositorNodeFilter(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

filter_type
Type enum in [’SOFTEN’, ‘SHARPEN’, ‘LAPLACE’, ‘SOBEL’, ‘PREWITT’, ‘KIRSCH’,
‘SHADOW’], default ‘SOFTEN’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

286 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.120 CompositorNodeFlip(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

axis
Type enum in [’X’, ‘Y’, ‘XY’], default ‘X’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.121 CompositorNodeGamma(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 287


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.122 CompositorNodeGlare(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

angle_offset
Streak angle offset in degrees
Type int in [0, 180], default 0
color_modulation
Amount of Color Modulation, modulates colors of streaks and ghosts for a spectral dispersion effect
Type float in [0, 1], default 0.0
fade
Streak fade-out factor
Type float in [0.75, 1], default 0.0
glare_type
Type enum in [’GHOSTS’, ‘STREAKS’, ‘FOG_GLOW’, ‘SIMPLE_STAR’], default ‘SIM-
PLE_STAR’
iterations
Type int in [2, 5], default 0
mix
-1 is original image only, 0 is exact 50/50 mix, 1 is processed image only
Type float in [-1, 1], default 0.0

288 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

quality
If not set to high quality, the effect will be applied to a low-res copy of the source image
Type enum in [’HIGH’, ‘MEDIUM’, ‘LOW’], default ‘HIGH’
size
Glow/glare size (not actual size; relative to initial size of bright area of pixels)
Type int in [6, 9], default 0
streaks
Total number of streaks
Type int in [2, 16], default 0
threshold
The glare filter will only be applied to pixels brighter than this value
Type float in [0, 1000], default 0.0
use_rotate_45
Simple star filter: add 45 degree rotation offset
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 289


Blender Index, Release 2.57.0 r36138 - API

2.4.123 CompositorNodeHueCorrect(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

mapping
Type CurveMapping, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.124 CompositorNodeHueSat(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

color_hue
Type float in [0, 1], default 0.0
color_saturation
Type float in [0, 2], default 0.0
color_value

290 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 2], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.125 CompositorNodeIDMask(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

index
Pass index number to convert to alpha
Type int in [0, 10000], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 291


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.126 CompositorNodeImage(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

frame_duration
Number of images used in animation
Type int in [0, 300000], default 0
frame_offset
Offsets the number of the frame to use in the animation
Type int in [-300000, 300000], default 0
frame_start
Type int in [-300000, 300000], default 0
image
Type Image
layer
Type enum in [’PLACEHOLDER’], default ‘PLACEHOLDER’
use_auto_refresh
Type boolean, default False
use_cyclic
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

292 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.127 CompositorNodeInvert(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

invert_alpha
Type boolean, default False
invert_rgb
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 293


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.128 CompositorNodeLensdist(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

use_fit
For positive distortion factor only: scale image such that black areas are not visible
Type boolean, default False
use_jitter
Enable/disable jittering; faster, but also noisier
Type boolean, default False
use_projector
Enable/disable projector mode. Effect is applied in horizontal direction only
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

294 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.129 CompositorNodeLevels(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

channel
Type enum in [’COMBINED_RGB’, ‘RED’, ‘GREEN’, ‘BLUE’, ‘LUMINANCE’], default
‘COMBINED_RGB’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

2.4. Types ([Link]) 295


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.130 CompositorNodeLumaMatte(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

limit_max
Values higher than this setting are 100% opaque
Type float in [0, 1], default 0.0
limit_min
Values lower than this setting are 100% keyed
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.131 CompositorNodeMapUV(CompositorNode)

base classes — bpy_struct, Node, CompositorNode

296 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](CompositorNode)

alpha
Type int in [0, 100], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.132 CompositorNodeMapValue(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

max
Type float array of 1 items in [-1000, 1000], default (0.0)
min
Type float array of 1 items in [-1000, 1000], default (0.0)
offset
Type float array of 1 items in [-1000, 1000], default (0.0)
size

2.4. Types ([Link]) 297


Blender Index, Release 2.57.0 r36138 - API

Type float array of 1 items in [-1000, 1000], default (0.0)


use_max
Type boolean, default False
use_min
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.133 CompositorNodeMath(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

operation
Type enum in [’ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’, ‘SINE’, ‘COSINE’, ‘TAN-
GENT’, ‘ARCSINE’, ‘ARCCOSINE’, ‘ARCTANGENT’, ‘POWER’, ‘LOGARITHM’,
‘MINIMUM’, ‘MAXIMUM’, ‘ROUND’, ‘LESS_THAN’, ‘GREATER_THAN’], default
‘ADD’

298 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.134 CompositorNodeMixRGB(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

blend_type
Type enum in [’MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIF-
FERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SAT-
URATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
use_alpha
Include alpha of second input in this operation
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 299


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.135 CompositorNodeNormal(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

300 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.136 CompositorNodeNormalize(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.137 CompositorNodeOutputFile(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

exr_codec
Type enum in [’NONE’, ‘PXR24’, ‘ZIP’, ‘PIZ’, ‘RLE’], default ‘NONE’

2.4. Types ([Link]) 301


Blender Index, Release 2.57.0 r36138 - API

filepath
Output path for the image, same functionality as render output.
Type string, default “”
frame_end
Type int in [0, 300000], default 0
frame_start
Type int in [0, 300000], default 0
image_type
Type enum in [’TARGA’, ‘RAW_TARGA’, ‘PNG’, ‘BMP’, ‘JPEG’, ‘IRIS’, ‘RADI-
ANCE_HDR’, ‘CINEON’, ‘DPX’, ‘OPENEXR’], default ‘TARGA’
quality
Type int in [1, 100], default 0
use_exr_half
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

302 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.138 CompositorNodePremulKey(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

mapping
Conversion between premultiplied alpha and key alpha
Type enum in [’KEY_TO_PREMUL’, ‘PREMUL_TO_KEY’], default ‘KEY_TO_PREMUL’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.139 CompositorNodeRGB(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]

2.4. Types ([Link]) 303


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.140 CompositorNodeRGBToBW(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

304 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.141 CompositorNodeRLayers(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

layer
Type enum in [’PLACEHOLDER’], default ‘PLACEHOLDER’
scene
Type Scene

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 305


Blender Index, Release 2.57.0 r36138 - API

2.4.142 CompositorNodeRotate(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

filter_type
Method to use to filter rotation
Type enum in [’NEAREST’, ‘BILINEAR’, ‘BICUBIC’], default ‘NEAREST’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.143 CompositorNodeScale(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

space
Coordinate space to scale relative to
Type enum in [’RELATIVE’, ‘ABSOLUTE’, ‘SCENE_SIZE’, ‘RENDER_SIZE’], default
‘RELATIVE’

306 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.144 CompositorNodeSepHSVA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 307


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.145 CompositorNodeSepRGBA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.146 CompositorNodeSepYCCA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode

308 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](CompositorNode)

mode
Type enum in [’ITUBT601’, ‘ITUBT709’, ‘JFIF’], default ‘ITUBT601’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.147 CompositorNodeSepYUVA(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 309


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.148 CompositorNodeSetAlpha(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

310 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

2.4.149 CompositorNodeSplitViewer(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

axis
Type enum in [’X’, ‘Y’], default ‘X’
factor
Type int in [0, 100], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.150 CompositorNodeTexture(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

2.4. Types ([Link]) 311


Blender Index, Release 2.57.0 r36138 - API

node_output
For node-based textures, which output node to use
Type int in [-32768, 32767], default 0
texture
Type Texture

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.151 CompositorNodeTime(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

curve
Type CurveMapping, (readonly)
frame_end
Type int in [-32768, 32767], default 0
frame_start
Type int in [-32768, 32767], default 0

312 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.152 CompositorNodeTonemap(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

adaptation
If 0, global; if 1, based on pixel intensity
Type float in [0, 1], default 0.0
contrast
Set to 0 to use estimate from input image
Type float in [0, 1], default 0.0
correction
If 0, same for all channels; if 1, each independent
Type float in [0, 1], default 0.0
gamma
If not used, set to 1
Type float in [0.001, 3], default 0.0

2.4. Types ([Link]) 313


Blender Index, Release 2.57.0 r36138 - API

intensity
If less than zero, darkens image; otherwise, makes it brighter
Type float in [-8, 8], default 0.0
key
The value the average luminance is mapped to
Type float in [0, 1], default 0.0
offset
Normally always 1, but can be used as an extra control to alter the brightness curve
Type float in [0.001, 10], default 0.0
tonemap_type
Type enum in [’RD_PHOTORECEPTOR’, ‘RH_SIMPLE’], default ‘RH_SIMPLE’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.153 CompositorNodeTranslate(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

314 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.154 CompositorNodeTree(NodeTree)

base classes — bpy_struct, ID, NodeTree


class [Link](NodeTree)
Node tree consisting of linked nodes used for compositing
nodes
Type CompositorNodes bpy_prop_collection of Node, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• NodeTree.animation_data
• NodeTree.grease_pencil
• [Link]
• [Link]

2.4. Types ([Link]) 315


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.155 CompositorNodeValToRGB(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

color_ramp
Type ColorRamp, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add

316 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.156 CompositorNodeValue(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 317


Blender Index, Release 2.57.0 r36138 - API

2.4.157 CompositorNodeVecBlur(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

factor
Scaling factor for motion vectors; actually ‘shutter speed’ in frames
Type float in [0, 2], default 0.0
samples
Type int in [1, 256], default 0
speed_max
Maximum speed, or zero for none
Type int in [0, 1024], default 0
speed_min
Minimum speed for a pixel to be blurred; used to separate background from foreground
Type int in [0, 1024], default 0
use_curved
Interpolate between frames in a Bezier curve, rather than linearly
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

318 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

2.4.158 CompositorNodeViewer(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.159 CompositorNodeZcombine(CompositorNode)

base classes — bpy_struct, Node, CompositorNode


class [Link](CompositorNode)

use_alpha
Takes Alpha channel into account when doing the Z operation
Type boolean, default False

2.4. Types ([Link]) 319


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.160 CompositorNodes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of Compositor Nodes
new(type, group=None)
Add a node to this node tree.
Parameters
• type (enum in [’VIEWER’, ‘RGB’, ‘VALUE’, ‘MIX_RGB’, ‘VALTORGB’, ‘RG-
BTOBW’, ‘NORMAL’, ‘CURVE_VEC’, ‘CURVE_RGB’, ‘ALPHAOVER’, ‘BLUR’,
‘FILTER’, ‘MAP_VALUE’, ‘TIME’, ‘VECBLUR’, ‘SEPRGBA’, ‘SEPHSVA’, ‘SE-
TALPHA’, ‘HUE_SAT’, ‘IMAGE’, ‘R_LAYERS’, ‘COMPOSITE’, ‘OUTPUT_FILE’,
‘TEXTURE’, ‘TRANSLATE’, ‘ZCOMBINE’, ‘COMBRGBA’, ‘DILATEERODE’,
‘ROTATE’, ‘SCALE’, ‘SEPYCCA’, ‘COMBYCCA’, ‘SEPYUVA’, ‘COMBYUVA’,
‘DIFF_MATTE’, ‘COLOR_SPILL’, ‘CHROMA_MATTE’, ‘CHANNEL_MATTE’, ‘FLIP’,
‘SPLITVIEWER’, ‘MAP_UV’, ‘ID_MASK’, ‘DEFOCUS’, ‘DISPLACE’, ‘COMBHSVA’,
‘MATH’, ‘LUMA_MATTE’, ‘BRIGHTCONTRAST’, ‘GAMMA’, ‘INVERT’, ‘NORMAL-
IZE’, ‘CROP’, ‘DBLUR’, ‘BILATERALBLUR’, ‘PREMULKEY’, ‘DISTANCE_MATTE’,
‘LEVELS’, ‘COLOR_MATTE’, ‘COLORBALANCE’, ‘HUECORRECT’, ‘GLARE’,
‘TONEMAP’, ‘LENSDIST’, ‘SCRIPT’, ‘GROUP’]) – Type, Type of node to add

320 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• group (NodeTree, (optional)) – The group tree


Returns New node.
Return type Node
remove(node)
remove a node from this node tree.
Parameters node (Node) – The node to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.161 ConsoleLine(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Input line for the interactive console
body
Text in the line
Type string, default “”
current_character
Type int in [-inf, inf], default 0

2.4. Types ([Link]) 321


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.162 Constraint(bpy_struct)

base class — bpy_struct


subclasses — KinematicConstraint, CopyScaleConstraint, ShrinkwrapConstraint,
FollowPathConstraint, LockedTrackConstraint, CopyTransformsConstraint,
PythonConstraint, LimitDistanceConstraint, TransformConstraint, PivotConstraint,
ClampToConstraint, StretchToConstraint, LimitRotationConstraint,
LimitLocationConstraint, ChildOfConstraint, CopyRotationConstraint,
DampedTrackConstraint, TrackToConstraint, SplineIKConstraint,
MaintainVolumeConstraint, LimitScaleConstraint, RigidBodyJointConstraint,
FloorConstraint, ActionConstraint, CopyLocationConstraint
class [Link](bpy_struct)
Constraint modifying the transformation of objects and bones
active
Constraint is the one being edited
Type boolean, default False
error_location
Amount of residual error in Blender space unit for constraints that work on position
Type float in [-inf, inf], default 0.0, (readonly)

322 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

error_rotation
Amount of residual error in radiant for constraints that work on orientation
Type float in [-inf, inf], default 0.0, (readonly)
influence
Amount of influence constraint will have on the final solution
Type float in [0, 1], default 0.0
is_proxy_local
Constraint was added in this proxy instance (i.e. did not belong to source Armature)
Type boolean, default False
is_valid
Constraint has invalid settings and will not be evaluated
Type boolean, default False, (readonly)
mute
Enable/Disable Constraint
Type boolean, default False
name
Constraint name
Type string, default “”
owner_space
Space that owner is evaluated in
Type enum in [’WORLD’, ‘POSE’, ‘LOCAL_WITH_PARENT’, ‘LOCAL’], default
‘WORLD’
show_expanded
Constraint’s panel is expanded in UI
Type boolean, default False
target_space
Space that target is evaluated in
Type enum in [’WORLD’, ‘POSE’, ‘LOCAL_WITH_PARENT’, ‘LOCAL’], default
‘WORLD’
type
Type enum in [’COPY_LOCATION’, ‘COPY_ROTATION’, ‘COPY_SCALE’,
‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’,
‘LIMIT_ROTATION’, ‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’,
‘CLAMP_TO’, ‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’,
‘STRETCH_TO’, ‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOL-
LOW_PATH’, ‘PIVOT’, ‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’], default
‘COPY_LOCATION’, (readonly)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 323


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• UILayout.template_constraint

2.4.163 ConstraintActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to handle Constraints
angle_max
Maximum angle (in degree) allowed with target direction. No correction is done if angle with target
direction is between min and max
Type float in [0, 180], default 0.0
angle_min
Minimum angle (in degree) to maintain with target direction. No correction is done if angle with target
direction is between min and max
Type float in [0, 180], default 0.0
damping
Damping factor: time constant (in frame) of low pass filter
Type int in [-32768, 32767], default 0

324 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

damping_rotation
Use a different damping for orientation
Type int in [-32768, 32767], default 0
direction
Set the direction of the ray
Type enum in [’NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’, ‘DIRNX’, ‘DIRNY’, ‘DIRNZ’], default
‘NONE’
direction_axis
Select the axis to be aligned along the reference direction
Type enum in [’NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’, ‘DIRNX’, ‘DIRNY’, ‘DIRNZ’], default
‘NONE’
direction_axis_pos
Select the axis to be aligned along the reference direction
Type enum in [’NONE’, ‘DIRPX’, ‘DIRPY’, ‘DIRPZ’], default ‘NONE’
distance
Keep this distance to target
Type float in [-inf, inf], default 0.0
fh_damping
Damping factor of the force field spring
Type float in [-inf, inf], default 0.0
fh_force
Spring force within the force field area
Type float in [-inf, inf], default 0.0
fh_height
Height of the force field area
Type float in [-inf, inf], default 0.0
limit
Type enum in [’NONE’, ‘LOCX’, ‘LOCY’, ‘LOCZ’], default ‘NONE’
limit_max
Type float in [-inf, inf], default 0.0
limit_min
Type float in [-inf, inf], default 0.0
material
Ray detects only Objects with this material
Type string, default “”
mode
The type of the constraint
Type enum in [’LOC’, ‘DIST’, ‘ORI’, ‘FH’], default ‘LOC’
property
Ray detect only Objects with this property

2.4. Types ([Link]) 325


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


range
Set the maximum length of ray
Type float in [-inf, inf], default 0.0
rotation_max
Reference Direction
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
time
Maximum activation time in frame, 0 for unlimited
Type int in [-32768, 32767], default 0
use_fh_normal
Add a horizontal spring force on slopes
Type boolean, default False
use_fh_paralel_axis
Keep object axis parallel to normal
Type boolean, default False
use_force_distance
Force distance of object to point of impact of ray
Type boolean, default False
use_local
Set ray along object’s axis or global axis
Type boolean, default False
use_material_detect
Detect material instead of property
Type boolean, default False
use_normal
Set object axis along (local axis) or parallel (global axis) to the normal at hit position
Type boolean, default False
use_persistent
Persistent actuator: stays active even if ray does not reach target
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

326 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.164 ConstraintTarget(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Target object for multi-target constraints
subtarget
Type string, default “”
target
Target Object
Type Object

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

2.4. Types ([Link]) 327


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.165 Context(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Current windowmanager and data context
area
Type Area, (readonly)
blend_data
Type BlendData, (readonly)
mode
Type enum in [’EDIT_MESH’, ‘EDIT_CURVE’, ‘EDIT_SURFACE’, ‘EDIT_TEXT’,
‘EDIT_ARMATURE’, ‘EDIT_METABALL’, ‘EDIT_LATTICE’, ‘POSE’, ‘SCULPT’,
‘PAINT_WEIGHT’, ‘PAINT_VERTEX’, ‘PAINT_TEXTURE’, ‘PARTICLE’, ‘OBJECT’],
default ‘EDIT_MESH’, (readonly)
region
Type Region, (readonly)
region_data
Type RegionView3D, (readonly)
scene
Type Scene, (readonly)
screen
Type Screen, (readonly)
space_data
Type Space, (readonly)
tool_settings
Type ToolSettings, (readonly)
user_preferences
Type UserPreferences, (readonly)
window
Type Window, (readonly)

328 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

window_manager
Type WindowManager, (readonly)
static copy(self )

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Panel.draw_header
• [Link]

2.4. Types ([Link]) 329


Blender Index, Release 2.57.0 r36138 - API

2.4.166 ControlFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for objects controlling the motion of fluid in the simulation
attraction_radius
Specifies the force field radius around the control object
Type float in [0, 10], default 0.0
attraction_strength
Force strength for directional attraction towards the control object
Type float in [-10, 10], default 0.0
end_time
Specifies time when the control particles are deactivated
Type float in [0, 100], default 0.0
quality
Specifies the quality which is used for object sampling. (higher = better but slower)
Type float in [5, 100], default 0.0
start_time
Specifies time when the control particles are activated
Type float in [0, 100], default 0.0
use
Object contributes to the fluid simulation
Type boolean, default False
use_reverse_frames
Reverse control object movement
Type boolean, default False
velocity_radius
Specifies the force field radius around the control object
Type float in [0, 10], default 0.0
velocity_strength
Force strength of how much of the control object’s velocity is influencing the fluid velocity
Type float in [0, 10], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

330 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.167 Controller(bpy_struct)

base class — bpy_struct


subclasses — ExpressionController, XnorController, PythonController, AndController,
NorController, OrController, XorController, NandController
class [Link](bpy_struct)
Game engine logic brick to process events, connecting sensors to actuators
name
Type string, default “”
show_expanded
Set controller expanded in the user interface
Type boolean, default False
states
Set Controller state index (1 to 30)
Type int in [1, 30], default 0
type
Type enum in [’LOGIC_AND’, ‘LOGIC_OR’, ‘LOGIC_NAND’, ‘LOGIC_NOR’,
‘LOGIC_XOR’, ‘LOGIC_XNOR’, ‘EXPRESSION’, ‘PYTHON’], default ‘LOGIC_AND’
use_priority
Mark controller for execution before all non-marked controllers (good for startup scripts)
Type boolean, default False
link(sensor=None, actuator=None)
Link the controller with a sensor/actuator.
Parameters
• sensor (Sensor, (optional)) – Sensor to link the controller to.
• actuator (Actuator, (optional)) – Actuator to link the controller to.
unlink(sensor=None, actuator=None)
Unlink the controller from a sensor/actuator.
Parameters
• sensor (Sensor, (optional)) – Sensor to unlink the controller from.

2.4. Types ([Link]) 331


Blender Index, Release 2.57.0 r36138 - API

• actuator (Actuator, (optional)) – Actuator to unlink the controller from.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.168 CopyLocationConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Copies the location of the target
head_tail
Target along length of bone: Head=0, Tail=1
Type float in [0, 1], default 0.0
invert_x
Invert the X location
Type boolean, default False
invert_y
Invert the Y location
Type boolean, default False

332 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

invert_z
Invert the Z location
Type boolean, default False
subtarget
Type string, default “”
target
Target Object
Type Object
use_offset
Add original location into copied location
Type boolean, default False
use_x
Copy the target’s X location
Type boolean, default False
use_y
Copy the target’s Y location
Type boolean, default False
use_z
Copy the target’s Z location
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 333


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.169 CopyRotationConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Copies the rotation of the target
invert_x
Invert the X rotation
Type boolean, default False
invert_y
Invert the Y rotation
Type boolean, default False
invert_z
Invert the Z rotation
Type boolean, default False
subtarget
Type string, default “”
target
Target Object
Type Object
use_offset
Add original rotation into copied rotation
Type boolean, default False
use_x
Copy the target’s X rotation
Type boolean, default False
use_y
Copy the target’s Y rotation
Type boolean, default False
use_z
Copy the target’s Z rotation
Type boolean, default False

334 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.170 CopyScaleConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Copies the scale of the target
subtarget
Type string, default “”
target
Target Object
Type Object
use_offset
Add original scale into copied scale
Type boolean, default False

2.4. Types ([Link]) 335


Blender Index, Release 2.57.0 r36138 - API

use_x
Copy the target’s X scale
Type boolean, default False
use_y
Copy the target’s Y scale
Type boolean, default False
use_z
Copy the target’s Z scale
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.171 CopyTransformsConstraint(Constraint)

base classes — bpy_struct, Constraint

336 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](Constraint)
Copies all the transforms of the target
head_tail
Target along length of bone: Head=0, Tail=1
Type float in [0, 1], default 0.0
subtarget
Type string, default “”
target
Target Object
Type Object

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 337


Blender Index, Release 2.57.0 r36138 - API

2.4.172 Curve(ID)

base classes — bpy_struct, ID


subclasses — SurfaceCurve, TextCurve
class [Link](ID)
Curve datablock storing curves, splines and NURBS
animation_data
Animation data for this datablock
Type AnimData, (readonly)
bevel_depth
Bevel depth when not using a bevel object
Type float in [-inf, inf], default 0.0
bevel_object
Curve object name that defines the bevel shape
Type Object
bevel_resolution
Bevel resolution when depth is non-zero and no specific bevel object has been defined
Type int in [0, 32], default 0
dimensions
Select 2D or 3D curve type
Type enum in [‘2D’, ‘3D’], default ‘2D’
eval_time
Parametric position along the length of the curve that Objects ‘following’ it should be at. Position is
evaluated by dividing by the ‘Path Length’ value
Type float in [-inf, inf], default 0.0
extrude
Amount of curve extrusion when not using a bevel object
Type float in [0, inf], default 0.0
materials
Type IDMaterials bpy_prop_collection of Material, (readonly)
offset
Offset the curve to adjust the width of a text
Type float in [-inf, inf], default 0.0
path_duration
The number of frames that are needed to traverse the path, defining the maximum value for the ‘Evaluation
Time’ setting
Type int in [1, 300000], default 0
render_resolution_u
Surface resolution in U direction used while rendering. Zero skips this property
Type int in [0, 32767], default 0

338 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

render_resolution_v
Surface resolution in V direction used while rendering. Zero skips this property
Type int in [0, 32767], default 0
resolution_u
Surface resolution in U direction
Type int in [1, 32767], default 0
resolution_v
Surface resolution in V direction
Type int in [1, 32767], default 0
shape_keys
Type Key, (readonly)
show_handles
Display Bezier handles in editmode
Type boolean, default False
show_normal_face
Display 3D curve normals in editmode
Type boolean, default False
splines
Collection of splines in this curve data object
Type CurveSplines bpy_prop_collection of Spline, (readonly)
taper_object
Curve object name that defines the taper (width)
Type Object
texspace_location
Texture space location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
texspace_size
Texture space size
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
twist_mode
The type of tilt calculation for 3D Curves
Type enum in [’Z_UP’, ‘MINIMUM’, ‘TANGENT’], default ‘Z_UP’
twist_smooth
Smoothing iteration for tangents
Type float in [-inf, inf], default 0.0
use_auto_texspace
Adjusts active object’s texture space automatically when transforming object
Type boolean, default False
use_deform_bounds
Use the mesh bounds to clamp the deformation

2.4. Types ([Link]) 339


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_fill_back
Draw filled back for extruded/beveled curves
Type boolean, default False
use_fill_deform
Fill curve after applying shape keys and all modifiers
Type boolean, default False
use_fill_front
Draw filled front for extruded/beveled curves
Type boolean, default False
use_path
Enable the curve to become a translation path
Type boolean, default False
use_path_follow
Make curve path children to rotate along the path
Type boolean, default False
use_radius
Option for paths: apply the curve radius with path following it and deforming
Type boolean, default False
use_stretch
Option for curve-deform: makes deformed child to stretch along entire path
Type boolean, default False
use_time_offset
Children will use TimeOffs value as path distance offset
Type boolean, default False
use_uv_as_generated
Uses the UV values as Generated textured coordinates
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

340 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.173 CurveMap(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Curve in a curve mapping
extend
Extrapolate the curve or extend it horizontally
Type enum in [’HORIZONTAL’, ‘EXTRAPOLATED’], default ‘HORIZONTAL’, (readonly)
points
Type bpy_prop_collection of CurveMapPoint, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

2.4. Types ([Link]) 341


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.174 CurveMapPoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point of a curve used for a curve mapping
handle_type
Curve interpolation at this point: Bezier or vector
Type enum in [’AUTO’, ‘VECTOR’], default ‘AUTO’, (readonly)
location
X/Y coordinates of the curve point
Type float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)
select
Selection state of the curve point
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

342 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.175 CurveMapping(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Curve mapping to map color, vector and scalar values to other values using a user defined curve
black_level
For RGB curves, the color that black is mapped to
Type float array of 3 items in [-1000, 1000], default (0.0, 0.0, 0.0)
clip_max_x
Type float in [-100, 100], default 0.0
clip_max_y
Type float in [-100, 100], default 0.0
clip_min_x
Type float in [-100, 100], default 0.0
clip_min_y
Type float in [-100, 100], default 0.0
curves
Type bpy_prop_collection of CurveMap, (readonly)
use_clip
Force the curve view to fit a defined boundary
Type boolean, default False
white_level
For RGB curves, the color that white is mapped to
Type float array of 3 items in [-1000, 1000], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 343


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• PointLamp.falloff_curve
• [Link]
• [Link]
• [Link]
• SpotLamp.falloff_curve
• [Link]
• [Link]

2.4.176 CurveModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Curve deformation modifier
deform_axis
The axis that the curve deforms along
Type enum in [’POS_X’, ‘POS_Y’, ‘POS_Z’, ‘NEG_X’, ‘NEG_Y’, ‘NEG_Z’], default
‘POS_X’
object
Curve object to deform with
Type Object
vertex_group
Name of Vertex Group which determines influence of modifier per point

344 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.177 CurveSplines(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of curve splines
active
Active curve spline
Type Object
new(type)
Add a new spline to the curve.
Parameters type (enum in [’POLY’, ‘BEZIER’, ‘BSPLINE’, ‘CARDINAL’, ‘NURBS’]) – type
for the new spline.
Returns The newly created spline.
Return type Spline

2.4. Types ([Link]) 345


Blender Index, Release 2.57.0 r36138 - API

remove(spline)
Remove a spline from a curve.
Parameters spline (Spline, (never None)) – The spline to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.178 DampedTrackConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Points toward target by taking the shortest rotation path
subtarget
Type string, default “”
target
Target Object
Type Object
track_axis
Axis that points to the target object
Type enum in [’TRACK_X’, ‘TRACK_Y’, ‘TRACK_Z’, ‘TRACK_NEGATIVE_X’,
‘TRACK_NEGATIVE_Y’, ‘TRACK_NEGATIVE_Z’], default ‘TRACK_X’

346 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.179 DecimateModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Decimation modifier
face_count
The current number of faces in the decimated mesh
Type int in [-inf, inf], default 0, (readonly)
ratio
Defines the ratio of triangles to reduce to
Type float in [0, 1], default 0.0

2.4. Types ([Link]) 347


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.180 DelaySensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to send delayed events
delay
Delay in number of logic tics before the positive trigger (default 60 per second)
Type int in [0, 5000], default 0
duration
If >0, delay in number of logic tics before the negative trigger following the positive trigger
Type int in [0, 5000], default 0
use_repeat
Toggle repeat option. If selected, the sensor restarts after Delay+Dur logic tics
Type boolean, default False

348 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.181 DisplaceModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Displacement modifier
direction
Type enum in [’X’, ‘Y’, ‘Z’, ‘NORMAL’, ‘RGB_TO_XYZ’], default ‘X’
mid_level
Material value that gives no displacement
Type float in [0, 1], default 0.0
strength
Type float in [-inf, inf], default 0.0
texture

2.4. Types ([Link]) 349


Blender Index, Release 2.57.0 r36138 - API

Type Texture
texture_coordinate_object
Type Object
texture_coords
Type enum in [’LOCAL’, ‘GLOBAL’, ‘OBJECT’, ‘UV’], default ‘LOCAL’
uv_layer
UV layer name
Type string, default “”
vertex_group
Name of Vertex Group which determines influence of modifier per point
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.182 DistortedNoiseTexture(Texture)

base classes — bpy_struct, ID, Texture

350 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](Texture)
Procedural distorted noise texture
distortion
Type float in [0, 10], default 0.0
nabla
Size of derivative offset used for calculating normal
Type float in [0.001, 0.1], default 0.0
noise_basis
Sets the noise basis used for turbulence
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_distortion
Sets the noise basis for the distortion
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp

2.4. Types ([Link]) 351


Blender Index, Release 2.57.0 r36138 - API

• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.183 DomainFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for the domain of a fluid simulation
compressibility
Allowed compressibility due to gravitational force for standing fluid. (directly affects simulation step size)
Type float in [0.001, 0.1], default 0.0
end_time
Simulation time of the last blender frame (in seconds)
Type float in [0, 100], default 0.0
filepath
Directory (and/or filename prefix) to store baked fluid simulation files in
Type string, default “”
generate_particles
Amount of particles to generate (0=off, 1=normal, >1=more)
Type float in [0, 10], default 0.0

352 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

gravity
Gravity in X, Y and Z direction
Type float array of 3 items in [-1000.1, 1000.1], default (0.0, 0.0, 0.0)
grid_levels
Number of coarsened grids to use (-1 for automatic)
Type int in [-1, 4], default 0
memory_estimate
Estimated amount of memory needed for baking the domain
Type string, default “”, (readonly)
partial_slip_factor
Amount of mixing between no- and free-slip, 0 is no slip and 1 is free slip
Type float in [0, 1], default 0.0
preview_resolution
Preview resolution in X,Y and Z direction
Type int in [1, 100], default 0
render_display_mode
How to display the mesh for rendering
Type enum in [’GEOMETRY’, ‘PREVIEW’, ‘FINAL’], default ‘GEOMETRY’
resolution
Domain resolution in X,Y and Z direction
Type int in [1, 1024], default 0
simulation_scale
Size of the simulation domain in metres
Type float in [0.001, 10], default 0.0
slip_type
Type enum in [’NOSLIP’, ‘PARTIALSLIP’, ‘FREESLIP’], default ‘NOSLIP’
start_time
Simulation time of the first blender frame (in seconds)
Type float in [0, 100], default 0.0
surface_smooth
Amount of surface smoothing. A value of 0 is off, 1 is normal smoothing and more than 1 is extra
smoothing
Type float in [0, 5], default 0.0
surface_subdivisions
Number of isosurface subdivisions. This is necessary for the inclusion of particles into the surface gener-
ation. Warning - can lead to longer computation times!
Type int in [0, 5], default 0
tracer_particles
Number of tracer particles to generate
Type int in [0, 10000], default 0

2.4. Types ([Link]) 353


Blender Index, Release 2.57.0 r36138 - API

use_reverse_frames
Reverse fluid frames
Type boolean, default False
use_speed_vectors
Generate speed vectors for vector blur
Type boolean, default False
use_time_override
Use a custom start and end time (in seconds) instead of the scene’s timeline
Type boolean, default False
viewport_display_mode
How to display the mesh in the viewport
Type enum in [’GEOMETRY’, ‘PREVIEW’, ‘FINAL’], default ‘GEOMETRY’
viscosity_base
Viscosity setting: value that is multiplied by 10 to the power of (exponent*-1)
Type float in [0, 10], default 0.0
viscosity_exponent
Negative exponent for the viscosity value (to simplify entering small values e.g. 5*10^-6.)
Type int in [0, 10], default 0
viscosity_preset
Set viscosity of the fluid to a preset value, or use manual input
Type enum in [’MANUAL’, ‘WATER’, ‘OIL’, ‘HONEY’], default ‘MANUAL’

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

354 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.184 DopeSheet(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings for filtering the channels shown in Animation Editors
filter_fcurve_name
F-Curve live filtering string
Type string, default “”
filter_group
Group that included Object should be a member of
Type Group
show_armatures
Include visualization of Armature related Animation data
Type boolean, default False
show_cameras
Include visualization of Camera related Animation data
Type boolean, default False
show_curves
Include visualization of Curve related Animation data
Type boolean, default False
show_expanded_summary
Collapse summary when shown, so all other channels get hidden. (DopeSheet Editors Only)
Type boolean, default False
show_hidden
Include channels from objects/bone that aren’t visible
Type boolean, default False
show_lamps
Include visualization of Lamp related Animation data
Type boolean, default False
show_lattices
Include visualization of Lattice related Animation data
Type boolean, default False
show_materials
Include visualization of Material related Animation data
Type boolean, default False
show_meshes
Include visualization of Mesh related Animation data
Type boolean, default False
show_metaballs
Include visualization of Metaball related Animation data
Type boolean, default False

2.4. Types ([Link]) 355


Blender Index, Release 2.57.0 r36138 - API

show_missing_nla
Include Animation Data blocks with no NLA data. (NLA Editor only)
Type boolean, default False
show_nodes
Include visualization of Node related Animation data
Type boolean, default False
show_only_group_objects
Only include channels from Objects in the specified Group
Type boolean, default False
show_only_matching_fcurves
Only include F-Curves with names containing search text
Type boolean, default False
show_only_selected
Only include channels relating to selected objects and data
Type boolean, default False
show_particles
Include visualization of Particle related Animation data
Type boolean, default False
show_scenes
Include visualization of Scene related Animation data
Type boolean, default False
show_shapekeys
Include visualization of ShapeKey related Animation data
Type boolean, default False
show_summary
Display an additional ‘summary’ line. (DopeSheet Editors only)
Type boolean, default False
show_textures
Include visualization of Texture related Animation data
Type boolean, default False
show_transforms
Include visualization of Object-level Animation data (mostly Transforms)
Type boolean, default False
show_worlds
Include visualization of World related Animation data
Type boolean, default False
source
ID-Block representing source data, currently ID_SCE (for Dopesheet), and ID_SC (for Grease Pencil)
Type ID, (readonly)

356 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.185 Driver(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Driver for the value of a setting based on an external value
expression
Expression to use for Scripted Expression
Type string, default “”
is_valid
Driver could not be evaluated in past, so should be skipped
Type boolean, default False
show_debug_info
Show intermediate values for the driver calculations to allow debugging of drivers
Type boolean, default False
type
Driver type
Type enum in [’AVERAGE’, ‘SUM’, ‘SCRIPTED’, ‘MIN’, ‘MAX’], default ‘AVERAGE’

2.4. Types ([Link]) 357


Blender Index, Release 2.57.0 r36138 - API

variables
Properties acting as inputs for this driver
Type ChannelDriverVariables bpy_prop_collection of DriverVariable,
(readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.186 DriverTarget(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Source of input values for driver variables
bone_target
Name of PoseBone to use as target
Type string, default “”
data_path
RNA Path (from ID-block) to property used
Type string, default “”
id
ID-block that the specific property used can be found from (id_type property must be set first)
Type ID

358 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

id_type
Type of ID-block that can be used
Type enum in [’ACTION’, ‘ARMATURE’, ‘BRUSH’, ‘CAMERA’, ‘CURVE’, ‘FONT’,
‘GREASEPENCIL’, ‘GROUP’, ‘IMAGE’, ‘KEY’, ‘LAMP’, ‘LIBRARY’, ‘LATTICE’,
‘MATERIAL’, ‘META’, ‘MESH’, ‘NODETREE’, ‘OBJECT’, ‘PARTICLE’, ‘SCENE’,
‘SCREEN’, ‘SOUND’, ‘TEXT’, ‘TEXTURE’, ‘WORLD’, ‘WINDOWMANAGER’], de-
fault ‘OBJECT’
transform_type
Driver variable type
Type enum in [’LOC_X’, ‘LOC_Y’, ‘LOC_Z’, ‘ROT_X’, ‘ROT_Y’, ‘ROT_Z’, ‘SCALE_X’,
‘SCALE_Y’, ‘SCALE_Z’], default ‘LOC_X’
use_local_space_transform
Use transforms in Local Space (as opposed to the worldspace default)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.187 DriverVariable(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Variable from some source/target for driver relationship

2.4. Types ([Link]) 359


Blender Index, Release 2.57.0 r36138 - API

name
Name to use in scripted expressions/functions. (No spaces or dots are allowed. Also, must not start with a
symbol or digit)
Type string, default “”
targets
Sources of input data for evaluating this variable
Type bpy_prop_collection of DriverTarget, (readonly)
type
Driver variable type
Type enum in [’SINGLE_PROP’, ‘TRANSFORMS’, ‘ROTATION_DIFF’, ‘LOC_DIFF’], de-
fault ‘SINGLE_PROP’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.188 DupliObject(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
An object duplicate

360 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

matrix
Object duplicate transformation matrix
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
matrix_original
The original matrix of this object before it was duplicated
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
object
Object being duplicated
Type Object, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.dupli_list

2.4.189 EdgeSplitModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Edge splitting modifier to create sharp edges
split_angle
Angle above which to split edges

2.4. Types ([Link]) 361


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 180], default 0.0


use_edge_angle
Split edges with high angle between faces
Type boolean, default False
use_edge_sharp
Split edges that are marked as sharp
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.190 EditBone(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Editmode bone in an Armature datablock
bbone_in
Length of first Bezier Handle (for B-Bones only)
Type float in [0, 2], default 0.0

362 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

bbone_out
Length of second Bezier Handle (for B-Bones only)
Type float in [0, 2], default 0.0
bbone_segments
Number of subdivisions of bone (for B-Bones only)
Type int in [1, 32], default 0
bbone_x
B-Bone X size
Type float in [0, 1000], default 0.0
bbone_z
B-Bone Z size
Type float in [0, 1000], default 0.0
envelope_distance
Bone deformation distance (for Envelope deform only)
Type float in [0, 1000], default 0.0
envelope_weight
Bone deformation weight (for Envelope deform only)
Type float in [0, 1000], default 0.0
head
Location of head end of the bone
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
head_radius
Radius of head of bone (for Envelope deform only)
Type float in [0, inf], default 0.0
hide
Bone is not visible when in Edit Mode
Type boolean, default False
hide_select
Bone is able to be selected
Type boolean, default False
layers
Layers bone exists in
Type boolean array of 32 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False)
lock
Bone is not able to be transformed when in Edit Mode
Type boolean, default False
matrix
Read-only matrix calculated from the roll (armature space)

2.4. Types ([Link]) 363


Blender Index, Release 2.57.0 r36138 - API

Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (readonly)
name
Type string, default “”
parent
Parent edit bone (in same Armature)
Type EditBone
roll
Bone rotation around head-tail axis
Type float in [-inf, inf], default 0.0
select
Type boolean, default False
select_head
Type boolean, default False
select_tail
Type boolean, default False
show_wire
Bone is always drawn as Wireframe regardless of viewport draw mode. Useful for non-obstructive custom
bone shapes
Type boolean, default False
tail
Location of tail end of the bone
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
tail_radius
Radius of tail of bone (for Envelope deform only)
Type float in [0, inf], default 0.0
use_connect
When bone has a parent, bone’s head is struck to the parent’s tail
Type boolean, default False
use_cyclic_offset
When bone doesn’t have a parent, it receives cyclic offset effects
Type boolean, default False
use_deform
Bone does not deform any geometry
Type boolean, default False
use_envelope_multiply
When deforming bone, multiply effects of Vertex Group weights with Envelope influence
Type boolean, default False
use_inherit_rotation
Bone inherits rotation or scale from parent bone

364 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_inherit_scale
Bone inherits scaling from parent bone
Type boolean, default False
use_local_location
Bone location is set in local space
Type boolean, default False
basename
The name of this bone before any ‘.’ character (readonly)
center
The midpoint between the head and the tail. (readonly)
children
A list of all the bones children. (readonly)
children_recursive
a list of all children from this bone. (readonly)
children_recursive_basename
Returns a chain of children with the same base name as this bone Only direct chains are supported, forks
caused by multiple children with matching basenames will terminate the function and not be returned.
(readonly)
length
The distance from head to tail, when set the head is moved to fit the length.
parent_recursive
A list of parents, starting with the immediate parent (readonly)
vector
The direction this bone is pointing. Utility function for (tail - head) (readonly)
x_axis
Vector pointing down the x-axis of the bone.
(readonly)
y_axis
Vector pointing down the x-axis of the bone.
(readonly)
z_axis
Vector pointing down the x-axis of the bone.
(readonly)
align_roll(vector)
Align the bone to a localspace roll so the Z axis points in the direction of the vector given.
Parameters vector (float array of 3 items in [-inf, inf]) – Vector
align_orientation(other)
Align this bone to another by moving its tail and settings its roll the length of the other bone is not used.
parent_index(parent_test)
The same as ‘bone in other_bone.parent_recursive’ but saved generating a list.

2.4. Types ([Link]) 365


Blender Index, Release 2.57.0 r36138 - API

transform(matrix, scale=True, roll=True)


Transform the the bones head, tail, roll and envalope (when the matrix has a scale component).
Parameters
• matrix (Matrix) – 3x3 or 4x4 transformation matrix.
• scale (bool) – Scale the bone envalope by the matrix.
• roll (bool) – Correct the roll to point in the same relative direction to the head and tail.
translate(vec)
Utility function to add vec to the head and tail of this bone.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Armature.edit_bones
• [Link]
• [Link]
• [Link]
• [Link]

2.4.191 EditObjectActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator used to edit objects
angular_velocity
Angular velocity upon creation

366 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
dynamic_operation
Type enum in [’RESTOREDYN’, ‘SUSPENDDYN’, ‘ENABLERIGIDBODY’, ‘DISABLE-
RIGIDBODY’, ‘SETMASS’], default ‘RESTOREDYN’
linear_velocity
Velocity upon creation
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
mass
The mass of the object
Type float in [-inf, inf], default 0.0
mesh
Replace the existing, when left blank ‘Phys’ will remake the existing physics mesh
Type Mesh
mode
The mode of the actuator
Type enum in [’ADDOBJECT’, ‘ENDOBJECT’, ‘REPLACEMESH’, ‘TRACKTO’, ‘DY-
NAMICS’], default ‘ADDOBJECT’
object
Add this Object and all its children (cant be on an visible layer)
Type Object
time
Duration the new Object lives or the track takes
Type int in [-inf, inf], default 0
track_object
Track to this Object
Type Object
use_3d_tracking
Enable 3D tracking
Type boolean, default False
use_local_angular_velocity
Apply the rotation locally
Type boolean, default False
use_local_linear_velocity
Apply the transformation locally
Type boolean, default False
use_replace_display_mesh
Replace the display mesh
Type boolean, default False
use_replace_physics_mesh
Replace the physics mesh (triangle bounds only - compound shapes not supported)
Type boolean, default False

2.4. Types ([Link]) 367


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.192 EffectSequence(Sequence)

base classes — bpy_struct, Sequence


subclasses — GlowSequence, PluginSequence, ColorSequence, TransformSequence,
WipeSequence, SpeedControlSequence
class [Link](Sequence)
Sequence strip applying an effect on the images created by other strips
color_balance
Type SequenceColorBalance, (readonly)
color_multiply
Type float in [0, 20], default 0.0
color_saturation
Type float in [0, 20], default 0.0
crop
Type SequenceCrop, (readonly)
proxy
Type SequenceProxy, (readonly)

368 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

strobe
Only display every nth frame
Type float in [1, 30], default 0.0
transform
Type SequenceTransform, (readonly)
use_color_balance
(3-Way color correction) on input
Type boolean, default False
use_crop
Crop image before processing
Type boolean, default False
use_deinterlace
For video movies to remove fields
Type boolean, default False
use_flip_x
Flip on the X axis
Type boolean, default False
use_flip_y
Flip on the Y axis
Type boolean, default False
use_float
Convert input to float data
Type boolean, default False
use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_proxy
Use a preview proxy for this strip
Type boolean, default False
use_proxy_custom_directory
Use a custom directory to store data
Type boolean, default False
use_proxy_custom_file
Use a custom file to read proxy data from
Type boolean, default False
use_reverse_frames
Reverse frame order
Type boolean, default False
use_translation
Translate image before processing

2.4. Types ([Link]) 369


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

370 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.193 EffectorWeights(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Effector weights for physics simulation
all
All effector’s weight
Type float in [-200, 200], default 0.0
apply_to_hair_growing
Use force fields when growing hair
Type boolean, default False
boid
Boid effector weight
Type float in [-200, 200], default 0.0
charge
Charge effector weight
Type float in [-200, 200], default 0.0
curve_guide
Curve guide effector weight
Type float in [-200, 200], default 0.0
drag
Drag effector weight
Type float in [-200, 200], default 0.0
force
Force effector weight
Type float in [-200, 200], default 0.0
gravity
Global gravity weight
Type float in [-200, 200], default 0.0
group
Limit effectors to this Group
Type Group
harmonic
Harmonic effector weight
Type float in [-200, 200], default 0.0
lennardjones
Lennard-Jones effector weight
Type float in [-200, 200], default 0.0
magnetic
Magnetic effector weight
Type float in [-200, 200], default 0.0

2.4. Types ([Link]) 371


Blender Index, Release 2.57.0 r36138 - API

texture
Texture effector weight
Type float in [-200, 200], default 0.0
turbulence
Turbulence effector weight
Type float in [-200, 200], default 0.0
vortex
Vortex effector weight
Type float in [-200, 200], default 0.0
wind
Wind effector weight
Type float in [-200, 200], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ClothSettings.effector_weights
• ParticleSettings.effector_weights
• SmokeDomainSettings.effector_weights
• SoftBodySettings.effector_weights

2.4.194 EnumProperty(Property)

base classes — bpy_struct, Property

372 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](Property)
RNA enumeration property definition, to choose from a number of predefined options
default
Default value for this enum
Type enum in [’DUMMY’], default ‘DUMMY’, (readonly)
default_flag
Default value for this enum
Type enum set in {‘DUMMY’}, default set(), (readonly)
enum_items
Possible values for the property
Type bpy_prop_collection of EnumPropertyItem, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden
• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 373


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

2.4.195 EnumPropertyItem(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Definition of a choice in an RNA enum property
description
Description of the item’s purpose
Type string, default “”, (readonly)
identifier
Unique name used in the code and scripting
Type string, default “”, (readonly)
name
Human readable name
Type string, default “”, (readonly)
value
Value of the item
Type int in [0, inf], default 0, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• EnumProperty.enum_items

374 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.196 EnvironmentMap(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Environment map created by the renderer and cached for subsequent renders
clip_end
Objects further than this are not visible to map
Type float in [0.01, inf], default 0.0
clip_start
Objects nearer than this are not visible to map
Type float in [0.01, inf], default 0.0
depth
Number of times a map will be rendered recursively (mirror effects.)
Type int in [0, 5], default 0
layers_ignore
Hide objects on these layers when generating the Environment Map
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
mapping
Type enum in [’CUBE’, ‘PLANE’], default ‘CUBE’
resolution
Pixel resolution of the rendered environment map
Type int in [50, 4096], default 0
source
Type enum in [’STATIC’, ‘ANIMATED’, ‘IMAGE_FILE’], default ‘STATIC’
viewpoint_object
Object to use as the environment map’s viewpoint location
Type Object
zoom
Type float in [0.1, 5], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

2.4. Types ([Link]) 375


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• EnvironmentMapTexture.environment_map

2.4.197 EnvironmentMapTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Environment map texture
environment_map
Gets the environment map associated with this texture
Type EnvironmentMap, (readonly)
filter_eccentricity
Maximum eccentricity. Higher gives less blur at distant/oblique angles, but is also slower
Type int in [1, 256], default 0
filter_probes
Maximum number of samples. Higher gives less blur at distant/oblique angles, but is also slower
Type int in [1, 256], default 0
filter_size
Multiplies the filter size used by MIP Map and Interpolation
Type float in [0.1, 50], default 0.0
filter_type
Texture filter to use for sampling image
Type enum in [’BOX’, ‘EWA’, ‘FELINE’, ‘AREA’], default ‘BOX’
image
Source image file to read the environment map from
Type Image
image_user
Parameters defining which layer, pass and frame of the image is displayed
Type ImageUser, (readonly)
use_filter_size_min
Use Filter Size as a minimal filter value in pixels
Type boolean, default False

376 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_mipmap
Uses auto-generated MIP maps for the image
Type boolean, default False
use_mipmap_gauss
Uses Gauss filter to sample down MIP maps
Type boolean, default False
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

2.4. Types ([Link]) 377


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.198 Event(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Window Manager Event
alt
True when the Alt/Option key is held
Type boolean, default False, (readonly)
ascii
Single ASCII character for this event
Type string, default “”, (readonly)
ctrl
True when the Ctrl key is held
Type boolean, default False, (readonly)
mouse_prev_x
The window relative vertical location of the mouse
Type int in [-inf, inf], default 0, (readonly)
mouse_prev_y
The window relative horizontal location of the mouse
Type int in [-inf, inf], default 0, (readonly)
mouse_region_x
The region relative vertical location of the mouse
Type int in [-inf, inf], default 0, (readonly)
mouse_region_y
The region relative horizontal location of the mouse
Type int in [-inf, inf], default 0, (readonly)
mouse_x
The window relative vertical location of the mouse
Type int in [-inf, inf], default 0, (readonly)
mouse_y
The window relative horizontal location of the mouse
Type int in [-inf, inf], default 0, (readonly)

378 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

oskey
True when the Cmd key is held
Type boolean, default False, (readonly)
shift
True when the Shift key is held
Type boolean, default False, (readonly)
type
Type enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’, ‘BUT-
TON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], default ‘NONE’,
(readonly)
value
The type of event, only applies to some
Type enum in [’ANY’, ‘NOTHING’, ‘PRESS’, ‘RELEASE’, ‘CLICK’, ‘DOUBLE_CLICK’],
default ‘NOTHING’, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 379


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• WindowManager.invoke_confirm
• WindowManager.invoke_props_popup

2.4.199 ExplodeModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Explosion effect modifier based on a particle system
particle_uv
UV Layer to change with particle age
Type string, default “”
protect
Clean vertex group edges
Type float in [0, 1], default 0.0
show_alive
Show mesh when particles are alive
Type boolean, default False
show_dead
Show mesh when particles are dead
Type boolean, default False
show_unborn
Show mesh when particles are unborn
Type boolean, default False
use_edge_cut
Cut face edges for nicer shrapnel
Type boolean, default False
use_size
Use particle size for the shrapnel
Type boolean, default False
vertex_group
Type string, default “”

380 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.200 ExpressionController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller passing on events based on the evaluation of an expression
expression
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

2.4. Types ([Link]) 381


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.201 FCurve(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
F-Curve defining values of a period of time
array_index
Index to the specific property affected by F-Curve if applicable
Type int in [-inf, inf], default 0
color
Color of the F-Curve in the Graph Editor
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
color_mode
Method used to determine color of F-Curve in Graph Editor
Type enum in [’AUTO_RAINBOW’, ‘AUTO_RGB’, ‘CUSTOM’], default
‘AUTO_RAINBOW’
data_path
RNA Path to property affected by F-Curve
Type string, default “”
driver
Channel Driver (only set for Driver F-Curves)
Type Driver, (readonly)
extrapolation
Type enum in [’CONSTANT’, ‘LINEAR’], default ‘CONSTANT’
group
Action Group that this F-Curve belongs to

382 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type ActionGroup
hide
F-Curve and its keyframes are hidden in the Graph Editor graphs
Type boolean, default False
is_valid
False when F-Curve could not be evaluated in past, so should be skipped when evaluating
Type boolean, default False
keyframe_points
User-editable keyframes
Type FCurveKeyframePoints bpy_prop_collection of Keyframe, (readonly)
lock
F-Curve’s settings cannot be edited
Type boolean, default False
modifiers
Modifiers affecting the shape of the F-Curve
Type FCurveModifiers bpy_prop_collection of FModifier, (readonly)
mute
F-Curve is not evaluated
Type boolean, default False
sampled_points
Sampled animation data
Type bpy_prop_collection of FCurveSample, (readonly)
select
F-Curve is selected for editing
Type boolean, default False
use_auto_handle_clamp
All auto-handles for F-Curve are clamped
Type boolean, default False
evaluate(frame)
Evaluate fcurve.
Parameters frame (float in [-inf, inf]) – Frame, Evaluate fcurve at given frame
Returns Position, FCurve position
Return type float in [-inf, inf]
range()
Get the time extents for F-Curve.
Returns Range, Min/Max values
Return type float array of 2 items in [-inf, inf]

2.4. Types ([Link]) 383


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.202 FCurveActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to animate the object
apply_to_children
Update F-Curve on all children Objects as well
Type boolean, default False
frame_end
Type float in [-inf, inf], default 0.0
frame_property
Assign the action’s current frame number to this property
Type string, default “”
frame_start

384 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0


play_type
Specify the way you want to play the animation
Type enum in [’PLAY’, ‘PINGPONG’, ‘FLIPPER’, ‘STOP’, ‘END’, ‘PROP’], default ‘PLAY’
property
Use this property to define the F-Curve position
Type string, default “”
use_additive
F-Curve is added to the current loc/rot/scale in global or local coordinate according to Local flag
Type boolean, default False
use_force
Apply F-Curve as a global or local force depending on the local option (dynamic objects only)
Type boolean, default False
use_local
Let the F-Curve act in local coordinates, used in Force and Add mode
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4. Types ([Link]) 385


Blender Index, Release 2.57.0 r36138 - API

2.4.203 FCurveKeyframePoints(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of keyframe points
insert(frame, value, options=set())
Add a keyframe point to a F-Curve.
Parameters
• frame (float in [-inf, inf]) – X Value of this keyframe point
• value (float in [-inf, inf]) – Y Value of this keyframe point
• options (enum set in {‘REPLACE’, ‘NEEDED’, ‘FAST’}, (optional)) – Keyframe options.
Returns Newly created keyframe
Return type Keyframe
add(count=1)
Add a keyframe point to a F-Curve.
Parameters count (int in [1, inf], (optional)) – Number, Number of points to add to the spline
remove(keyframe, fast=False)
Remove keyframe from an fcurve.
Parameters
• keyframe (Keyframe, (never None)) – Keyframe to remove.
• fast (boolean, (optional)) – Fast, Fast keyframe removal to avoid recalculating the curve
each time

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

386 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• FCurve.keyframe_points

2.4.204 FCurveModifiers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of F-Curve Modifiers
active
Active F-Curve Modifier
Type FModifier
new(type)
Add a constraint to this object
Parameters type (enum in [’NULL’, ‘GENERATOR’, ‘FNGENERATOR’, ‘ENVELOPE’, ‘CY-
CLES’, ‘NOISE’, ‘FILTER’, ‘LIMITS’, ‘STEPPED’]) – Constraint type to add.
Returns New fmodifier.
Return type FModifier
remove(modifier)
Remove a modifier from this fcurve.
Parameters modifier (FModifier, (never None)) – Removed modifier.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 387


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.205 FCurveSample(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Sample point for F-Curve
co
Point coordinates
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
select
Selection status
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• FCurve.sampled_points

2.4.206 FModifier(bpy_struct)

base class — bpy_struct

388 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

subclasses — FModifierCycles, FModifierPython, FModifierFunctionGenerator,


FModifierLimits, FModifierEnvelope, FModifierNoise, FModifierStepped,
FModifierGenerator
class [Link](bpy_struct)
Modifier for values of F-Curve
active
F-Curve Modifier is the one being edited
Type boolean, default False
is_valid
F-Curve Modifier has invalid settings and will not be evaluated
Type boolean, default False, (readonly)
mute
F-Curve Modifier will not be evaluated
Type boolean, default False
show_expanded
F-Curve Modifier’s panel is expanded in UI
Type boolean, default False
type
F-Curve Modifier Type
Type enum in [’NULL’, ‘GENERATOR’, ‘FNGENERATOR’, ‘ENVELOPE’, ‘CYCLES’,
‘NOISE’, ‘FILTER’, ‘LIMITS’, ‘STEPPED’], default ‘NULL’, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 389


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.207 FModifierCycles(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Repeats the values of the modified F-Curve
cycles_after
Maximum number of cycles to allow after last keyframe. (0 = infinite)
Type int in [-32768, 32767], default 0
cycles_before
Maximum number of cycles to allow before first keyframe. (0 = infinite)
Type int in [-32768, 32767], default 0
mode_after
Cycling mode to use after last keyframe
Type enum in [’NONE’, ‘REPEAT’, ‘REPEAT_OFFSET’, ‘MIRROR’], default ‘NONE’
mode_before
Cycling mode to use before first keyframe
Type enum in [’NONE’, ‘REPEAT’, ‘REPEAT_OFFSET’, ‘MIRROR’], default ‘NONE’

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

390 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.208 FModifierEnvelope(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Scales the values of the modified F-Curve
control_points
Control points defining the shape of the envelope
Type bpy_prop_collection of FModifierEnvelopeControlPoint, (readonly)
default_max
Upper distance from Reference Value for 1:1 default influence
Type float in [-inf, inf], default 0.0
default_min
Lower distance from Reference Value for 1:1 default influence
Type float in [-inf, inf], default 0.0
reference_value
Value that envelope’s influence is centered around / based on
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

2.4. Types ([Link]) 391


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.209 FModifierEnvelopeControlPoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Control point for envelope F-Modifier
frame
Frame this control-point occurs on
Type float in [-inf, inf], default 0.0
max
Upper bound of envelope at this control-point
Type float in [-inf, inf], default 0.0
min
Lower bound of envelope at this control-point
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

392 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• FModifierEnvelope.control_points

2.4.210 FModifierFunctionGenerator(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Generates values using a Built-In Function
amplitude
Scale factor determining the maximum/minimum values
Type float in [-inf, inf], default 0.0
function_type
Type of built-in function to use
Type enum in [’SIN’, ‘COS’, ‘TAN’, ‘SQRT’, ‘LN’, ‘SINC’], default ‘SIN’
phase_multiplier
Scale factor determining the ‘speed’ of the function
Type float in [-inf, inf], default 0.0
phase_offset
Constant factor to offset time by for function
Type float in [-inf, inf], default 0.0
use_additive
Values generated by this modifier are applied on top of the existing values instead of overwriting them
Type boolean, default False
value_offset
Constant factor to offset values by
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

2.4. Types ([Link]) 393


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.211 FModifierGenerator(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Deterministically generates values for the modified F-Curve
coefficients
Coefficients for ‘x’ (starting from lowest power of x^0)
Type float array of 32 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0)
mode
Type of generator to use
Type enum in [’POLYNOMIAL’, ‘POLYNOMIAL_FACTORISED’], default ‘POLYNO-
MIAL’
poly_order
The highest power of ‘x’ for this polynomial. (number of coefficients - 1)
Type int in [-inf, inf], default 0
use_additive
Values generated by this modifier are applied on top of the existing values instead of overwriting them
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

394 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.212 FModifierLimits(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Limits the time/value ranges of the modified F-Curve
max_x
Highest X value to allow
Type float in [-inf, inf], default 0.0
max_y
Highest Y value to allow
Type float in [-inf, inf], default 0.0
min_x
Lowest X value to allow
Type float in [-inf, inf], default 0.0
min_y
Lowest Y value to allow
Type float in [-inf, inf], default 0.0
use_max_x
Use the maximum X value
Type boolean, default False
use_max_y
Use the maximum Y value
Type boolean, default False
use_min_x
Use the minimum X value
Type boolean, default False
use_min_y
Use the minimum Y value
Type boolean, default False

2.4. Types ([Link]) 395


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.213 FModifierNoise(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Gives randomness to the modified F-Curve
blend_type
Method of modifying the existing F-Curve
Type enum in [’REPLACE’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’], default ‘REPLACE’
depth
Amount of fine level detail present in the noise
Type int in [0, 32767], default 0
phase
A random seed for the noise effect
Type float in [-inf, inf], default 0.0
scale
Scaling (in time) of the noise
Type float in [-inf, inf], default 0.0
strength
Amplitude of the noise - the amount that it modifies the underlying curve

396 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.214 FModifierPython(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Performs user-defined operation on the modified F-Curve

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add

2.4. Types ([Link]) 397


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.215 FModifierStepped(FModifier)

base classes — bpy_struct, FModifier


class [Link](FModifier)
Holds each interpolated value from the F-Curve for several frames without changing the timing
frame_end
Frame that modifier’s influence ends (if applicable)
Type float in [-inf, inf], default 0.0
frame_offset
Reference number of frames before frames get held. Use to get hold for ‘1-3’ vs ‘5-7’ holding patterns
Type float in [-inf, inf], default 0.0
frame_start
Frame that modifier’s influence starts (if applicable)
Type float in [-inf, inf], default 0.0
frame_step
Number of frames to hold each value
Type float in [-inf, inf], default 0.0
use_frame_end
Restrict modifier to only act before its ‘end’ frame
Type boolean, default False
use_frame_start
Restrict modifier to only act after its ‘start’ frame
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• FModifier.is_valid
• FModifier.show_expanded
• [Link]

398 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.216 FieldSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Field settings for an object in physics simulation
apply_to_location
Effect particles’ location
Type boolean, default False
apply_to_rotation
Effect particles’ dynamic rotation
Type boolean, default False
distance_max
Maximum distance for the field to work
Type float in [0, 1000], default 0.0
distance_min
Minimum distance for the field’s fall-off
Type float in [0, 1000], default 0.0
falloff_power
Falloff power (real gravitational falloff = 2)
Type float in [0, 10], default 0.0
falloff_type
Fall-off shape
Type enum in [’SPHERE’, ‘TUBE’, ‘CONE’], default ‘SPHERE’

2.4. Types ([Link]) 399


Blender Index, Release 2.57.0 r36138 - API

flow
Convert effector force into air flow velocity
Type float in [0, 10], default 0.0
guide_clump_amount
Amount of clumping
Type float in [-1, 1], default 0.0
guide_clump_shape
Shape of clumping
Type float in [-0.999, 0.999], default 0.0
guide_free
Guide-free time from particle life’s end
Type float in [0, 0.99], default 0.0
guide_kink_amplitude
The amplitude of the offset
Type float in [0, 10], default 0.0
guide_kink_axis
Which axis to use for offset
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
guide_kink_frequency
The frequency of the offset (1/total length)
Type float in [0, 10], default 0.0
guide_kink_shape
Adjust the offset to the beginning/end
Type float in [-0.999, 0.999], default 0.0
guide_kink_type
Type of periodic offset on the curve
Type enum in [’NONE’, ‘CURL’, ‘RADIAL’, ‘WAVE’, ‘BRAID’, ‘ROTATION’, ‘ROLL’], de-
fault ‘NONE’
guide_minimum
The distance from which particles are affected fully
Type float in [0, 1000], default 0.0
harmonic_damping
Damping of the harmonic force
Type float in [0, 10], default 0.0
inflow
Inwards component of the vortex force
Type float in [-10, 10], default 0.0
linear_drag
Drag component proportional to velocity
Type float in [-2, 2], default 0.0

400 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

noise
Amount of noise for the force strength
Type float in [0, 10], default 0.0
quadratic_drag
Drag component proportional to the square of velocity
Type float in [-2, 2], default 0.0
radial_falloff
Radial falloff power (real gravitational falloff = 2)
Type float in [0, 10], default 0.0
radial_max
Maximum radial distance for the field to work
Type float in [0, 1000], default 0.0
radial_min
Minimum radial distance for the field’s fall-off
Type float in [0, 1000], default 0.0
rest_length
Rest length of the harmonic force
Type float in [0, 1000], default 0.0
seed
Seed of the noise
Type int in [1, 128], default 0
shape
Which direction is used to calculate the effector force
Type enum in [’POINT’, ‘PLANE’, ‘SURFACE’, ‘POINTS’], default ‘POINT’
size
Size of the turbulence
Type float in [0, 10], default 0.0
strength
Strength of force field
Type float in [-1000, 1000], default 0.0
texture
Texture to use as force
Type Texture
texture_mode
How the texture effect is calculated (RGB & Curl need a RGB texture else Gradient will be used instead)
Type enum in [’RGB’, ‘GRADIENT’, ‘CURL’], default ‘RGB’
texture_nabla
Defines size of derivative offset used for calculating gradient and curl
Type float in [0.0001, 1], default 0.0
type
Type of field

2.4. Types ([Link]) 401


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’NONE’, ‘FORCE’, ‘WIND’, ‘VORTEX’, ‘MAGNET’, ‘HARMONIC’,


‘CHARGE’, ‘LENNARDJ’, ‘TEXTURE’, ‘GUIDE’, ‘BOID’, ‘TURBULENCE’, ‘DRAG’],
default ‘NONE’
use_2d_force
Apply force only in 2d
Type boolean, default False
use_absorption
Force gets absorbed by collision objects
Type boolean, default False
use_global_coords
Use effector/global coordinates for turbulence
Type boolean, default False
use_guide_path_add
Based on distance/falloff it adds a portion of the entire path
Type boolean, default False
use_guide_path_weight
Use curve weights to influence the particle influence along the curve
Type boolean, default False
use_max_distance
Use a maximum distance for the field to work
Type boolean, default False
use_min_distance
Use a minimum distance for the field’s fall-off
Type boolean, default False
use_multiple_springs
Every point is effected by multiple springs
Type boolean, default False
use_object_coords
Use object/global coordinates for texture
Type boolean, default False
use_radial_max
Use a maximum radial distance for the field to work
Type boolean, default False
use_radial_min
Use a minimum radial distance for the field’s fall-off
Type boolean, default False
use_root_coords
Texture coordinates from root particle locations
Type boolean, default False
z_direction
Effect in full or only positive/negative Z direction

402 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’BOTH’, ‘POSITIVE’, ‘NEGATIVE’], default ‘BOTH’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• ParticleSettings.force_field_1
• ParticleSettings.force_field_2

2.4.217 FileSelectParams(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
File Select Parameters
directory
Directory displayed in the file browser
Type string, default “”
display_type
Display mode for the file list
Type enum in [’FILE_SHORTDISPLAY’, ‘FILE_LONGDISPLAY’, ‘FILE_IMGDISPLAY’],
default ‘FILE_SHORTDISPLAY’
filename
Active file in the file browser
Type string, default “”

2.4. Types ([Link]) 403


Blender Index, Release 2.57.0 r36138 - API

filter_glob
Type string, default “”
show_hidden
Show hidden dot files
Type boolean, default False
sort_method
Type enum in [’FILE_SORT_ALPHA’, ‘FILE_SORT_EXTENSION’, ‘FILE_SORT_TIME’,
‘FILE_SORT_SIZE’], default ‘FILE_SORT_ALPHA’
title
Title for the file browser
Type string, default “”, (readonly)
use_filter
Enable filtering of files
Type boolean, default False
use_filter_blender
Show .blend files
Type boolean, default False
use_filter_folder
Show folders
Type boolean, default False
use_filter_font
Show font files
Type boolean, default False
use_filter_image
Show image files
Type boolean, default False
use_filter_movie
Show movie files
Type boolean, default False
use_filter_script
Show script files
Type boolean, default False
use_filter_sound
Show sound files
Type boolean, default False
use_filter_text
Show text files
Type boolean, default False

404 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.218 Filter2DActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link].Filter2DActuator(Actuator)
Actuator to apply screen graphic effects
filter_pass
Set filter order
Type int in [0, 99], default 0
glsl_shader
Type Text
mode
Type enum in [’ENABLE’, ‘DISABLE’, ‘REMOVE’, ‘MOTIONBLUR’, ‘BLUR’,
‘SHARPEN’, ‘DILATION’, ‘EROSION’, ‘LAPLACIAN’, ‘SOBEL’, ‘PREWITT’,
‘GRAYSCALE’, ‘SEPIA’, ‘INVERT’, ‘CUSTOMFILTER’], default ‘REMOVE’
motion_blur_factor
Set motion blur factor
Type float in [0, 1], default 0.0
use_motion_blur
Enable/Disable Motion Blur

2.4. Types ([Link]) 405


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.219 FloatProperty(Property)

base classes — bpy_struct, Property


class [Link](Property)
RNA floating pointer number property definition
array_length
Maximum length of the array, 0 means unlimited
Type int in [0, inf], default 0, (readonly)
default
Default value for this number
Type float in [-inf, inf], default 0.0, (readonly)
default_array
Default value for this array
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)
hard_max
Maximum value used by buttons

406 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0, (readonly)


hard_min
Minimum value used by buttons
Type float in [-inf, inf], default 0.0, (readonly)
precision
Number of digits after the dot used by buttons
Type int in [0, inf], default 0, (readonly)
soft_max
Maximum value used by buttons
Type float in [-inf, inf], default 0.0, (readonly)
soft_min
Minimum value used by buttons
Type float in [-inf, inf], default 0.0, (readonly)
step
Step size used by number buttons, for floats 1/100th of the step size
Type float in [0, inf], default 0.0, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden
• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 407


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.220 FloorConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Uses the target object for location limitation
floor_location
Location of target that object will not pass through
Type enum in [’FLOOR_X’, ‘FLOOR_Y’, ‘FLOOR_Z’, ‘FLOOR_NEGATIVE_X’,
‘FLOOR_NEGATIVE_Y’, ‘FLOOR_NEGATIVE_Z’], default ‘FLOOR_X’
offset
Offset of floor from object origin
Type float in [0, 100], default 0.0
subtarget
Type string, default “”
target
Target Object
Type Object
use_rotation
Use the target’s rotation to determine floor
Type boolean, default False
use_sticky
Immobilize object while constrained
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation

408 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.221 FluidFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for the fluid in the simulation
initial_velocity
Initial velocity of fluid
Type float array of 3 items in [-1000.1, 1000.1], default (0.0, 0.0, 0.0)
use
Object contributes to the fluid simulation
Type boolean, default False
use_animated_mesh
Export this mesh as an animated one. Slower, only use if really necessary (e.g. armatures or parented
objects), animated pos/rot/scale IPOs do not require it
Type boolean, default False
volume_initialization
Volume initialization type
Type enum in [’VOLUME’, ‘SHELL’, ‘BOTH’], default ‘VOLUME’

Inherited Properties

• bpy_struct.id_data
• [Link]

2.4. Types ([Link]) 409


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.222 FluidSettings(bpy_struct)

base class — bpy_struct


subclasses — FluidFluidSettings, DomainFluidSettings, ControlFluidSettings,
InflowFluidSettings, ObstacleFluidSettings, ParticleFluidSettings,
OutflowFluidSettings
class [Link](bpy_struct)
Fluid simulation settings for an object taking part in the simulation
type
Type of participation in the fluid simulation
Type enum in [’NONE’, ‘DOMAIN’, ‘FLUID’, ‘OBSTACLE’, ‘INFLOW’, ‘OUTFLOW’,
‘PARTICLE’, ‘CONTROL’], default ‘NONE’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

410 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.223 FluidSimulationModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Fluid simulation modifier
settings
Settings for how this object is used in the fluid simulation
Type FluidSettings, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 411


Blender Index, Release 2.57.0 r36138 - API

2.4.224 FollowPathConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Locks motion to the target path
forward_axis
Axis that points forward along the path
Type enum in [’FORWARD_X’, ‘FORWARD_Y’, ‘FORWARD_Z’,
‘TRACK_NEGATIVE_X’, ‘TRACK_NEGATIVE_Y’, ‘TRACK_NEGATIVE_Z’], de-
fault ‘FORWARD_X’
offset
Offset from the position corresponding to the time frame
Type float in [-300000, 300000], default 0.0
offset_factor
Percentage value defining target position along length of bone
Type float in [0, 1], default 0.0
target
Target Object
Type Object
up_axis
Axis that points upward
Type enum in [’UP_X’, ‘UP_Y’, ‘UP_Z’], default ‘UP_X’
use_curve_follow
Object will follow the heading and banking of the curve
Type boolean, default False
use_curve_radius
Objects scale by the curve radius
Type boolean, default False
use_fixed_location
Object will stay locked to a single point somewhere along the length of the curve regardless of time
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local

412 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.225 Function(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
RNA function definition
description
Description of the Function’s purpose
Type string, default “”, (readonly)
identifier
Unique name used in the code and scripting
Type string, default “”, (readonly)
is_registered
Function is registered as callback as part of type registration
Type boolean, default False, (readonly)
is_registered_optional
Function is optionally registered as callback part of type registration
Type boolean, default False, (readonly)
parameters
Parameters for the function
Type bpy_prop_collection of Property, (readonly)
use_self
Function does not pass its self as an argument (becomes a class method in python)
Type boolean, default False, (readonly)

2.4. Types ([Link]) 413


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.226 GPencilFrame(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of related sketches on a particular frame
frame_number
The frame on which this sketch appears
Type int in [0, 300000], default 0
is_edited
Frame is being edited (painted on)
Type boolean, default False
select
Frame is selected for editing in the DopeSheet
Type boolean, default False
strokes
Freehand curves defining the sketch on this frame
Type bpy_prop_collection of GPencilStroke, (readonly)

414 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• GPencilLayer.active_frame
• [Link]

2.4.227 GPencilLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of related sketches
active_frame
Frame currently being displayed for this layer
Type GPencilFrame, (readonly)
alpha
Layer Opacity
Type float in [0.3, 1], default 0.0
color
Color for all strokes in this layer
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
frames
Sketches for this layer on different frames
Type bpy_prop_collection of GPencilFrame, (readonly)

2.4. Types ([Link]) 415


Blender Index, Release 2.57.0 r36138 - API

ghost_range_max
Maximum number of frames on either side of the active frame to show (0 = show the ‘first’ available sketch
on either side)
Type int in [0, 120], default 0
hide
Set layer Visibility
Type boolean, default False
info
Layer name
Type string, default “”
line_width
Thickness of strokes (in pixels)
Type int in [1, 10], default 0
lock
Protect layer from further editing and/or frame changes
Type boolean, default False
lock_frame
Lock current frame displayed by layer
Type boolean, default False
select
Layer is selected for editing in the DopeSheet
Type boolean, default False
show_points
Draw the points which make up the strokes (for debugging purposes)
Type boolean, default False
show_x_ray
Type boolean, default False
use_onion_skinning
Ghost frames on either side of frame
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

416 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.228 GPencilStroke(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Freehand curve defining part of a sketch
points
Stroke data points
Type bpy_prop_collection of GPencilStrokePoint, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 417


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.229 GPencilStrokePoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Data point for freehand stroke curve
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
pressure
Pressure of tablet at point when drawing it
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.230 GameActuator(Actuator)

base classes — bpy_struct, Actuator

418 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](Actuator)

filename
Load this blend file, use the “//” prefix for a path relative to the current blend file
Type string, default “”
mode
Type enum in [’START’, ‘RESTART’, ‘QUIT’, ‘SAVECFG’, ‘LOADCFG’], default ‘START’

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.231 GameBooleanProperty(GameProperty)

base classes — bpy_struct, GameProperty


class [Link](GameProperty)
Game engine user defined Boolean property
value
Property value
Type boolean, default False

2.4. Types ([Link]) 419


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• GameProperty.show_debug
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.232 GameFloatProperty(GameProperty)

base classes — bpy_struct, GameProperty


class [Link](GameProperty)
Game engine user defined floating pointer number property
value
Property value
Type float in [-10000, 10000], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• GameProperty.show_debug
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

420 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.233 GameIntProperty(GameProperty)

base classes — bpy_struct, GameProperty


class [Link](GameProperty)
Game engine user defined integer number property
value
Property value
Type int in [-10000, 10000], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• GameProperty.show_debug
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 421


Blender Index, Release 2.57.0 r36138 - API

2.4.234 GameObjectSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Game engine related settings for the object
actuators
Game engine actuators to act on events
Type bpy_prop_collection of Actuator, (readonly)
collision_bounds_type
Selects the collision type
Type enum in [’BOX’, ‘SPHERE’, ‘CYLINDER’, ‘CONE’, ‘CONVEX_HULL’, ‘TRIAN-
GLE_MESH’, ‘CAPSULE’], default ‘BOX’
collision_margin
Extra margin around object for collision detection, small amount required for stability
Type float in [0, 1], default 0.0
controllers
Game engine controllers to process events, connecting sensor to actuators
Type bpy_prop_collection of Controller, (readonly)
damping
General movement damping
Type float in [0, 1], default 0.0
form_factor
Form factor scales the inertia tensor
Type float in [0, 1], default 0.0
friction_coefficients
Relative friction coefficient in the in the X, Y and Z directions, when anisotropic friction is enabled
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
lock_location_x
Disable simulation of linear motion along the X axis
Type boolean, default False
lock_location_y
Disable simulation of linear motion along the Y axis
Type boolean, default False
lock_location_z
Disable simulation of linear motion along the Z axis
Type boolean, default False
lock_rotation_x
Disable simulation of angular motion along the X axis
Type boolean, default False
lock_rotation_y
Disable simulation of angular motion along the Y axis

422 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


lock_rotation_z
Disable simulation of angular motion along the Z axis
Type boolean, default False
mass
Mass of the object
Type float in [0.01, 10000], default 0.0
physics_type
Selects the type of physical representation
Type enum in [’NO_COLLISION’, ‘STATIC’, ‘DYNAMIC’, ‘RIGID_BODY’,
‘SOFT_BODY’, ‘OCCLUDE’, ‘SENSOR’], default ‘NO_COLLISION’
properties
Game engine properties
Type bpy_prop_collection of GameProperty, (readonly)
radius
Radius of bounding sphere and material physics
Type float in [0.01, 10], default 0.0
rotation_damping
General rotation damping
Type float in [0, 1], default 0.0
sensors
Game engine sensor to detect events
Type bpy_prop_collection of Sensor, (readonly)
show_actuators
Shows actuators for this object in the user interface
Type boolean, default False
show_controllers
Shows controllers for this object in the user interface
Type boolean, default False
show_debug_state
Print state debug info in the game engine
Type boolean, default False
show_sensors
Shows sensors for this object in the user interface
Type boolean, default False
show_state_panel
Show state panel
Type boolean, default False
soft_body
Settings for Bullet soft body simulation
Type GameSoftBodySettings, (readonly)

2.4. Types ([Link]) 423


Blender Index, Release 2.57.0 r36138 - API

states_initial
Initial state when the game starts
Type boolean array of 30 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False)
states_visible
State determining which controllers are displayed
Type boolean array of 30 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False)
use_activity_culling
Disable simulation of angular motion along the Z axis
Type boolean, default False
use_actor
Object is detected by the Near and Radar sensor
Type boolean, default False
use_all_states
Set all state bits
Type boolean, default False
use_anisotropic_friction
Enable anisotropic friction
Type boolean, default False
use_collision_bounds
Specify a collision bounds type other than the default
Type boolean, default False
use_collision_compound
Add children to form a compound collision object
Type boolean, default False
use_ghost
Object does not restitute collisions, like a ghost
Type boolean, default False
use_material_physics_fh
React to force field physics settings in materials
Type boolean, default False
use_rotate_from_normal
Use face normal to rotate object, so that it points away from the surface
Type boolean, default False
use_sleep
Disable auto (de)activation in physics simulation
Type boolean, default False
used_states
States which are being used by controllers

424 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean array of 30 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False), (readonly)
velocity_max
Clamp velocity to this maximum speed
Type float in [0, 1000], default 0.0
velocity_min
Clamp velocity to this minimum speed (except when totally still)
Type float in [0, 1000], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.235 GameProperty(bpy_struct)

base class — bpy_struct


subclasses — GameStringProperty, GameIntProperty, GameBooleanProperty,
GameFloatProperty, GameTimerProperty
class [Link](bpy_struct)
Game engine user defined object property
name
Available as GameObject attributes in the game engine’s python API

2.4. Types ([Link]) 425


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


show_debug
Print debug information for this property
Type boolean, default False
type
Type enum in [’BOOL’, ‘INT’, ‘FLOAT’, ‘STRING’, ‘TIMER’], default ‘BOOL’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.236 GameSoftBodySettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Soft body simulation settings for an object in the game engine
cluster_iterations
Specify the number of cluster iterations
Type int in [1, 128], default 0
collision_margin
Collision margin for soft body. Small value makes the algorithm unstable
Type float in [0.01, 1], default 0.0

426 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

dynamic_friction
Dynamic Friction
Type float in [0, 1], default 0.0
linear_stiffness
Linear stiffness of the soft body links
Type float in [0, 1], default 0.0
location_iterations
Position solver iterations
Type int in [0, 10], default 0
shape_threshold
Shape matching threshold
Type float in [0, 1], default 0.0
use_bending_constraints
Enable bending constraints
Type boolean, default False
use_cluster_rigid_to_softbody
Enable cluster collision between soft and rigid body
Type boolean, default False
use_cluster_soft_to_softbody
Enable cluster collision between soft and soft body
Type boolean, default False
use_shape_match
Enable soft body shape matching goal
Type boolean, default False
weld_threshold
Welding threshold: distance between nearby vertices to be considered equal => set to 0.0 to disable welding
test and speed up scene loading (ok if the mesh has no duplicates)
Type float in [0, 0.01], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 427


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• GameObjectSettings.soft_body

2.4.237 GameStringProperty(GameProperty)

base classes — bpy_struct, GameProperty


class [Link](GameProperty)
Game engine user defined text string property
value
Property value
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• GameProperty.show_debug
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

428 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.238 GameTimerProperty(GameProperty)

base classes — bpy_struct, GameProperty


class [Link](GameProperty)
Game engine user defined timer property
value
Property value
Type float in [-10000, 10000], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• GameProperty.show_debug
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.239 GlowSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence


class [Link](EffectSequence)
Sequence strip creating a glow effect
blur_radius
Radius of glow effect
Type float in [0.5, 20], default 0.0
boost_factor
Brightness multiplier
Type float in [0, 10], default 0.0

2.4. Types ([Link]) 429


Blender Index, Release 2.57.0 r36138 - API

clamp
rightness limit of intensity
Type float in [0, 1], default 0.0
quality
Accuracy of the blur effect
Type int in [1, 5], default 0
threshold
Minimum intensity to trigger a glow
Type float in [0, 1], default 0.0
use_only_boost
Show the glow buffer only
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count
• EffectSequence.color_balance
• EffectSequence.use_float
• [Link]
• EffectSequence.use_deinterlace
• EffectSequence.use_reverse_frames
• EffectSequence.use_flip_x
• EffectSequence.use_flip_y

430 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• EffectSequence.color_multiply
• EffectSequence.use_premultiply
• [Link]
• EffectSequence.use_proxy_custom_directory
• EffectSequence.use_proxy_custom_file
• EffectSequence.color_saturation
• [Link]
• [Link]
• EffectSequence.use_color_balance
• EffectSequence.use_crop
• EffectSequence.use_proxy
• EffectSequence.use_translation

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.240 GreasePencil(ID)

base classes — bpy_struct, ID


class [Link](ID)
Freehand annotation sketchbook
draw_mode
Type enum in [’CURSOR’, ‘VIEW’, ‘SURFACE’, ‘STROKE’], default ‘VIEW’
layers
Type GreasePencilLayers bpy_prop_collection of GPencilLayer, (readonly)
use_stroke_endpoints
Only use the first and last parts of the stroke for snapping
Type boolean, default False

2.4. Types ([Link]) 431


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• BlendData.grease_pencil
• [Link]
• NodeTree.grease_pencil
• Object.grease_pencil
• Scene.grease_pencil
• SpaceImageEditor.grease_pencil

2.4.241 GreasePencilLayers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of grease pencil layers
active
Active grease pencil layer

432 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type GreasePencil

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.242 Group(ID)

base classes — bpy_struct, ID


class [Link](ID)
Group of Object datablocks
dupli_offset
Offset from the origin to use when instancing as DupliGroup
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
layers
Layers visible when this groups is instanced as a dupli
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
objects
A collection of this groups objects
Type GroupObjects bpy_prop_collection of Object, (readonly)
users_dupli_group
The dupli group this group is used in (readonly)

2.4. Types ([Link]) 433


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]
• DopeSheet.filter_group
• [Link]
• Material.light_group
• Object.dupli_group
• ParticleSettings.dupli_group
• RenderLayer.light_override
• SceneRenderLayer.light_override
• SmokeDomainSettings.collision_group
• SmokeDomainSettings.effector_group
• SmokeDomainSettings.fluid_group

434 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.243 GroupInputs(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of group sockets
new(name=”Socket”, type=’VALUE’)
Add a socket to the group tree.
Parameters
• name (string, (optional)) – Name, Name of the socket
• type (enum in [’VALUE’, ‘VECTOR’, ‘RGBA’], (optional)) – Type, Type of socket
Returns New socket.
Return type NodeSocket
expose(sock=None, add_link=True)
Expose an internal socket in the group tree.
Parameters
• sock (NodeSocket, (optional)) – Socket, Internal node socket to expose
• add_link (boolean, (optional)) – Add Link, If TRUE, adds a link to the internal socket
Returns New socket.
Return type NodeSocket

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 435


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.244 GroupObjects(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of group objects
link(object)
Add this object to a group
Parameters object (Object) – Object to add.
unlink(object)
Remove this object to a group
Parameters object (Object) – Object to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.245 GroupOutputs(bpy_struct)

base class — bpy_struct

436 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
Collection of group sockets
new(name=”Socket”, type=’VALUE’)
Add a socket to the group tree.
Parameters
• name (string, (optional)) – Name, Name of the socket
• type (enum in [’VALUE’, ‘VECTOR’, ‘RGBA’], (optional)) – Type, Type of socket
Returns New socket.
Return type NodeSocket
expose(sock=None, add_link=True)
Expose an internal socket in the group tree.
Parameters
• sock (NodeSocket, (optional)) – Socket, Internal node socket to expose
• add_link (boolean, (optional)) – Add Link, If TRUE, adds a link to the internal socket
Returns New socket.
Return type NodeSocket

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4. Types ([Link]) 437


Blender Index, Release 2.57.0 r36138 - API

2.4.246 Header(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Editor header containing UI elements.
bl_idname
If this is set, the header gets a custom ID, otherwise it takes the name of the class used to define the
panel. For example, if the class name is “OBJECT_HT_hello”, and bl_idname is not set by the script, then
bl_idname = “OBJECT_HT_hello”
Type string, default “”
bl_space_type
The space where the header is going to be used in.
Type enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUTLINER’, ‘PROP-
ERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SEQUENCE_EDITOR’,
‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’,
‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’, ‘CON-
SOLE’, ‘USER_PREFERENCES’], default ‘EMPTY’
layout
Defines the structure of the header in the UI.
Type UILayout, (readonly)
draw(context)
Draw UI elements into the header UI layout.

classmethod append(draw_func)
Append a draw function to this menu, takes the same arguments as the menus draw function.
classmethod prepend(draw_func)
Prepend a draw function to this menu, takes the same arguments as the menus draw function.
classmethod remove(draw_func)
Remove a draw function that has been added to this menu

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

438 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.247 HemiLamp(Lamp)

base classes — bpy_struct, ID, Lamp


class [Link](Lamp)
180 degree constant lamp

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Lamp.active_texture
• Lamp.active_texture_index
• Lamp.animation_data
• [Link]
• Lamp.use_diffuse
• [Link]
• [Link]
• Lamp.use_own_layer
• Lamp.use_negative
• Lamp.use_specular
• Lamp.texture_slots
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 439


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.248 Histogram(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Statistical view of the levels of color in an image
mode
Channels to display when drawing the histogram
Type enum in [’LUMA’, ‘RGB’, ‘R’, ‘G’, ‘B’], default ‘LUMA’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• SpaceImageEditor.sample_histogram

2.4.249 HookModifier(Modifier)

base classes — bpy_struct, Modifier

440 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](Modifier)
Hook modifier to modify the location of vertices
falloff
If not zero, the distance from the hook where influence ends
Type float in [0, inf], default 0.0
force
Relative force of the hook
Type float in [0, 1], default 0.0
object
Parent Object for hook, also recalculates and clears offset
Type Object
subtarget
Name of Parent Bone for hook (if applicable), also recalculates and clears offset
Type string, default “”
vertex_group
Name of Vertex Group which determines influence of modifier per point
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 441


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

2.4.250 ID(bpy_struct)

base class — bpy_struct


subclasses — Lattice, Library, Key, NodeTree, MetaBall, Text, Lamp, World, Brush,
Object, Armature, Mesh, VectorFont, GreasePencil, Sound, ParticleSettings, Scene,
WindowManager, Texture, Curve, Action, Group, Screen, Material, Image, Camera
class [Link](bpy_struct)
Base type for datablocks, defining a unique name, linking from other libraries and garbage collection
library
Library file the datablock is linked from
Type Library, (readonly)
name
Unique datablock ID name
Type string, default “”
tag
Tools can use this to tag data, (initial state is undefined)
Type boolean, default False
use_fake_user
Saves this datablock even if it has no users
Type boolean, default False
users
Number of times this datablock is referenced
Type int in [0, 32767], default 0, (readonly)
copy()
Create a copy of this datablock (not supported for all datablocks).
Returns New copy of the ID.
Return type ID
user_clear()
Clears the user count of a datablock so its not saved, on reload the data will be removed.
animation_data_create()
Create animation data to this ID, note that not all ID types support this.
Returns New animation data or NULL.
Return type AnimData
animation_data_clear()
Clear animation on this this ID.
update_tag(refresh=set())
Tag the id to update its display data.
Parameters refresh (enum set in {‘OBJECT’, ‘DATA’, ‘TIME’}, (optional)) – Type of updates
to perform.

442 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• SpaceNodeEditor.id_from
• SpaceProperties.pin_id
• UILayout.template_path_builder
• UILayout.template_preview
• UILayout.template_preview

2.4.251 IDMaterials(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of materials
append(material)
Add a new material to Mesh.
Parameters material (Material) – Material to add.

2.4. Types ([Link]) 443


Blender Index, Release 2.57.0 r36138 - API

pop(index)
Add a new material to Mesh.
Parameters index (int in [0, inf]) – Frame number to set.
Returns Material to add.
Return type Material

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.252 IKParam(bpy_struct)

base class — bpy_struct


subclasses — Itasc
class [Link](bpy_struct)
Base type for IK solver parameters
ik_solver
IK solver for which these parameters are defined, 0 for Legacy, 1 for iTaSC
Type enum in [’LEGACY’, ‘ITASC’], default ‘LEGACY’, (readonly)

444 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Pose.ik_param

2.4.253 Image(ID)

base classes — bpy_struct, ID


class [Link](ID)
Image datablock referencing an external or packed image
bindcode
OpenGL bindcode
Type int in [0, inf], default 0, (readonly)
depth
Image bit depth
Type int in [0, inf], default 0, (readonly)
display_aspect
Display Aspect for this image, does not affect rendering
Type float array of 2 items in [0.1, 5000], default (0.0, 0.0)
field_order
Order of video fields. Select which lines are displayed first
Type enum in [’EVEN’, ‘ODD’], default ‘EVEN’
file_format
Format used for re-saving this file

2.4. Types ([Link]) 445


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’BMP’, ‘IRIS’, ‘PNG’, ‘JPEG’, ‘JPEG2000’, ‘TARGA’, ‘TARGA_RAW’,


‘CINEON’, ‘DPX’, ‘MULTILAYER’, ‘OPEN_EXR’, ‘HDR’, ‘TIFF’, ‘AVI_JPEG’,
‘AVI_RAW’, ‘FRAMESERVER’, ‘H264’, ‘FFMPEG’, ‘THEORA’, ‘XVID’], default
‘TARGA’
filepath
Image/Movie file name
Type string, default “”
filepath_raw
Image/Movie file name (without data refreshing)
Type string, default “”
fps
Speed of the animation in frames per second
Type int in [1, 100], default 0
frame_end
End frame of an animated texture
Type int in [0, 128], default 0
frame_start
Start frame of an animated texture
Type int in [0, 128], default 0
generated_height
Generated image height
Type int in [1, 16384], default 0
generated_type
Generated image type
Type enum in [’BLANK’, ‘UV_GRID’, ‘COLOR_GRID’], default ‘BLANK’
generated_width
Generated image width
Type int in [1, 16384], default 0
has_data
True if this image has data
Type boolean, default False, (readonly)
is_dirty
Image has changed and is not saved
Type boolean, default False, (readonly)
mapping
Mapping type to use for this image in the game engine
Type enum in [’UV’, ‘REFLECTION’], default ‘UV’
packed_file
Type PackedFile, (readonly)
pixels
Image pixels in floating point values

446 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0


size
Width and height in pixels, zero when image data cant be loaded
Type int array of 2 items in [-inf, inf], default (0, 0), (readonly)
source
Where the image comes from
Type enum in [’FILE’, ‘SEQUENCE’, ‘MOVIE’, ‘GENERATED’, ‘VIEWER’], default ‘FILE’
tiles_x
Degree of repetition in the X direction
Type int in [1, 16], default 0
tiles_y
Degree of repetition in the Y direction
Type int in [1, 16], default 0
type
How to generate the image
Type enum in [’IMAGE’, ‘MULTILAYER’, ‘UV_TEST’, ‘RENDER_RESULT’, ‘COM-
POSITING’], default ‘IMAGE’, (readonly)
use_animation
Use as animated texture in the game engine
Type boolean, default False
use_clamp_x
Disable texture repeating horizontally
Type boolean, default False
use_clamp_y
Disable texture repeating vertically
Type boolean, default False
use_fields
Use fields of the image
Type boolean, default False
use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_tiles
Use of tilemode for faces (default shift-LMB to pick the tile for selected faces)
Type boolean, default False
save_render(filepath, scene=None)
Save image to a specific path using a scenes render settings
Parameters
• filepath (string) – Save path.
• scene (Scene, (optional)) – Scene to take image parameters from

2.4. Types ([Link]) 447


Blender Index, Release 2.57.0 r36138 - API

save()
Save image to its source path
reload()
Reload the image from its source path
update()
Update the display image from the floating point buffer
gl_load(filter=9985, mag=9729)
Load the image into OpenGL graphics memory
Parameters
• filter (int in [-inf, inf], (optional)) – Filter, The texture minifying function
• mag (int in [-inf, inf], (optional)) – Magnification, The texture magnification function
Returns Error, OpenGL error value
Return type int in [-inf, inf]
gl_free()
Free the image from OpenGL graphics memory

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

448 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Brush.clone_image
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• UILayout.template_image_layers
• [Link]
• [Link]

2.4.254 ImagePaint(Paint)

base classes — bpy_struct, Paint


class [Link](Paint)
Properties of image and texture painting mode
invert_stencil
Invert the stencil layer
Type boolean, default False
normal_angle
Paint most on faces pointing towards the view according to this angle
Type int in [0, 90], default 0
screen_grab_size
Size to capture the image for re-projecting
Type int array of 2 items in [512, 16384], default (0, 0)
seam_bleed
Extend paint beyond the faces UVs to reduce seams (in pixels, slower)
Type int in [0, 32767], default 0
use_backface_culling
Ignore faces pointing away from the view (faster)
Type boolean, default False
use_clone_layer
Use another UV layer as clone source, otherwise use 3D the cursor as the source
Type boolean, default False
use_normal_falloff
Paint most on faces pointing towards the view
Type boolean, default False

2.4. Types ([Link]) 449


Blender Index, Release 2.57.0 r36138 - API

use_occlude
Only paint onto the faces directly under the brush (slower)
Type boolean, default False
use_projection
Use projection painting for improved consistency in the brush strokes
Type boolean, default False
use_stencil_layer
Set the mask layer from the UV layer buttons
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Paint.show_low_resolution
• Paint.show_brush
• Paint.show_brush_on_surface

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ToolSettings.image_paint

2.4.255 ImageSequence(Sequence)

base classes — bpy_struct, Sequence


class [Link](Sequence)
Sequence strip to load one or more images

450 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

animation_offset_end
Animation end offset (trim end)
Type int in [0, inf], default 0
animation_offset_start
Animation start offset (trim start)
Type int in [0, inf], default 0
color_balance
Type SequenceColorBalance, (readonly)
color_multiply
Type float in [0, 20], default 0.0
color_saturation
Type float in [0, 20], default 0.0
crop
Type SequenceCrop, (readonly)
directory
Type string, default “”
elements
Type bpy_prop_collection of SequenceElement, (readonly)
proxy
Type SequenceProxy, (readonly)
strobe
Only display every nth frame
Type float in [1, 30], default 0.0
transform
Type SequenceTransform, (readonly)
use_color_balance
(3-Way color correction) on input
Type boolean, default False
use_crop
Crop image before processing
Type boolean, default False
use_deinterlace
For video movies to remove fields
Type boolean, default False
use_flip_x
Flip on the X axis
Type boolean, default False
use_flip_y
Flip on the Y axis

2.4. Types ([Link]) 451


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_float
Convert input to float data
Type boolean, default False
use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_proxy
Use a preview proxy for this strip
Type boolean, default False
use_proxy_custom_directory
Use a custom directory to store data
Type boolean, default False
use_proxy_custom_file
Use a custom file to read proxy data from
Type boolean, default False
use_reverse_frames
Reverse frame order
Type boolean, default False
use_translation
Translate image before processing
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start

452 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.256 ImageTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)

checker_distance
Sets distance between checker tiles
Type float in [0, 0.99], default 0.0
crop_max_x
Sets maximum X value to crop the image
Type float in [-10, 10], default 0.0
crop_max_y
Sets maximum Y value to crop the image
Type float in [-10, 10], default 0.0
crop_min_x
Sets minimum X value to crop the image
Type float in [-10, 10], default 0.0
crop_min_y
Sets minimum Y value to crop the image

2.4. Types ([Link]) 453


Blender Index, Release 2.57.0 r36138 - API

Type float in [-10, 10], default 0.0


extension
Sets how the image is extrapolated past its original bounds
Type enum in [’EXTEND’, ‘CLIP’, ‘CLIP_CUBE’, ‘REPEAT’, ‘CHECKER’], default ‘EX-
TEND’
filter_eccentricity
Maximum eccentricity. Higher gives less blur at distant/oblique angles, but is also slower
Type int in [1, 256], default 0
filter_probes
Maximum number of samples. Higher gives less blur at distant/oblique angles, but is also slower
Type int in [1, 256], default 0
filter_size
Multiplies the filter size used by MIP Map and Interpolation
Type float in [0.1, 50], default 0.0
filter_type
Texture filter to use for sampling image
Type enum in [’BOX’, ‘EWA’, ‘FELINE’, ‘AREA’], default ‘BOX’
image
Type Image
image_user
Parameters defining which layer, pass and frame of the image is displayed
Type ImageUser, (readonly)
invert_alpha
Inverts all the alpha values in the image
Type boolean, default False
repeat_x
Sets a repetition multiplier in the X direction
Type int in [1, 512], default 0
repeat_y
Sets a repetition multiplier in the Y direction
Type int in [1, 512], default 0
use_alpha
Uses the alpha channel information in the image
Type boolean, default False
use_calculate_alpha
Calculates an alpha channel based on RGB values in the image
Type boolean, default False
use_checker_even
Sets even checker tiles
Type boolean, default False

454 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_checker_odd
Sets odd checker tiles
Type boolean, default False
use_filter_size_min
Use Filter Size as a minimal filter value in pixels
Type boolean, default False
use_flip_axis
Flips the texture’s X and Y axis
Type boolean, default False
use_interpolation
Interpolates pixels using selected filter
Type boolean, default False
use_mipmap
Uses auto-generated MIP maps for the image
Type boolean, default False
use_mipmap_gauss
Uses Gauss filter to sample down MIP maps
Type boolean, default False
use_mirror_x
Mirrors the image repetition on the X direction
Type boolean, default False
use_mirror_y
Mirrors the image repetition on the Y direction
Type boolean, default False
use_normal_map
Uses image RGB values for normal mapping
Type boolean, default False
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp

2.4. Types ([Link]) 455


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.257 ImageUser(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Parameters defining how an Image datablock is used by another datablock
fields_per_frame
The number of fields per rendered frame (2 fields is 1 image)
Type int in [1, 200], default 0
frame_duration
Sets the number of images of a movie to use
Type int in [0, 300000], default 0

456 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

frame_offset
Offsets the number of the frame to use in the animation
Type int in [-300000, 300000], default 0
frame_start
Sets the global starting frame of the movie/sequence, assuming first picture has a #1
Type int in [-300000, 300000], default 0
multilayer_layer
Layer in multilayer image
Type int in [0, 32767], default 0, (readonly)
multilayer_pass
Pass in multilayer image
Type int in [0, 32767], default 0, (readonly)
use_auto_refresh
Always refresh image on frame changes
Type boolean, default False
use_cyclic
Cycle the images in the movie
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• BackgroundImage.image_user
• EnvironmentMapTexture.image_user

2.4. Types ([Link]) 457


Blender Index, Release 2.57.0 r36138 - API

• ImageTexture.image_user
• SpaceImageEditor.image_user
• UILayout.template_image
• UILayout.template_image_layers
• VoxelDataTexture.image_user

2.4.258 InflowFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for objects adding fluids in the simulation
inflow_velocity
Initial velocity of fluid
Type float array of 3 items in [-1000.1, 1000.1], default (0.0, 0.0, 0.0)
use
Object contributes to the fluid simulation
Type boolean, default False
use_animated_mesh
Export this mesh as an animated one. Slower, only use if really necessary (e.g. armatures or parented
objects), animated pos/rot/scale IPOs do not require it
Type boolean, default False
use_local_coords
Use local coordinates for inflow. (e.g. for rotating objects)
Type boolean, default False
volume_initialization
Volume initialization type
Type enum in [’VOLUME’, ‘SHELL’, ‘BOTH’], default ‘VOLUME’

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

458 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.259 InputKeyMapPanel(Panel)

base classes — bpy_struct, Panel


class [Link](Panel)

classmethod append(draw_func)
Append a draw function to this menu, takes the same arguments as the menus draw function.
classmethod prepend(draw_func)
Prepend a draw function to this menu, takes the same arguments as the menus draw function.
classmethod remove(draw_func)
Remove a draw function that has been added to this menu

Inherited Properties

• bpy_struct.id_data
• Panel.bl_context
• Panel.bl_idname
• Panel.bl_label
• [Link]
• Panel.bl_options
• Panel.bl_region_type
• Panel.bl_space_type
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]

2.4. Types ([Link]) 459


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• Panel.draw_header
• [Link]
• [Link]
• [Link]

2.4.260 IntProperty(Property)

base classes — bpy_struct, Property


class [Link](Property)
RNA integer number property definition
array_length
Maximum length of the array, 0 means unlimited
Type int in [0, inf], default 0, (readonly)
default
Default value for this number
Type int in [-inf, inf], default 0, (readonly)
default_array
Default value for this array
Type int array of 3 items in [-inf, inf], default (0, 0, 0), (readonly)
hard_max
Maximum value used by buttons
Type int in [-inf, inf], default 0, (readonly)
hard_min
Minimum value used by buttons
Type int in [-inf, inf], default 0, (readonly)
soft_max
Maximum value used by buttons
Type int in [-inf, inf], default 0, (readonly)
soft_min
Minimum value used by buttons
Type int in [-inf, inf], default 0, (readonly)
step
Step size used by number buttons, for floats 1/100th of the step size
Type int in [0, inf], default 0, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden

460 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.261 Itasc(IKParam)

base classes — bpy_struct, IKParam


class [Link](IKParam)
Parameters for the iTaSC IK solver
damping_epsilon
Singular value under which damping is progressively applied. Higher values=more stability, less reactivity.
Default=0.1
Type float in [0, 1], default 0.0
damping_max
Maximum damping coefficient when singular value is nearly 0. Higher values=more stability, less reactiv-
ity. Default=0.5
Type float in [0, 1], default 0.0
feedback
Feedback coefficient for error correction. Average response time=1/feedback. Default=20
Type float in [0, 100], default 0.0

2.4. Types ([Link]) 461


Blender Index, Release 2.57.0 r36138 - API

iterations
Maximum number of iterations for convergence in case of reiteration
Type int in [1, 1000], default 0
mode
Type enum in [’ANIMATION’, ‘SIMULATION’], default ‘ANIMATION’
precision
Precision of convergence in case of reiteration
Type float in [0, 0.1], default 0.0
reiteration_method
Defines if the solver is allowed to reiterate (converges until precision is met) on none, first or all frames
Type enum in [’NEVER’, ‘INITIAL’, ‘ALWAYS’], default ‘NEVER’
solver
Solving method selection: Automatic damping or manual damping
Type enum in [’SDLS’, ‘DLS’], default ‘SDLS’
step_count
Divides the frame interval into this many steps
Type int in [1, 50], default 0
step_max
Higher bound for timestep in second in case of automatic substeps
Type float in [0, 1], default 0.0
step_min
Lower bound for timestep in second in case of automatic substeps
Type float in [0, 0.1], default 0.0
use_auto_step
Automatically determine the optimal number of steps for best performance/accuracy trade off
Type boolean, default False
velocity_max
Maximum joint velocity in rad/s. Default=50
Type float in [0, 100], default 0.0

Inherited Properties

• bpy_struct.id_data
• IKParam.ik_solver

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

462 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.262 JoystickSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect joystick events
axis_direction
The direction of the axis
Type enum in [’RIGHTAXIS’, ‘UPAXIS’, ‘LEFTAXIS’, ‘DOWNAXIS’], default ‘RIGH-
TAXIS’
axis_number
Specify which axis pair to use, 1 is usually the main direction input
Type int in [1, 2], default 0
axis_threshold
Specify the precision of the axis
Type int in [0, 32768], default 0
button_number
Specify which button to use
Type int in [0, 18], default 0
event_type
The type of event this joystick sensor is triggered on
Type enum in [’BUTTON’, ‘AXIS’, ‘HAT’, ‘AXIS_SINGLE’], default ‘BUTTON’
hat_direction
Specify hat direction
Type enum in [’UP’, ‘DOWN’, ‘LEFT’, ‘RIGHT’, ‘UPRIGHT’, ‘DOWNLEFT’, ‘UPLEFT’,
‘DOWNRIGHT’], default ‘UP’
hat_number
Specify which hat to use
Type int in [1, 2], default 0
joystick_index
Specify which joystick to use
Type int in [0, 7], default 0
single_axis_number
Specify a single axis (verticle/horizontal/other) to detect

2.4. Types ([Link]) 463


Blender Index, Release 2.57.0 r36138 - API

Type int in [1, 16], default 0


use_all_events
Triggered by all events on this joysticks current type (axis/button/hat)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.263 Key(ID)

base classes — bpy_struct, ID


class [Link](ID)
Shape keys datablock containing different shapes of geometric datablocks
animation_data
Animation data for this datablock
Type AnimData, (readonly)

464 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

key_blocks
Shape keys
Type bpy_prop_collection of ShapeKey, (readonly)
reference_key
Type ShapeKey, (readonly, never None)
slurph
Creates a delay in amount of frames in applying keypositions, first vertex goes first
Type int in [-500, 500], default 0
use_relative
Makes shape keys relative
Type boolean, default False
user
Datablock using these shape keys
Type ID, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 465


Blender Index, Release 2.57.0 r36138 - API

References

• BlendData.shape_keys
• Curve.shape_keys
• Lattice.shape_keys
• Mesh.shape_keys

2.4.264 KeyConfig(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Input configuration, including keymaps
is_user_defined
Indicates that a keyconfig was defined by the user
Type boolean, default False, (readonly)
keymaps
Key maps configured as part of this configuration
Type KeyMaps bpy_prop_collection of KeyMap, (readonly)
name
Name of the key configuration
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

466 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.265 KeyConfigurations(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of KeyConfigs
active
Active wm KeyConfig
Type KeyConfig
default
Type KeyConfig, (readonly)
new(name)
new
Parameters name (string) – Name
Returns Key Configuration, Added key configuration.
Return type KeyConfig
remove(keyconfig)
remove
Parameters keyconfig (KeyConfig) – Key Configuration, Removed key configuration.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

2.4. Types ([Link]) 467


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.266 KeyMap(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Input configuration, including keymaps
is_modal
Indicates that a keymap is used for translate modal events for an operator
Type boolean, default False, (readonly)
is_user_defined
Keymap is defined by the user
Type boolean, default False
keymap_items
Items in the keymap, linking an operator to an input event
Type KeyMapItems bpy_prop_collection of KeyMapItem, (readonly)
name
Name of the key map
Type string, default “”, (readonly)
region_type
Optional region type keymap is associated with
Type enum in [’WINDOW’, ‘HEADER’, ‘CHANNELS’, ‘TEMPORARY’, ‘UI’, ‘TOOLS’,
‘TOOL_PROPS’, ‘PREVIEW’], default ‘WINDOW’, (readonly)
show_expanded_children
Children expanded in the user interface
Type boolean, default False
show_expanded_items
Expanded in the user interface
Type boolean, default False
space_type
Optional space type keymap is associated with
Type enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUTLINER’, ‘PROP-
ERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SEQUENCE_EDITOR’,
‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’,
‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’, ‘CON-
SOLE’, ‘USER_PREFERENCES’], default ‘EMPTY’, (readonly)

468 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

active()
active
Returns Key Map, Active key map.
Return type KeyMap
copy_to_user()
copy_to_user
Returns Key Map, User editable key map.
Return type KeyMap
restore_to_default()
restore_to_default
restore_item_to_default(item)
restore_item_to_default
Parameters item (KeyMapItem, (never None)) – Item

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• KeyMap.copy_to_user
• [Link]
• KeyMaps.find_modal
• [Link]
• UserPreferencesInput.edited_keymaps

2.4. Types ([Link]) 469


Blender Index, Release 2.57.0 r36138 - API

2.4.267 KeyMapItem(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Item in a Key Map
active
Activate or deactivate item
Type boolean, default False
alt
Alt key pressed
Type boolean, default False
any
Any modifier keys pressed
Type boolean, default False
ctrl
Control key pressed
Type boolean, default False
id
ID of the item
Type int in [-32768, 32767], default 0, (readonly)
idname
Identifier of operator to call on input event
Type string, default “”
is_user_defined
Is this keymap item user defined (doesn’t just override a builtin item)
Type boolean, default False, (readonly)
key_modifier
Regular key pressed as a modifier
Type enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’, ‘BUT-
TON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,

470 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], default ‘NONE’
map_type
Type of event mapping
Type enum in [’KEYBOARD’, ‘TWEAK’, ‘MOUSE’, ‘TEXTINPUT’, ‘TIMER’], default
‘KEYBOARD’
name
Name of operator to call on input event
Type string, default “”, (readonly)
oskey
Operating system key pressed
Type boolean, default False
properties
Properties to set when the operator is called
Type OperatorProperties, (readonly)
propvalue
The value this event translates to in a modal keymap
Type enum in [’NONE’], default ‘NONE’
shift
Shift key pressed
Type boolean, default False
show_expanded
Show key map event and property details in the user interface
Type boolean, default False
type
Type of event
Type enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’, ‘BUT-
TON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,

2.4. Types ([Link]) 471


Blender Index, Release 2.57.0 r36138 - API

‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,


‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], default ‘NONE’
value
Type enum in [’ANY’, ‘NOTHING’, ‘PRESS’, ‘RELEASE’, ‘CLICK’, ‘DOUBLE_CLICK’],
default ‘NOTHING’
compare(item)
compare
Parameters item (KeyMapItem) – Item
Returns Comparison result
Return type boolean

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• KeyMap.keymap_items
• KeyMap.restore_item_to_default
• [Link]
• KeyMapItems.from_id
• [Link]
• KeyMapItems.new_modal
• [Link]

472 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.268 KeyMapItems(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of keymap items
new(idname, type, value, any=False, shift=False, ctrl=False, alt=False, oskey=False,
key_modifier=’NONE’)
new
Parameters
• idname (string) – Operator Identifier
• type (enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’,
‘BUTTON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’]) – Type
• value (enum in [’ANY’, ‘NOTHING’, ‘PRESS’, ‘RELEASE’, ‘CLICK’, ‘DOU-
BLE_CLICK’]) – Value
• any (boolean, (optional)) – Any
• shift (boolean, (optional)) – Shift
• ctrl (boolean, (optional)) – Ctrl
• alt (boolean, (optional)) – Alt
• oskey (boolean, (optional)) – OS Key
• key_modifier (enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHT-
MOUSE’, ‘BUTTON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SE-
LECTMOUSE’, ‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPAD-
PAN’, ‘TRACKPADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEEL-
DOWNMOUSE’, ‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’,
‘EVT_TWEAK_M’, ‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’,
‘C’, ‘D’, ‘E’, ‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’,
‘W’, ‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,

2.4. Types ([Link]) 473


Blender Index, Release 2.57.0 r36138 - API

‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,


‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], (optional)) – Key
Modifier
Returns Item, Added key map item.
Return type KeyMapItem
new_modal(propvalue, type, value, any=False, shift=False, ctrl=False, alt=False, oskey=False,
key_modifier=’NONE’)
new_modal
Parameters
• propvalue (string) – Property Value
• type (enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’,
‘BUTTON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’]) – Type
• value (enum in [’ANY’, ‘NOTHING’, ‘PRESS’, ‘RELEASE’, ‘CLICK’, ‘DOU-
BLE_CLICK’]) – Value
• any (boolean, (optional)) – Any
• shift (boolean, (optional)) – Shift
• ctrl (boolean, (optional)) – Ctrl
• alt (boolean, (optional)) – Alt
• oskey (boolean, (optional)) – OS Key

474 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• key_modifier (enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHT-


MOUSE’, ‘BUTTON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SE-
LECTMOUSE’, ‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPAD-
PAN’, ‘TRACKPADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEEL-
DOWNMOUSE’, ‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’,
‘EVT_TWEAK_M’, ‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’,
‘C’, ‘D’, ‘E’, ‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’,
‘W’, ‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], (optional)) – Key
Modifier
Returns Item, Added key map item.
Return type KeyMapItem
remove(item)
remove
Parameters item (KeyMapItem) – Item
from_id(id)
from_id
Parameters id (int in [-inf, inf]) – id, ID of the item
Returns Item
Return type KeyMapItem

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 475


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• KeyMap.keymap_items

2.4.269 KeyMaps(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of keymaps
new(name, space_type=’EMPTY’, region_type=’WINDOW’, modal=False)
new
Parameters
• name (string) – Name
• space_type (enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUT-
LINER’, ‘PROPERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SE-
QUENCE_EDITOR’, ‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’,
‘NLA_EDITOR’, ‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’,
‘LOGIC_EDITOR’, ‘CONSOLE’, ‘USER_PREFERENCES’], (optional)) – Space
Type
• region_type (enum in [’WINDOW’, ‘HEADER’, ‘CHANNELS’, ‘TEMPORARY’, ‘UI’,
‘TOOLS’, ‘TOOL_PROPS’, ‘PREVIEW’], (optional)) – Region Type
• modal (boolean, (optional)) – Modal
Returns Key Map, Added key map.
Return type KeyMap
find(name, space_type=’EMPTY’, region_type=’WINDOW’)
find
Parameters
• name (string) – Name
• space_type (enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUT-
LINER’, ‘PROPERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SE-
QUENCE_EDITOR’, ‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’,
‘NLA_EDITOR’, ‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’,
‘LOGIC_EDITOR’, ‘CONSOLE’, ‘USER_PREFERENCES’], (optional)) – Space
Type
• region_type (enum in [’WINDOW’, ‘HEADER’, ‘CHANNELS’, ‘TEMPORARY’, ‘UI’,
‘TOOLS’, ‘TOOL_PROPS’, ‘PREVIEW’], (optional)) – Region Type
Returns Key Map, Corresponding key map.

476 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Return type KeyMap


find_modal(name)
find_modal
Parameters name (string) – Operator Name
Returns Key Map, Corresponding key map.
Return type KeyMap

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.270 KeyboardSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect keyboard events
key
Type enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’, ‘BUT-
TON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,

2.4. Types ([Link]) 477


Blender Index, Release 2.57.0 r36138 - API

‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], default ‘NONE’
log
Property that indicates whether to log keystrokes as a string
Type string, default “”
modifier_key_1
Modifier key code
Type enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’, ‘BUT-
TON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,
‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,
‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], default ‘NONE’
modifier_key_2
Modifier key code
Type enum in [’NONE’, ‘LEFTMOUSE’, ‘MIDDLEMOUSE’, ‘RIGHTMOUSE’, ‘BUT-
TON4MOUSE’, ‘BUTTON5MOUSE’, ‘ACTIONMOUSE’, ‘SELECTMOUSE’,
‘MOUSEMOVE’, ‘INBETWEEN_MOUSEMOVE’, ‘TRACKPADPAN’, ‘TRACK-
PADZOOM’, ‘MOUSEROTATE’, ‘WHEELUPMOUSE’, ‘WHEELDOWNMOUSE’,
‘WHEELINMOUSE’, ‘WHEELOUTMOUSE’, ‘EVT_TWEAK_L’, ‘EVT_TWEAK_M’,
‘EVT_TWEAK_R’, ‘EVT_TWEAK_A’, ‘EVT_TWEAK_S’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’,
‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’,
‘X’, ‘Y’, ‘Z’, ‘ZERO’, ‘ONE’, ‘TWO’, ‘THREE’, ‘FOUR’, ‘FIVE’, ‘SIX’, ‘SEVEN’,
‘EIGHT’, ‘NINE’, ‘LEFT_CTRL’, ‘LEFT_ALT’, ‘LEFT_SHIFT’, ‘RIGHT_ALT’,

478 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘RIGHT_CTRL’, ‘RIGHT_SHIFT’, ‘OSKEY’, ‘GRLESS’, ‘ESC’, ‘TAB’, ‘RET’, ‘SPACE’,


‘LINE_FEED’, ‘BACK_SPACE’, ‘DEL’, ‘SEMI_COLON’, ‘PERIOD’, ‘COMMA’,
‘QUOTE’, ‘ACCENT_GRAVE’, ‘MINUS’, ‘SLASH’, ‘BACK_SLASH’, ‘EQUAL’,
‘LEFT_BRACKET’, ‘RIGHT_BRACKET’, ‘LEFT_ARROW’, ‘DOWN_ARROW’,
‘RIGHT_ARROW’, ‘UP_ARROW’, ‘NUMPAD_2’, ‘NUMPAD_4’, ‘NUMPAD_6’,
‘NUMPAD_8’, ‘NUMPAD_1’, ‘NUMPAD_3’, ‘NUMPAD_5’, ‘NUMPAD_7’,
‘NUMPAD_9’, ‘NUMPAD_PERIOD’, ‘NUMPAD_SLASH’, ‘NUMPAD_ASTERIX’,
‘NUMPAD_0’, ‘NUMPAD_MINUS’, ‘NUMPAD_ENTER’, ‘NUMPAD_PLUS’, ‘F1’,
‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’, ‘F8’, ‘F9’, ‘F10’, ‘F11’, ‘F12’, ‘F13’, ‘F14’, ‘F15’,
‘F16’, ‘F17’, ‘F18’, ‘F19’, ‘PAUSE’, ‘INSERT’, ‘HOME’, ‘PAGE_UP’, ‘PAGE_DOWN’,
‘END’, ‘MEDIA_PLAY’, ‘MEDIA_STOP’, ‘MEDIA_FIRST’, ‘MEDIA_LAST’, ‘WIN-
DOW_DEACTIVATE’, ‘TIMER’, ‘TIMER0’, ‘TIMER1’, ‘TIMER2’], default ‘NONE’
target
Property that receive the keystrokes in case a string is logged
Type string, default “”
use_all_keys
Trigger this sensor on any keystroke
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 479


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values
• [Link]
• [Link]

2.4.271 Keyframe(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Bezier curve point with two handles defining a Keyframe on an F-Curve
co
Coordinates of the control point
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
handle_left
Coordinates of the first handle
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
handle_left_type
Handle types
Type enum in [’FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
handle_right
Coordinates of the second handle
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
handle_right_type
Handle types
Type enum in [’FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
interpolation
Interpolation method to use for segment of the curve from this Keyframe until the next Keyframe
Type enum in [’CONSTANT’, ‘LINEAR’, ‘BEZIER’], default ‘CONSTANT’
select_control_point
Control point selection status
Type boolean, default False
select_left_handle
Handle 1 selection status
Type boolean, default False
select_right_handle
Handle 2 selection status
Type boolean, default False
type
The type of keyframe
Type enum in [’KEYFRAME’, ‘BREAKDOWN’, ‘EXTREME’, ‘JITTER’], default
‘KEYFRAME’

480 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• FCurve.keyframe_points
• [Link]
• [Link]

2.4.272 KeyingSet(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings that should be keyframed together
bl_options
Keying set options
Type enum set in {‘INSERTKEY_NEEDED’, ‘INSERTKEY_VISUAL’, ‘IN-
SERTKEY_XYZ_TO_RGB’}, default {‘INSERTKEY_NEEDED’}
is_path_absolute
Keying Set defines specific paths/settings to be keyframed (i.e. is not reliant on context info)
Type boolean, default False, (readonly)
name
Type string, default “”
paths
Keying Set Paths to define settings that get keyframed together
Type KeyingSetPaths bpy_prop_collection of KeyingSetPath, (readonly)

2.4. Types ([Link]) 481


Blender Index, Release 2.57.0 r36138 - API

type_info
Callback function defines for built-in Keying Sets
Type KeyingSetInfo, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Scene.keying_sets
• Scene.keying_sets_all

2.4.273 KeyingSetInfo(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Callback function defines for builtin Keying Sets
bl_idname
Type string, default “”
bl_label
Type string, default “”

482 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

bl_options
Keying set options
Type enum set in {‘INSERTKEY_NEEDED’, ‘INSERTKEY_VISUAL’, ‘IN-
SERTKEY_XYZ_TO_RGB’}, default {‘INSERTKEY_NEEDED’}
poll(context)
Test if Keying Set can be used or not
Return type boolean
iterator(context, ks)
Call generate() on the structs which have properties to be keyframed

generate(context, ks, data)


Add Paths to the Keying Set to keyframe the properties of the given data

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• KeyingSet.type_info

2.4.274 KeyingSetPath(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Path to a setting for use in a Keying Set

2.4. Types ([Link]) 483


Blender Index, Release 2.57.0 r36138 - API

array_index
Index to the specific setting if applicable
Type int in [-inf, inf], default 0
bl_options
Keying set options
Type enum set in {‘INSERTKEY_NEEDED’, ‘INSERTKEY_VISUAL’, ‘IN-
SERTKEY_XYZ_TO_RGB’}, default {‘INSERTKEY_NEEDED’}
data_path
Path to property setting
Type string, default “”
group
Name of Action Group to assign setting(s) for this path to
Type string, default “”
group_method
Method used to define which Group-name to use
Type enum in [’NAMED’, ‘NONE’, ‘KEYINGSET’], default ‘NAMED’
id
ID-Block that keyframes for Keying Set should be added to (for Absolute Keying Sets only)
Type ID
id_type
Type of ID-block that can be used
Type enum in [’ACTION’, ‘ARMATURE’, ‘BRUSH’, ‘CAMERA’, ‘CURVE’, ‘FONT’,
‘GREASEPENCIL’, ‘GROUP’, ‘IMAGE’, ‘KEY’, ‘LAMP’, ‘LIBRARY’, ‘LATTICE’,
‘MATERIAL’, ‘META’, ‘MESH’, ‘NODETREE’, ‘OBJECT’, ‘PARTICLE’, ‘SCENE’,
‘SCREEN’, ‘SOUND’, ‘TEXT’, ‘TEXTURE’, ‘WORLD’, ‘WINDOWMANAGER’], de-
fault ‘OBJECT’
use_entire_array
When an ‘array/vector’ type is chosen (Location, Rotation, Color, etc.), entire array is to be used
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

484 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]

2.4.275 KeyingSetPaths(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of keying set paths
active
Active Keying Set used to insert/delete keyframes
Type KeyingSetPath
active_index
Current Keying Set index
Type int in [-inf, inf], default 0
add(target_id, data_path, index=-1, group_method=’KEYINGSET’, group_name=”“)
Add a new path for the Keying Set.
Parameters
• target_id (ID) – Target ID, ID-Datablock for the destination.
• data_path (string) – Data-Path, RNA-Path to destination property.
• index (int in [-1, inf], (optional)) – Index, The index of the destination property (i.e. axis
of Location/Rotation/etc.), or -1 for the entire array.
• group_method (enum in [’NAMED’, ‘NONE’, ‘KEYINGSET’], (optional)) – Grouping
Method, Method used to define which Group-name to use.
• group_name (string, (optional)) – Group Name, Name of Action Group to assign desti-
nation to (only if grouping mode is to use this name).
Returns New Path, Path created and added to the Keying Set
Return type KeyingSetPath
remove(path)
Remove the given path from the Keying Set.
Parameters path (KeyingSetPath, (never None)) – Path
clear()
Remove all the paths from the Keying Set.

2.4. Types ([Link]) 485


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.276 KeyingSets(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Scene keying sets
active
Active Keying Set used to insert/delete keyframes
Type KeyingSet
active_index
Current Keying Set index (negative for ‘builtin’ and positive for ‘absolute’)
Type int in [-inf, inf], default 0
new(name=”KeyingSet”)
Add a new Keying Set to Scene.
Parameters name (string, (optional)) – Name, Name of Keying Set
Returns Newly created Keying Set.
Return type KeyingSet

486 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.keying_sets

2.4.277 KeyingSetsAll(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
All available keying sets
active
Active Keying Set used to insert/delete keyframes
Type KeyingSet
active_index
Current Keying Set index (negative for ‘builtin’ and positive for ‘absolute’)
Type int in [-inf, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add

2.4. Types ([Link]) 487


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.keying_sets_all

2.4.278 KinematicConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Inverse Kinematics
chain_count
How many bones are included in the IK effect - 0 uses all bones
Type int in [0, 255], default 0
distance
Radius of limiting sphere
Type float in [0, 100], default 0.0
ik_type
Type enum in [’COPY_POSE’, ‘DISTANCE’], default ‘COPY_POSE’
iterations
Maximum number of solving iterations
Type int in [1, 10000], default 0
limit_mode
Distances in relation to sphere of influence to allow
Type enum in [’LIMITDIST_INSIDE’, ‘LIMITDIST_OUTSIDE’, ‘LIMIT-
DIST_ONSURFACE’], default ‘LIMITDIST_INSIDE’
lock_location_x
Constraint position along X axis
Type boolean, default False
lock_location_y
Constraint position along Y axis
Type boolean, default False

488 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

lock_location_z
Constraint position along Z axis
Type boolean, default False
lock_rotation_x
Constraint rotation along X axis
Type boolean, default False
lock_rotation_y
Constraint rotation along Y axis
Type boolean, default False
lock_rotation_z
Constraint rotation along Z axis
Type boolean, default False
orient_weight
For Tree-IK: Weight of orientation control for this target
Type float in [0.01, 1], default 0.0
pole_angle
Pole rotation offset
Type float in [-3.14159, 3.14159], default 0.0
pole_subtarget
Type string, default “”
pole_target
Object for pole rotation
Type Object
reference_axis
Constraint axis Lock options relative to Bone or Target reference
Type enum in [’BONE’, ‘TARGET’], default ‘BONE’
subtarget
Type string, default “”
target
Target Object
Type Object
use_location
Chain follows position of target
Type boolean, default False
use_rotation
Chain follows rotation of target
Type boolean, default False
use_stretch
Enable IK Stretching
Type boolean, default False

2.4. Types ([Link]) 489


Blender Index, Release 2.57.0 r36138 - API

use_tail
Include bone’s tail as last element in chain
Type boolean, default False
use_target
Disable for targetless IK
Type boolean, default False
weight
For Tree-IK: Weight of position control for this target
Type float in [0.01, 1], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.279 Lamp(ID)

base classes — bpy_struct, ID

490 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

subclasses — SpotLamp, AreaLamp, HemiLamp, PointLamp, SunLamp


class [Link](ID)
Lamp datablock for lighting a scene
active_texture
Active texture slot being displayed
Type Texture
active_texture_index
Index of active texture slot
Type int in [0, 17], default 0
animation_data
Animation data for this datablock
Type AnimData, (readonly)
color
Light color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
distance
Falloff distance - the light is at half the original intensity at this point
Type float in [0, inf], default 0.0
energy
Amount of light that the lamp emits
Type float in [-inf, inf], default 0.0
texture_slots
Texture slots defining the mapping and influence of textures
Type LampTextureSlots bpy_prop_collection of LampTextureSlot, (read-
only)
type
Type of Lamp
Type enum in [’POINT’, ‘SUN’, ‘SPOT’, ‘HEMI’, ‘AREA’], default ‘POINT’
use_diffuse
Lamp does diffuse shading
Type boolean, default False
use_negative
Lamp casts negative light
Type boolean, default False
use_own_layer
Illuminates objects only on the same layer the lamp is on
Type boolean, default False
use_specular
Lamp creates specular highlights
Type boolean, default False

2.4. Types ([Link]) 491


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.280 LampSkySettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Sky related settings for a sun lamp
atmosphere_distance_factor
Multiplier to convert blender units to physical distance
Type float in [0, 500], default 0.0
atmosphere_extinction
Extinction scattering contribution factor

492 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1], default 0.0


atmosphere_inscattering
Scatter contribution factor
Type float in [0, 1], default 0.0
atmosphere_turbidity
Sky turbidity
Type float in [1, 30], default 0.0
backscattered_light
Backscattered light
Type float in [-1, 1], default 0.0
horizon_brightness
Horizon brightness
Type float in [0, 20], default 0.0
sky_blend
Blend factor with sky
Type float in [0, 2], default 0.0
sky_blend_type
Blend mode for combining sun sky with world sky
Type enum in [’MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIF-
FERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SAT-
URATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
sky_color_space
Color space to use for internal XYZ->RGB color conversion
Type enum in [’SMPTE’, ‘REC709’, ‘CIE’], default ‘SMPTE’
sky_exposure
Strength of sky shading exponential exposure correction
Type float in [0, 20], default 0.0
spread
Horizon Spread
Type float in [0, 10], default 0.0
sun_brightness
Sun brightness
Type float in [0, 10], default 0.0
sun_intensity
Sun intensity
Type float in [0, 10], default 0.0
sun_size
Sun size
Type float in [0, 10], default 0.0
use_atmosphere
Apply sun effect on atmosphere

2.4. Types ([Link]) 493


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_sky
Apply sun effect on sky
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.281 LampTextureSlot(TextureSlot)

base classes — bpy_struct, TextureSlot


class [Link](TextureSlot)
Texture slot for textures in a Lamp datablock
color_factor
Amount texture affects color values
Type float in [-inf, inf], default 0.0
object
Object to use for mapping with Object texture coordinates
Type Object
shadow_factor
Amount texture affects shadow
Type float in [-inf, inf], default 0.0

494 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

texture_coords
Type enum in [’GLOBAL’, ‘VIEW’, ‘OBJECT’], default ‘GLOBAL’
use_map_color
Lets the texture affect the basic color of the lamp
Type boolean, default False
use_map_shadow
Lets the texture affect the shadow color of the lamp
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• TextureSlot.blend_type
• [Link]
• TextureSlot.default_value
• [Link]
• [Link]
• TextureSlot.output_node
• TextureSlot.use_rgb_to_intensity
• [Link]
• TextureSlot.use_stencil
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Lamp.texture_slots
• [Link]
• [Link]

2.4. Types ([Link]) 495


Blender Index, Release 2.57.0 r36138 - API

2.4.282 LampTextureSlots(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of texture slots
classmethod add()
add
Returns The newly initialized mtex.
Return type LampTextureSlot
classmethod create(index)
create
Parameters index (int in [0, inf]) – Index, Slot index to initialize.
Returns The newly initialized mtex.
Return type LampTextureSlot
classmethod clear(index)
clear
Parameters index (int in [0, inf]) – Index, Slot index to clear.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Lamp.texture_slots

496 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.283 Lattice(ID)

base classes — bpy_struct, ID


class [Link](ID)
Lattice datablock defining a grid for deforming other objects
animation_data
Animation data for this datablock
Type AnimData, (readonly)
interpolation_type_u
Type enum in [’KEY_LINEAR’, ‘KEY_CARDINAL’, ‘KEY_BSPLINE’], default
‘KEY_LINEAR’
interpolation_type_v
Type enum in [’KEY_LINEAR’, ‘KEY_CARDINAL’, ‘KEY_BSPLINE’], default
‘KEY_LINEAR’
interpolation_type_w
Type enum in [’KEY_LINEAR’, ‘KEY_CARDINAL’, ‘KEY_BSPLINE’], default
‘KEY_LINEAR’
points
Points of the lattice
Type bpy_prop_collection of LatticePoint, (readonly)
points_u
Points in U direction (can’t be changed when there are shape keys)
Type int in [1, 64], default 0
points_v
Points in V direction (can’t be changed when there are shape keys)
Type int in [1, 64], default 0
points_w
Points in W direction (can’t be changed when there are shape keys)
Type int in [1, 64], default 0
shape_keys
Type Key, (readonly)
use_outside
Only draw, and take into account, the outer vertices
Type boolean, default False
vertex_group
Vertex group to apply the influence of the lattice
Type string, default “”

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 497


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.284 LatticeModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Lattice deformation modifier
object
Lattice object to deform with
Type Object
vertex_group
Name of Vertex Group which determines influence of modifier per point
Type string, default “”

498 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.285 LatticePoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point in the lattice grid
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)
co_deform
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
groups
Weights for the vertex groups this point is member of
Type bpy_prop_collection of VertexGroupElement, (readonly)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 499


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.286 Library(ID)

base classes — bpy_struct, ID


class [Link](ID)
External .blend file from which data is linked
filepath
Path to the library .blend file
Type string, default “”
parent
Type Library, (readonly)
users_id
ID datablocks which use this library (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

500 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.287 LimitDistanceConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Limits the distance from target object
distance
Radius of limiting sphere
Type float in [0, 100], default 0.0
limit_mode
Distances in relation to sphere of influence to allow
Type enum in [’LIMITDIST_INSIDE’, ‘LIMITDIST_OUTSIDE’, ‘LIMIT-
DIST_ONSURFACE’], default ‘LIMITDIST_INSIDE’
subtarget
Type string, default “”
target
Target Object
Type Object

2.4. Types ([Link]) 501


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.288 LimitLocationConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Limits the location of the constrained object
max_x
Highest X value to allow
Type float in [-1000, 1000], default 0.0
max_y
Highest Y value to allow
Type float in [-1000, 1000], default 0.0
max_z
Highest Z value to allow

502 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-1000, 1000], default 0.0


min_x
Lowest X value to allow
Type float in [-1000, 1000], default 0.0
min_y
Lowest Y value to allow
Type float in [-1000, 1000], default 0.0
min_z
Lowest Z value to allow
Type float in [-1000, 1000], default 0.0
use_max_x
Use the maximum X value
Type boolean, default False
use_max_y
Use the maximum Y value
Type boolean, default False
use_max_z
Use the maximum Z value
Type boolean, default False
use_min_x
Use the minimum X value
Type boolean, default False
use_min_y
Use the minimum Y value
Type boolean, default False
use_min_z
Use the minimum Z value
Type boolean, default False
use_transform_limit
Transforms are affected by this constraint as well
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space

2.4. Types ([Link]) 503


Blender Index, Release 2.57.0 r36138 - API

• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.289 LimitRotationConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Limits the rotation of the constrained object
max_x
Highest X value to allow
Type float in [-1000, 1000], default 0.0
max_y
Highest Y value to allow
Type float in [-1000, 1000], default 0.0
max_z
Highest Z value to allow
Type float in [-1000, 1000], default 0.0
min_x
Lowest X value to allow
Type float in [-1000, 1000], default 0.0
min_y
Lowest Y value to allow
Type float in [-1000, 1000], default 0.0
min_z
Lowest Z value to allow

504 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-1000, 1000], default 0.0


use_limit_x
Use the minimum X value
Type boolean, default False
use_limit_y
Use the minimum Y value
Type boolean, default False
use_limit_z
Use the minimum Z value
Type boolean, default False
use_transform_limit
Transforms are affected by this constraint as well
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 505


Blender Index, Release 2.57.0 r36138 - API

2.4.290 LimitScaleConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Limits the scaling of the constrained object
max_x
Highest X value to allow
Type float in [-1000, 1000], default 0.0
max_y
Highest Y value to allow
Type float in [-1000, 1000], default 0.0
max_z
Highest Z value to allow
Type float in [-1000, 1000], default 0.0
min_x
Lowest X value to allow
Type float in [-1000, 1000], default 0.0
min_y
Lowest Y value to allow
Type float in [-1000, 1000], default 0.0
min_z
Lowest Z value to allow
Type float in [-1000, 1000], default 0.0
use_max_x
Use the maximum X value
Type boolean, default False
use_max_y
Use the maximum Y value
Type boolean, default False
use_max_z
Use the maximum Z value
Type boolean, default False
use_min_x
Use the minimum X value
Type boolean, default False
use_min_y
Use the minimum Y value
Type boolean, default False
use_min_z
Use the minimum Z value
Type boolean, default False

506 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_transform_limit
Transforms are affected by this constraint as well
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.291 LockedTrackConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Points toward the target along the track axis, while locking the other axis
lock_axis
Axis that points upward
Type enum in [’LOCK_X’, ‘LOCK_Y’, ‘LOCK_Z’], default ‘LOCK_X’
subtarget

2.4. Types ([Link]) 507


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


target
Target Object
Type Object
track_axis
Axis that points to the target object
Type enum in [’TRACK_X’, ‘TRACK_Y’, ‘TRACK_Z’, ‘TRACK_NEGATIVE_X’,
‘TRACK_NEGATIVE_Y’, ‘TRACK_NEGATIVE_Z’], default ‘TRACK_X’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.292 Macro(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Storage of a macro operator being executed, or registered after execution

508 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

bl_description
Type string, default “”
bl_idname
Type string, default “”
bl_label
Type string, default “”
bl_options
Options for this operator type
Type enum set in {‘REGISTER’, ‘UNDO’, ‘BLOCKING’, ‘MACRO’, ‘GRAB_POINTER’,
‘PRESET’}, default {‘REGISTER’}
name
Type string, default “”, (readonly)
properties
Type OperatorProperties, (readonly, never None)
report(type, message)
report
Parameters
• type (enum set in {‘DEBUG’, ‘INFO’, ‘OPERATOR’, ‘WARNING’, ‘ER-
ROR’, ‘ERROR_INVALID_INPUT’, ‘ERROR_INVALID_CONTEXT’, ‘ER-
ROR_OUT_OF_MEMORY’}) – Type
• message (string) – Report Message
classmethod poll(context)
Test if the operator can be called or not.
Return type boolean
draw(context)
Draw function for the operator.

define(opname)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 509


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.293 MagicTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural noise texture
noise_depth
Sets the depth of the cloud calculation
Type int in [0, 30], default 0
turbulence
Sets the turbulence of the bandnoise and ringnoise types
Type float in [0.0001, inf], default 0.0
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier

510 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.294 MaintainVolumeConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Maintains a constant volume along a single scaling axis
free_axis
The free scaling axis of the object
Type enum in [’SAMEVOL_X’, ‘SAMEVOL_Y’, ‘SAMEVOL_Z’], default ‘SAMEVOL_X’
volume
Volume of the bone at rest
Type float in [0.001, 100], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location

2.4. Types ([Link]) 511


Blender Index, Release 2.57.0 r36138 - API

• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.295 MarbleTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural noise texture
marble_type
Type enum in [’SOFT’, ‘SHARP’, ‘SHARPER’], default ‘SOFT’
nabla
Size of derivative offset used for calculating normal
Type float in [0.001, 0.1], default 0.0
noise_basis
Sets the noise basis used for turbulence
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_basis_2
Type enum in [’SIN’, ‘SAW’, ‘TRI’], default ‘SIN’
noise_depth
Sets the depth of the cloud calculation
Type int in [0, 30], default 0

512 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
noise_type
Type enum in [’SOFT_NOISE’, ‘HARD_NOISE’], default ‘SOFT_NOISE’
turbulence
Sets the turbulence of the bandnoise and ringnoise types
Type float in [0.0001, inf], default 0.0
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 513


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.296 MaskModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Mask modifier to hide parts of the mesh
armature
Armature to use as source of bones to mask
Type Object
invert_vertex_group
Use vertices that are not part of region defined
Type boolean, default False
mode
Type enum in [’VERTEX_GROUP’, ‘ARMATURE’], default ‘VERTEX_GROUP’
vertex_group
Vertex group name
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add

514 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.297 Material(ID)

base classes — bpy_struct, ID


class [Link](ID)
Material datablock to defined the appearance of geometric objects for rendering
active_node_material
Active node material
Type Material
active_texture
Active texture slot being displayed
Type Texture
active_texture_index
Index of active texture slot
Type int in [0, 17], default 0
alpha
Alpha transparency of the material
Type float in [0, 1], default 0.0
ambient
Amount of global ambient color the material receives
Type float in [0, 1], default 0.0
animation_data
Animation data for this datablock
Type AnimData, (readonly)
darkness
Minnaert darkness
Type float in [0, 2], default 0.0
diffuse_color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 515


Blender Index, Release 2.57.0 r36138 - API

diffuse_fresnel
Power of Fresnel
Type float in [0, 5], default 0.0
diffuse_fresnel_factor
Blending factor of Fresnel
Type float in [0, 5], default 0.0
diffuse_intensity
Amount of diffuse reflection
Type float in [0, 1], default 0.0
diffuse_ramp
Color ramp used to affect diffuse shading
Type ColorRamp, (readonly)
diffuse_ramp_blend
Type enum in [’MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIF-
FERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SAT-
URATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
diffuse_ramp_factor
Blending factor (also uses alpha in Colorband)
Type float in [0, 1], default 0.0
diffuse_ramp_input
Type enum in [’SHADER’, ‘ENERGY’, ‘NORMAL’, ‘RESULT’], default ‘SHADER’
diffuse_shader
Type enum in [’LAMBERT’, ‘OREN_NAYAR’, ‘TOON’, ‘MINNAERT’, ‘FRESNEL’], de-
fault ‘LAMBERT’
diffuse_toon_size
Size of diffuse toon area
Type float in [0, 3.14], default 0.0
diffuse_toon_smooth
Smoothness of diffuse toon area
Type float in [0, 1], default 0.0
emit
Amount of light to emit
Type float in [0, inf], default 0.0
halo
Halo settings for the material
Type MaterialHalo, (readonly, never None)
invert_z
Renders material’s faces with an inverted Z buffer (scanline only)
Type boolean, default False
light_group
Limit lighting to lamps in this Group

516 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type Group
mirror_color
Mirror color of the material
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
node_tree
Node tree for node based materials
Type NodeTree, (readonly)
offset_z
Gives faces an artificial offset in the Z buffer for Z transparency
Type float in [-inf, inf], default 0.0
physics
Game physics settings
Type MaterialPhysics, (readonly, never None)
preview_render_type
Type of preview render
Type enum in [’FLAT’, ‘SPHERE’, ‘CUBE’, ‘MONKEY’, ‘HAIR’, ‘SPHERE_A’], default
‘FLAT’
raytrace_mirror
Raytraced reflection settings for the material
Type MaterialRaytraceMirror, (readonly, never None)
raytrace_transparency
Raytraced transparency settings for the material
Type MaterialRaytraceTransparency, (readonly, never None)
roughness
Oren-Nayar Roughness
Type float in [0, 3.14], default 0.0
shadow_buffer_bias
Factor to multiply shadow buffer bias with (0 is ignore.)
Type float in [0, 10], default 0.0
shadow_cast_alpha
Shadow casting alpha, in use for Irregular and Deep shadow buffer
Type float in [0.001, 1], default 0.0
shadow_only_type
How to draw shadows
Type enum in [’SHADOW_ONLY_OLD’, ‘SHADOW_ONLY’,
‘SHADOW_ONLY_SHADED’], default ‘SHADOW_ONLY_OLD’
shadow_ray_bias
Shadow raytracing bias to prevent terminator problems on shadow boundary
Type float in [0, 0.25], default 0.0
specular_alpha
Alpha transparency for specular areas

2.4. Types ([Link]) 517


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1], default 0.0


specular_color
Specular color of the material
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
specular_hardness
Type int in [1, 511], default 0
specular_intensity
Type float in [0, 1], default 0.0
specular_ior
Type float in [1, 10], default 0.0
specular_ramp
Color ramp used to affect specular shading
Type ColorRamp, (readonly)
specular_ramp_blend
Type enum in [’MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIF-
FERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SAT-
URATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
specular_ramp_factor
Blending factor (also uses alpha in Colorband)
Type float in [0, 1], default 0.0
specular_ramp_input
Type enum in [’SHADER’, ‘ENERGY’, ‘NORMAL’, ‘RESULT’], default ‘SHADER’
specular_shader
Type enum in [’COOKTORR’, ‘PHONG’, ‘BLINN’, ‘TOON’, ‘WARDISO’], default ‘COOK-
TORR’
specular_slope
The standard deviation of surface slope
Type float in [0, 0.4], default 0.0
specular_toon_size
Size of specular toon area
Type float in [0, 1.53], default 0.0
specular_toon_smooth
Smoothness of specular toon area
Type float in [0, 1], default 0.0
strand
Strand settings for the material
Type MaterialStrand, (readonly, never None)
subsurface_scattering
Subsurface scattering settings for the material
Type MaterialSubsurfaceScattering, (readonly, never None)

518 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

texture_slots
Texture slots defining the mapping and influence of textures
Type MaterialTextureSlots bpy_prop_collection of
MaterialTextureSlot, (readonly)
translucency
Amount of diffuse shading on the back side
Type float in [0, 1], default 0.0
transparency_method
Method to use for rendering transparency
Type enum in [’MASK’, ‘Z_TRANSPARENCY’, ‘RAYTRACE’], default ‘MASK’
type
Material type defining how the object is rendered
Type enum in [’SURFACE’, ‘WIRE’, ‘VOLUME’, ‘HALO’], default ‘SURFACE’
use_cast_approximate
Allow this material to cast shadows when using approximate ambient occlusion.
Type boolean, default False
use_cast_buffer_shadows
Allow this material to cast shadows from shadow buffer lamps
Type boolean, default False
use_cast_shadows_only
Makes objects with this material appear invisible, only casting shadows (not rendered)
Type boolean, default False
use_cubic
Use cubic interpolation for diffuse values, for smoother transitions
Type boolean, default False
use_diffuse_ramp
Toggle diffuse ramp operations
Type boolean, default False
use_face_texture
Replaces the object’s base color with color from face assigned image textures
Type boolean, default False
use_face_texture_alpha
Replaces the object’s base alpha value with alpha from face assigned image textures
Type boolean, default False
use_full_oversampling
Force this material to render full shading/textures for all anti-aliasing samples
Type boolean, default False
use_light_group_exclusive
Material uses the light group exclusively - these lamps are excluded from other scene lighting
Type boolean, default False

2.4. Types ([Link]) 519


Blender Index, Release 2.57.0 r36138 - API

use_mist
Use mist with this material (in world settings)
Type boolean, default False
use_nodes
Use shader nodes to render the material
Type boolean, default False
use_object_color
Modulate the result with a per-object color
Type boolean, default False
use_only_shadow
Renders shadows as the material’s alpha value, making materials transparent except for shadowed areas
Type boolean, default False
use_ray_shadow_bias
Prevents raytraced shadow errors on surfaces with smooth shaded normals (terminator problem)
Type boolean, default False
use_raytrace
Include this material and geometry that uses it in ray tracing calculations
Type boolean, default False
use_shadeless
Makes this material insensitive to light or shadow
Type boolean, default False
use_shadows
Allows this material to receive shadows
Type boolean, default False
use_sky
Renders this material with zero alpha, with sky background in place (scanline only)
Type boolean, default False
use_specular_ramp
Toggle specular ramp operations
Type boolean, default False
use_tangent_shading
Use the material’s tangent vector instead of the normal for shading - for anisotropic shading effects
Type boolean, default False
use_textures
Enable/Disable each texture
Type boolean array of 18 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False)
use_transparency
Render material as transparent
Type boolean, default False

520 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_transparent_shadows
Allow this object to receive transparent shadows cast through other objects
Type boolean, default False
use_vertex_color_light
Add vertex colors as additional lighting
Type boolean, default False
use_vertex_color_paint
Replaces object base color with vertex colors (multiplies with ‘texture face’ face assigned textures)
Type boolean, default False
volume
Volume settings for the material
Type MaterialVolume, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 521


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Material.active_node_material
• [Link]
• [Link]
• [Link]
• Object.active_material
• RenderLayer.material_override
• SceneRenderLayer.material_override
• [Link]
• [Link]
• [Link]

2.4.298 MaterialHalo(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Halo particle effect settings for a Material datablock
add
Sets the strength of the add effect
Type float in [0, 1], default 0.0
flare_boost
Gives the flare extra strength
Type float in [0.1, 10], default 0.0
flare_seed
Specifies an offset in the flare seed table
Type int in [0, 255], default 0
flare_size
Sets the factor by which the flare is larger than the halo
Type float in [0.1, 25], default 0.0
flare_subflare_count
Sets the number of sub-flares
Type int in [1, 32], default 0
flare_subflare_size
Sets the dimension of the sub-flares, dots and circles
Type float in [0.1, 25], default 0.0
hardness
Sets the hardness of the halo
Type int in [0, 127], default 0

522 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

line_count
Sets the number of star shaped lines rendered over the halo
Type int in [0, 250], default 0
ring_count
Sets the number of rings rendered over the halo
Type int in [0, 24], default 0
seed
Randomizes ring dimension and line location
Type int in [0, 255], default 0
size
Sets the dimension of the halo
Type float in [0, 100], default 0.0
star_tip_count
Sets the number of points on the star shaped halo
Type int in [3, 50], default 0
use_extreme_alpha
Uses extreme alpha
Type boolean, default False
use_flare_mode
Renders halo as a lens flare
Type boolean, default False
use_lines
Renders star shaped lines over halo
Type boolean, default False
use_ring
Renders rings over halo
Type boolean, default False
use_shaded
Lets halo receive light and shadows from external objects
Type boolean, default False
use_soft
Softens the edges of halos at intersections with other geometry
Type boolean, default False
use_star
Renders halo as a star
Type boolean, default False
use_texture
Gives halo a texture
Type boolean, default False
use_vertex_normal
Uses the vertex normal to specify the dimension of the halo

2.4. Types ([Link]) 523


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.299 MaterialPhysics(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Physics settings for a Material datablock
elasticity
Elasticity of collisions
Type float in [0, 1], default 0.0
fh_damping
Damping of the spring force, when inside the physics distance area
Type float in [0, 1], default 0.0
fh_distance
Distance of the physics area
Type float in [0, 20], default 0.0
fh_force
Upward spring force, when inside the physics distance area
Type float in [0, 1], default 0.0

524 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

friction
Coulomb friction coefficient, when inside the physics distance area
Type float in [0, 100], default 0.0
use_fh_normal
Align dynamic game objects along the surface normal, when inside the physics distance area
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.300 MaterialRaytraceMirror(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Raytraced reflection settings for a Material datablock
depth
Maximum allowed number of light inter-reflections
Type int in [0, 32767], default 0
distance
Maximum distance of reflected rays. Reflections further than this range fade to sky color or material color
Type float in [0, 10000], default 0.0

2.4. Types ([Link]) 525


Blender Index, Release 2.57.0 r36138 - API

fade_to
The color that rays with no intersection within the Max Distance take. Material color can be best for indoor
scenes, sky color for outdoor
Type enum in [’FADE_TO_SKY’, ‘FADE_TO_MATERIAL’], default ‘FADE_TO_SKY’
fresnel
Power of Fresnel for mirror reflection
Type float in [0, 5], default 0.0
fresnel_factor
Blending factor for Fresnel
Type float in [0, 5], default 0.0
gloss_anisotropic
The shape of the reflection, from 0.0 (circular) to 1.0 (fully stretched along the tangent
Type float in [0, 1], default 0.0
gloss_factor
The shininess of the reflection. Values < 1.0 give diffuse, blurry reflections
Type float in [0, 1], default 0.0
gloss_samples
Number of cone samples averaged for blurry reflections
Type int in [0, 1024], default 0
gloss_threshold
Threshold for adaptive sampling. If a sample contributes less than this amount (as a percentage), sampling
is stopped
Type float in [0, 1], default 0.0
reflect_factor
Sets the amount mirror reflection for raytrace
Type float in [0, 1], default 0.0
use
Enable raytraced reflections
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

526 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Material.raytrace_mirror

2.4.301 MaterialRaytraceTransparency(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Raytraced refraction settings for a Material datablock
depth
Maximum allowed number of light inter-refractions
Type int in [0, 32767], default 0
depth_max
Maximum depth for light to travel through the transparent material before becoming fully filtered (0.0 is
disabled)
Type float in [0, 100], default 0.0
falloff
Falloff power for transmissivity filter effect (1.0 is linear)
Type float in [0.1, 10], default 0.0
filter
Amount to blend in the material’s diffuse color in raytraced transparency (simulating absorption)
Type float in [0, 1], default 0.0
fresnel
Power of Fresnel for transparency (Ray or ZTransp)
Type float in [0, 5], default 0.0
fresnel_factor
Blending factor for Fresnel
Type float in [1, 5], default 0.0
gloss_factor
The clarity of the refraction. Values < 1.0 give diffuse, blurry refractions
Type float in [0, 1], default 0.0
gloss_samples
Number of cone samples averaged for blurry refractions
Type int in [0, 1024], default 0

2.4. Types ([Link]) 527


Blender Index, Release 2.57.0 r36138 - API

gloss_threshold
Threshold for adaptive sampling. If a sample contributes less than this amount (as a percentage), sampling
is stopped
Type float in [0, 1], default 0.0
ior
Sets angular index of refraction for raytraced refraction
Type float in [0.25, 4], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Material.raytrace_transparency

2.4.302 MaterialSlot(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Material slot in an object
link
Link material to object or the object’s data
Type enum in [’OBJECT’, ‘DATA’], default ‘DATA’
material
Material datablock used by this material slot
Type Material

528 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

name
Material slot name
Type string, default “”, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.material_slots

2.4.303 MaterialStrand(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Strand settings for a Material datablock
blend_distance
Worldspace distance over which to blend in the surface normal
Type float in [0, 10], default 0.0
root_size
Start size of strands in pixels or Blender units
Type float in [0, inf], default 0.0
shape
Positive values make strands rounder, negative makes strands spiky
Type float in [-0.9, 0.9], default 0.0

2.4. Types ([Link]) 529


Blender Index, Release 2.57.0 r36138 - API

size_min
Minimum size of strands in pixels
Type float in [0.001, 10], default 0.0
tip_size
End size of strands in pixels or Blender units
Type float in [0, inf], default 0.0
use_blender_units
Use Blender units for widths instead of pixels
Type boolean, default False
use_surface_diffuse
Make diffuse shading more similar to shading the surface
Type boolean, default False, (readonly)
use_tangent_shading
Uses direction of strands as normal for tangent-shading
Type boolean, default False
uv_layer
Name of UV layer to override
Type string, default “”
width_fade
Transparency along the width of the strand
Type float in [0, 2], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

530 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.304 MaterialSubsurfaceScattering(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Diffuse subsurface scattering settings for a Material datablock
back
Back scattering weight
Type float in [0, 10], default 0.0
color
Scattering color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
color_factor
Blend factor for SSS colors
Type float in [0, 1], default 0.0
error_threshold
Error tolerance (low values are slower and higher quality)
Type float in [-inf, inf], default 0.0
front
Front scattering weight
Type float in [0, 2], default 0.0
ior
Index of refraction (higher values are denser)
Type float in [-inf, inf], default 0.0
radius
Mean red/green/blue scattering path length
Type float array of 3 items in [0.001, inf], default (0.0, 0.0, 0.0)
scale
Object scale factor
Type float in [-inf, inf], default 0.0
texture_factor
Texture scatting blend factor
Type float in [0, 1], default 0.0
use
Enable diffuse subsurface scatting effects in a material
Type boolean, default False

2.4. Types ([Link]) 531


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Material.subsurface_scattering

2.4.305 MaterialTextureSlot(TextureSlot)

base classes — bpy_struct, TextureSlot


class [Link](TextureSlot)
Texture slot for textures in a Material datablock
alpha_factor
Amount texture affects alpha
Type float in [-inf, inf], default 0.0
ambient_factor
Amount texture affects ambient
Type float in [-inf, inf], default 0.0
bump_method
Method to use for bump mapping
Type enum in [’BUMP_ORIGINAL’, ‘BUMP_COMPATIBLE’, ‘BUMP_DEFAULT’,
‘BUMP_BEST_QUALITY’], default ‘BUMP_ORIGINAL’
bump_objectspace
Space to apply bump mapping in
Type enum in [’BUMP_VIEWSPACE’, ‘BUMP_OBJECTSPACE’,
‘BUMP_TEXTURESPACE’], default ‘BUMP_VIEWSPACE’

532 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

density_factor
Amount texture affects density
Type float in [-inf, inf], default 0.0
diffuse_color_factor
Amount texture affects diffuse color
Type float in [-inf, inf], default 0.0
diffuse_factor
Amount texture affects diffuse reflectivity
Type float in [-inf, inf], default 0.0
displacement_factor
Amount texture displaces the surface
Type float in [-inf, inf], default 0.0
emission_color_factor
Amount texture affects emission color
Type float in [-inf, inf], default 0.0
emission_factor
Amount texture affects emission
Type float in [-inf, inf], default 0.0
emit_factor
Amount texture affects emission
Type float in [-inf, inf], default 0.0
hardness_factor
Amount texture affects hardness
Type float in [-inf, inf], default 0.0
mapping
Type enum in [’FLAT’, ‘CUBE’, ‘TUBE’, ‘SPHERE’], default ‘FLAT’
mapping_x
Type enum in [’NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’
mapping_y
Type enum in [’NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’
mapping_z
Type enum in [’NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’
mirror_factor
Amount texture affects mirror color
Type float in [-inf, inf], default 0.0
normal_factor
Amount texture affects normal values
Type float in [-inf, inf], default 0.0
normal_map_space
Sets space of normal map image

2.4. Types ([Link]) 533


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’CAMERA’, ‘WORLD’, ‘OBJECT’, ‘TANGENT’], default ‘CAMERA’


object
Object to use for mapping with Object texture coordinates
Type Object
raymir_factor
Amount texture affects ray mirror
Type float in [-inf, inf], default 0.0
reflection_color_factor
Amount texture affects color of out-scattered light
Type float in [-inf, inf], default 0.0
reflection_factor
Amount texture affects brightness of out-scattered light
Type float in [-inf, inf], default 0.0
scattering_factor
Amount texture affects scattering
Type float in [-inf, inf], default 0.0
specular_color_factor
Amount texture affects specular color
Type float in [-inf, inf], default 0.0
specular_factor
Amount texture affects specular reflectivity
Type float in [-inf, inf], default 0.0
texture_coords
Type enum in [’GLOBAL’, ‘OBJECT’, ‘UV’, ‘ORCO’, ‘STRAND’, ‘STICKY’, ‘WINDOW’,
‘NORMAL’, ‘REFLECTION’, ‘STRESS’, ‘TANGENT’], default ‘GLOBAL’
translucency_factor
Amount texture affects translucency
Type float in [-inf, inf], default 0.0
transmission_color_factor
Amount texture affects result color after light has been scattered/absorbed
Type float in [-inf, inf], default 0.0
use
Enable this material texture slot
Type boolean, default False
use_from_dupli
Dupli’s instanced from verts, faces or particles, inherit texture coordinate from their parent
Type boolean, default False
use_from_original
Dupli’s derive their object coordinates from the original objects transformation
Type boolean, default False

534 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_map_alpha
Causes the texture to affect the alpha value
Type boolean, default False
use_map_ambient
Causes the texture to affect the value of ambient
Type boolean, default False
use_map_color_diffuse
Causes the texture to affect basic color of the material
Type boolean, default False
use_map_color_emission
Causes the texture to affect the color of emission
Type boolean, default False
use_map_color_reflection
Causes the texture to affect the color of scattered light
Type boolean, default False
use_map_color_spec
Causes the texture to affect the specularity color
Type boolean, default False
use_map_color_transmission
Causes the texture to affect the result color after other light has been scattered/absorbed
Type boolean, default False
use_map_density
Causes the texture to affect the volume’s density
Type boolean, default False
use_map_diffuse
Causes the texture to affect the value of the materials diffuse reflectivity
Type boolean, default False
use_map_displacement
Let the texture displace the surface
Type boolean, default False
use_map_emission
Causes the texture to affect the volume’s emission
Type boolean, default False
use_map_emit
Causes the texture to affect the emit value
Type boolean, default False
use_map_hardness
Causes the texture to affect the hardness value
Type boolean, default False
use_map_mirror
Causes the texture to affect the mirror color

2.4. Types ([Link]) 535


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_map_normal
Causes the texture to affect the rendered normal
Type boolean, default False
use_map_raymir
Causes the texture to affect the ray-mirror value
Type boolean, default False
use_map_reflect
Causes the texture to affect the reflected light’s brightness
Type boolean, default False
use_map_scatter
Causes the texture to affect the volume’s scattering
Type boolean, default False
use_map_specular
Causes the texture to affect the value of specular reflectivity
Type boolean, default False
use_map_translucency
Causes the texture to affect the translucency value
Type boolean, default False
use_map_warp
Let the texture warp texture coordinates of next channels
Type boolean, default False
uv_layer
UV layer to use for mapping with UV texture coordinates
Type string, default “”
warp_factor
Amount texture affects texture coordinates of next channels
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• TextureSlot.blend_type
• [Link]
• TextureSlot.default_value
• [Link]
• [Link]
• TextureSlot.output_node
• TextureSlot.use_rgb_to_intensity
• [Link]
• TextureSlot.use_stencil
• [Link]

536 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Material.texture_slots
• [Link]
• [Link]

2.4.306 MaterialTextureSlots(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of texture slots
classmethod add()
add
Returns The newly initialized mtex.
Return type MaterialTextureSlot
classmethod create(index)
create
Parameters index (int in [0, inf]) – Index, Slot index to initialize.
Returns The newly initialized mtex.
Return type MaterialTextureSlot
classmethod clear(index)
clear
Parameters index (int in [0, inf]) – Index, Slot index to clear.

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 537


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Material.texture_slots

2.4.307 MaterialVolume(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Volume rendering settings for a Material datablock
asymmetry
Back scattering (-1.0) to Forward scattering (1.0) and the range in between
Type float in [-1, 1], default 0.0
cache_resolution
Resolution of the voxel grid, low resolutions are faster, high resolutions use more memory
Type int in [1, 1024], default 0
density
The base density of the volume
Type float in [0, 1], default 0.0
density_scale
Multiplier for the material’s density
Type float in [0, inf], default 0.0
depth_threshold
Stop ray marching early if transmission drops below this luminance - higher values give speedups in dense
volumes at the expense of accuracy
Type float in [0, 1], default 0.0
emission
Amount of light that gets emitted by the volume

538 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, inf], default 0.0


emission_color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
light_method
Method of shading, attenuating, and scattering light through the volume
Type enum in [’SHADELESS’, ‘SHADOWED’, ‘SHADED’, ‘MULTIPLE_SCATTERING’,
‘SHADED_PLUS_MULTIPLE_SCATTERING’], default ‘SHADELESS’
ms_diffusion
Diffusion factor, the strength of the blurring effect
Type float in [0, inf], default 0.0
ms_intensity
Multiplier for multiple scattered light energy
Type float in [0, inf], default 0.0
ms_spread
Proportional distance over which the light is diffused
Type float in [0, inf], default 0.0
reflection
Multiplier to make out-scattered light brighter or darker (non-physically correct)
Type float in [0, inf], default 0.0
reflection_color
Color of light scattered out of the volume (does not affect transmission)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scattering
Amount of light that gets scattered out by the volume - the more out-scattering, the shallower the light will
penetrate
Type float in [0, inf], default 0.0
step_method
Method of calculating the steps through the volume
Type enum in [’RANDOMIZED’, ‘CONSTANT’], default ‘RANDOMIZED’
step_size
Distance between subsequent volume depth samples
Type float in [0, inf], default 0.0
transmission_color
Result color of the volume, after other light has been scattered/absorbed
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
use_external_shadows
Receive shadows from sources outside the volume (temporary)
Type boolean, default False
use_light_cache
Pre-calculate the shading information into a voxel grid, speeds up shading at slightly less accuracy
Type boolean, default False

2.4. Types ([Link]) 539


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.308 Menu(bpy_struct)

Basic Menu Example

This script is a simple menu, menus differ from panels in that they must reference from a header, panel or another
menu.
Notice the ‘CATEGORY_MT_name’ Menu.bl_idname, this is a naming convention for menus.

Note: Menu subclasses must be registered before referencing them from blender.

Note: Menu’s have their Layout.operator_context initialized as ‘EXEC_REGION_WIN’ rather then ‘IN-
VOKE_DEFAULT’, so if the operator context needs to initialize inputs from the [Link] function then
this needs to be explicitly set.

import bpy

class BasicMenu([Link]):
bl_idname = "OBJECT_MT_select_test"
bl_label = "Select"

def draw(self, context):

540 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

layout = [Link]

[Link]("object.select_all", text="Select/Deselect All")


[Link]("object.select_inverse", text="Inverse")
[Link]("object.select_random", text="Random")

[Link].register_class(BasicMenu)

# test call to display immediately.


[Link].call_menu(name="OBJECT_MT_select_test")

Submenus

This menu demonstrates some different functions.


import bpy

class SubMenu([Link]):
bl_idname = "OBJECT_MT_select_submenu"
bl_label = "Select"

def draw(self, context):


layout = [Link]

[Link]("object.select_all", text="Select/Deselect All")


[Link]("object.select_inverse", text="Inverse")
[Link]("object.select_random", text="Random")

# access this operator as a submenu


layout.operator_menu_enum("object.select_by_type", "type", text="Select All by Type...")

[Link]()

# expand each operator option into this menu


layout.operator_enum("object.lamp_add", "type")

[Link]()

# use existing memu


[Link]("VIEW3D_MT_transform")

[Link].register_class(SubMenu)

# test call to display immediately.


[Link].call_menu(name="OBJECT_MT_select_submenu")

Extending Menus

When creating menus for addons you can’t reference menus in blenders default scripts.
Instead the addon can add menu items to existing menus.
The function menu_draw acts like [Link]

2.4. Types ([Link]) 541


Blender Index, Release 2.57.0 r36138 - API

import bpy

def menu_draw(self, context):


[Link]("wm.save_homefile")

[Link].INFO_MT_file.append(menu_draw)

base class — bpy_struct


class [Link](bpy_struct)
Editor menu containing buttons
bl_idname
If this is set, the menu gets a custom ID, otherwise it takes the name of the class used to define the panel.
For example, if the class name is “OBJECT_MT_hello”, and bl_idname is not set by the script, then
bl_idname = “OBJECT_MT_hello”
Type string, default “”
bl_label
The menu label
Type string, default “”
layout
Defines the structure of the menu in the UI.
Type UILayout, (readonly)
classmethod poll(context)
If this method returns a non-null output, then the menu can be drawn.
Return type boolean
draw(context)
Draw UI elements into the menu UI layout.

classmethod append(draw_func)
Append a draw function to this menu, takes the same arguments as the menus draw function.
draw_preset(context)
Define these on the subclass - preset_operator - preset_subdir
path_menu(searchpaths, operator, props_default={})
classmethod prepend(draw_func)
Prepend a draw function to this menu, takes the same arguments as the menus draw function.
classmethod remove(draw_func)
Remove a draw function that has been added to this menu

Inherited Properties

• bpy_struct.id_data

542 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.309 Mesh(ID)

base classes — bpy_struct, ID


class [Link](ID)
Mesh datablock defining geometric surfaces
animation_data
Animation data for this datablock
Type AnimData, (readonly)
auto_smooth_angle
Defines maximum angle between face normals that ‘Auto Smooth’ will operate on
Type int in [1, 80], default 0
edges
Edges of the mesh
Type MeshEdges bpy_prop_collection of MeshEdge, (readonly)
faces
Faces of the mesh
Type MeshFaces bpy_prop_collection of MeshFace, (readonly)
layers_float
Type bpy_prop_collection of MeshFloatPropertyLayer, (readonly)
layers_int
Type bpy_prop_collection of MeshIntPropertyLayer, (readonly)
layers_string
Type bpy_prop_collection of MeshStringPropertyLayer, (readonly)
materials
Type IDMaterials bpy_prop_collection of Material, (readonly)

2.4. Types ([Link]) 543


Blender Index, Release 2.57.0 r36138 - API

shape_keys
Type Key, (readonly)
show_all_edges
Displays all edges for wireframe in all view modes in the 3D view
Type boolean, default False
show_double_sided
Render/display the mesh with double or single sided lighting
Type boolean, default False
show_edge_bevel_weight
Displays weights created for the Bevel modifier
Type boolean, default False
show_edge_crease
Displays creases created for subsurf weighting
Type boolean, default False
show_edge_seams
Displays UV unwrapping seams
Type boolean, default False
show_edge_sharp
Displays sharp edges, used with the EdgeSplit modifier
Type boolean, default False
show_edges
Displays selected edges using highlights in the 3D view and UV editor
Type boolean, default False
show_extra_edge_length
Displays selected edge lengths, Using global values when set in the transform panel
Type boolean, default False
show_extra_face_angle
Displays the angles in the selected edges in degrees, Using global values when set in the transform panel
Type boolean, default False
show_extra_face_area
Displays the area of selected faces, Using global values when set in the transform panel
Type boolean, default False
show_faces
Displays all faces as shades in the 3D view and UV editor
Type boolean, default False
show_normal_face
Displays face normals as lines
Type boolean, default False
show_normal_vertex
Displays vertex normals as lines

544 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


sticky
Sticky texture coordinates
Type bpy_prop_collection of MeshSticky, (readonly)
texco_mesh
Derive texture coordinates from another mesh
Type Mesh
texspace_location
Texture space location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
texspace_size
Texture space size
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
texture_mesh
Use another mesh for texture indices (vertex indices must be aligned)
Type Mesh
total_edge_sel
Selected edge count in editmode
Type int in [0, inf], default 0, (readonly)
total_face_sel
Selected face count in editmode
Type int in [0, inf], default 0, (readonly)
total_vert_sel
Selected vertex count in editmode
Type int in [0, inf], default 0, (readonly)
use_auto_smooth
Treats all set-smoothed faces with angles less than the specified angle as ‘smooth’ during render
Type boolean, default False
use_auto_texspace
Adjusts active object’s texture space automatically when transforming object
Type boolean, default False
use_mirror_topology
Use topology based mirroring. For when both sides of mesh have matching, unique topology
Type boolean, default False
use_mirror_x
X Axis mirror editing
Type boolean, default False
use_paint_mask
Face selection masking for painting
Type boolean, default False

2.4. Types ([Link]) 545


Blender Index, Release 2.57.0 r36138 - API

uv_texture_clone
UV texture to be used as cloning source
Type MeshTextureFaceLayer
uv_texture_clone_index
Clone UV texture index
Type int in [0, inf], default 0
uv_texture_stencil
UV texture to mask the painted area
Type MeshTextureFaceLayer
uv_texture_stencil_index
Mask UV texture index
Type int in [0, inf], default 0
uv_textures
Type UVTextures bpy_prop_collection of MeshTextureFaceLayer, (readonly)
vertex_colors
Type VertexColors bpy_prop_collection of MeshColorLayer, (readonly)
vertices
Vertices of the mesh
Type MeshVertices bpy_prop_collection of MeshVertex, (readonly)
edge_face_count
(readonly)
edge_face_count_dict
(readonly)
edge_keys
(readonly)
transform(matrix)
Transform mesh vertices by a matrix.
Parameters matrix (float array of 16 items in [-inf, inf]) – Matrix.
calc_normals()
Calculate vertex normals.
update(calc_edges=False)
update
Parameters calc_edges (boolean, (optional)) – Calculate Edges, Force recalculation of edges.
validate(verbose=False)
validate geometry, return True when the mesh has had invalid geometry corrected/removed.
Parameters verbose (boolean, (optional)) – Verbose, Output information about the errors found
Returns Result
Return type boolean
edge_loops_from_edges(edges=None)
Edge loops defined by edges

546 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Takes [Link] or a list of edges and returns the edge loops


return a list of vertex indices. [ [1, 6, 7, 2], ...]
closed loops have matching start and end values.
edge_loops_from_faces(faces=None, seams=())
Edge loops defined by faces
Takes [Link] or a list of faces and returns the edge loops These edge loops are the edges that sit between
quads, so they dont touch 1 quad, note: not connected will make 2 edge loops, both only containing 2
edges.
return a list of edge key lists [ [(0,1), (4, 8), (3,8)], ...]
return a list of edge vertex index lists
from_pydata(vertices, edges, faces)
Make a mesh from a list of verts/edges/faces Until we have a nicer way to make geometry, use this.
Parameters
• vertices (iterable object) – float triplets each representing (X, Y, Z) eg: [(0.0, 1.0, 0.5), ...].
• edges (iterable object) – int pairs, each pair contains two indices to the vertices argument.
eg: [(1, 2), ...]
• faces (iterable object) – iterator of faces, each faces contains three or four indices to the
vertices argument. eg: [(5, 6, 8, 9), (1, 2, 3), ...]

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]

2.4. Types ([Link]) 547


Blender Index, Release 2.57.0 r36138 - API

• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]
• Mesh.texco_mesh
• Mesh.texture_mesh
• Object.to_mesh

2.4.310 MeshColor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Vertex colors for a face in a Mesh
color1
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
color2
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
color3
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
color4
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

548 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.311 MeshColorLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Layer of vertex colors in a Mesh datablock
active
Sets the layer as active for display and editing
Type boolean, default False
active_render
Sets the layer as active for rendering
Type boolean, default False
data
Type bpy_prop_collection of MeshColor, (readonly)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 549


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.vertex_colors
• [Link]
• [Link]

2.4.312 MeshDeformModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Mesh deformation modifier to deform with other meshes
invert_vertex_group
Invert vertex group influence
Type boolean, default False
is_bound
Whether geometry has been bound to control cage
Type boolean, default False, (readonly)
object
Mesh object to deform with
Type Object
precision
The grid size for binding
Type int in [2, 10], default 0
use_dynamic_bind
Recompute binding dynamically on top of other deformers (slower and more memory consuming.)
Type boolean, default False
vertex_group
Vertex group name
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

550 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.313 MeshEdge(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Edge in a Mesh datablock
bevel_weight
Weight used by the Bevel modifier
Type float in [-inf, inf], default 0.0
crease
Weight used by the Subsurf modifier for creasing
Type float in [-inf, inf], default 0.0
hide
Type boolean, default False
index
Index number of the vertex
Type int in [0, inf], default 0, (readonly)
is_fgon
Fgon edge
Type boolean, default False
is_loose
Loose edge
Type boolean, default False
select
Type boolean, default False
use_edge_sharp
Sharp edge for the EdgeSplit modifier

2.4. Types ([Link]) 551


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_seam
Seam edge for UV unwrapping
Type boolean, default False
vertices
Vertex indices
Type int array of 2 items in [0, inf], default (0, 0)
key
(readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.314 MeshEdges(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of mesh edges
add(count=0)
add
Parameters count (int in [0, inf], (optional)) – Count, Number of vertices to add.

552 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.315 MeshFace(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Face in a Mesh datablock
area
read only area of the face
Type float in [0, inf], default 0.0, (readonly)
hide
Type boolean, default False
index
Index number of the vertex
Type int in [0, inf], default 0, (readonly)
material_index
Type int in [0, 32767], default 0
normal
local space unit length normal vector for this face
Type float array of 3 items in [-1, 1], default (0.0, 0.0, 0.0), (readonly)

2.4. Types ([Link]) 553


Blender Index, Release 2.57.0 r36138 - API

select
Type boolean, default False
use_smooth
Type boolean, default False
vertices
Vertex indices
Type int array of 4 items in [0, inf], default (0, 0, 0, 0)
vertices_raw
Fixed size vertex indices array
Type int array of 4 items in [0, inf], default (0, 0, 0, 0)
center
The midpoint of the face. (readonly)
edge_keys
(readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.316 MeshFaces(bpy_struct)

base class — bpy_struct

554 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
Collection of mesh faces
active
The active face for this mesh
Type int in [-inf, inf], default 0
active_tface
Active Texture Face
Type MeshTextureFace, (readonly)
add(count=0)
add
Parameters count (int in [0, inf], (optional)) – Count, Number of vertices to add.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.317 MeshFloatProperty(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User defined floating point number value in a float properties layer
value
Type float in [-inf, inf], default 0.0

2.4. Types ([Link]) 555


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.318 MeshFloatPropertyLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User defined layer of floating pointer number values
data
Type bpy_prop_collection of MeshFloatProperty, (readonly)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

556 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.layers_float

2.4.319 MeshIntProperty(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User defined integer number value in an integer properties layer
value
Type int in [-inf, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 557


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.320 MeshIntPropertyLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User defined layer of integer number values
data
Type bpy_prop_collection of MeshIntProperty, (readonly)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.layers_int

2.4.321 MeshSticky(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Stricky texture coordinate

558 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

co
Sticky texture coordinate location
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.322 MeshStringProperty(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User defined string text value in a string properties layer
value
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add

2.4. Types ([Link]) 559


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.323 MeshStringPropertyLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User defined layer of string text values
data
Type bpy_prop_collection of MeshStringProperty, (readonly)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

560 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.layers_string

2.4.324 MeshTextureFace(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
UV mapping, texturing and game engine data for a face
blend_type
Transparency blending mode
Type enum in [’OPAQUE’, ‘ADD’, ‘ALPHA’, ‘CLIPALPHA’], default ‘OPAQUE’
hide
Make face invisible
Type boolean, default False
image
Type Image
pin_uv
Type boolean array of 4 items, default (False, False, False, False)
select_uv
Type boolean array of 4 items, default (False, False, False, False)
use_alpha_sort
Enable sorting of faces for correct alpha drawing (slow, use Clip Alpha instead when possible)
Type boolean, default False
use_billboard
Billboard with Z-axis constraint
Type boolean, default False
use_bitmap_text
Enable bitmap text on face
Type boolean, default False
use_blend_shared
Blend vertex colors across face when vertices are shared
Type boolean, default False
use_collision
Use face for collision and ray-sensor detection
Type boolean, default False

2.4. Types ([Link]) 561


Blender Index, Release 2.57.0 r36138 - API

use_halo
Screen aligned billboard
Type boolean, default False
use_image
Render face with texture
Type boolean, default False
use_light
Use light for face
Type boolean, default False
use_object_color
Use ObColor instead of vertex colors
Type boolean, default False
use_shadow_cast
Face is used for shadow
Type boolean, default False
use_twoside
Render face two-sided
Type boolean, default False
uv
Type float array of 8 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
uv1
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
uv2
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
uv3
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
uv4
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
uv_raw
Fixed size UV coordinates array
Type float array of 8 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

562 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• MeshFaces.active_tface
• [Link]

2.4.325 MeshTextureFaceLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Layer of texture faces in a Mesh datablock
active
Sets the layer as active for display and editing
Type boolean, default False
active_clone
Sets the layer as active for cloning
Type boolean, default False
active_render
Sets the layer as active for rendering
Type boolean, default False
data
Type bpy_prop_collection of MeshTextureFace, (readonly)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 563


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.uv_texture_clone
• Mesh.uv_texture_stencil
• Mesh.uv_textures
• [Link]
• [Link]

2.4.326 MeshVertex(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Vertex in a Mesh datablock
bevel_weight
Weight used by the Bevel modifier ‘Only Vertices’ option
Type float in [-inf, inf], default 0.0
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
groups
Weights for the vertex groups this vertex is member of
Type bpy_prop_collection of VertexGroupElement, (readonly)
hide
Type boolean, default False
index
Index number of the vertex
Type int in [0, inf], default 0, (readonly)

564 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

normal
Vertex Normal
Type float array of 3 items in [-1, 1], default (0.0, 0.0, 0.0)
select
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.327 MeshVertices(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of mesh vertices
add(count=0)
add
Parameters count (int in [0, inf], (optional)) – Count, Number of vertices to add.

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 565


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.328 MessageActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to ..
body_message
Optional message body Text
Type string, default “”
body_property
The message body will be set by the Property Value
Type string, default “”
body_type
Toggle message type: either Text or a PropertyName
Type enum in [’TEXT’, ‘PROPERTY’], default ‘TEXT’
subject
Optional message subject. This is what can be filtered on
Type string, default “”
to_property
Optional send message to objects with this name only, or empty to broadcast
Type string, default “”

566 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.329 MessageSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect incoming messages
subject
Optional subject filter: only accept messages with this subject, or empty for all
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level

2.4. Types ([Link]) 567


Blender Index, Release 2.57.0 r36138 - API

• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.330 MetaBall(ID)

base classes — bpy_struct, ID


class [Link](ID)
Metaball datablock to defined blobby surfaces
animation_data
Animation data for this datablock
Type AnimData, (readonly)
elements
Meta elements
Type MetaBallElements bpy_prop_collection of MetaElement, (readonly)
materials
Type IDMaterials bpy_prop_collection of Material, (readonly)
render_resolution
Polygonization resolution in rendering
Type float in [0.05, 1], default 0.0
resolution
Polygonization resolution in the 3D viewport
Type float in [0.05, 1], default 0.0
texspace_location
Texture space location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

568 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

texspace_size
Texture space size
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
threshold
Influence of meta elements
Type float in [0, 5], default 0.0
update_method
Metaball edit update behavior
Type enum in [’UPDATE_ALWAYS’, ‘HALFRES’, ‘FAST’, ‘NEVER’], default ‘UP-
DATE_ALWAYS’
use_auto_texspace
Adjusts active object’s texture space automatically when transforming object
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 569


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]

2.4.331 MetaBallElements(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of metaball elements
active
Last selected element
Type MetaElement, (readonly)
new(type=’BALL’)
Add a new spline to the curve.
Parameters type (enum in [’BALL’, ‘CAPSULE’, ‘PLANE’, ‘ELLIPSOID’, ‘CUBE’], (op-
tional)) – type for the new meta-element.
Returns The newly created meta-element.
Return type MetaElement
remove(element)
Remove a spline from a curve.
Parameters element (MetaElement, (never None)) – The element to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

570 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.332 MetaElement(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Blobby element in a MetaBall datablock
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
hide
Hide element
Type boolean, default False
radius
Type float in [0, inf], default 0.0
rotation
Normalized quaternion rotation
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
size_x
Size of element, use of components depends on element type
Type float in [0, 20], default 0.0
size_y
Size of element, use of components depends on element type
Type float in [0, 20], default 0.0
size_z
Size of element, use of components depends on element type
Type float in [0, 20], default 0.0
stiffness
Stiffness defines how much of the element to fill
Type float in [0, 10], default 0.0
type
Metaball types
Type enum in [’BALL’, ‘CAPSULE’, ‘PLANE’, ‘ELLIPSOID’, ‘CUBE’], default ‘BALL’
use_negative
Set metaball as negative one
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 571


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]

2.4.333 MetaSequence(Sequence)

base classes — bpy_struct, Sequence


class [Link](Sequence)
Sequence strip to group other strips as a single sequence strip
animation_offset_end
Animation end offset (trim end)
Type int in [0, inf], default 0
animation_offset_start
Animation start offset (trim start)
Type int in [0, inf], default 0
color_balance
Type SequenceColorBalance, (readonly)
color_multiply
Type float in [0, 20], default 0.0
color_saturation
Type float in [0, 20], default 0.0
crop
Type SequenceCrop, (readonly)

572 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

proxy
Type SequenceProxy, (readonly)
sequences
Type bpy_prop_collection of Sequence, (readonly)
strobe
Only display every nth frame
Type float in [1, 30], default 0.0
transform
Type SequenceTransform, (readonly)
use_color_balance
(3-Way color correction) on input
Type boolean, default False
use_crop
Crop image before processing
Type boolean, default False
use_deinterlace
For video movies to remove fields
Type boolean, default False
use_flip_x
Flip on the X axis
Type boolean, default False
use_flip_y
Flip on the Y axis
Type boolean, default False
use_float
Convert input to float data
Type boolean, default False
use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_proxy
Use a preview proxy for this strip
Type boolean, default False
use_proxy_custom_directory
Use a custom directory to store data
Type boolean, default False
use_proxy_custom_file
Use a custom file to read proxy data from
Type boolean, default False

2.4. Types ([Link]) 573


Blender Index, Release 2.57.0 r36138 - API

use_reverse_frames
Reverse frame order
Type boolean, default False
use_translation
Translate image before processing
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

574 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.334 MirrorModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Mirroring modifier
merge_threshold
Distance from axis within which mirrored vertices are merged
Type float in [0, inf], default 0.0
mirror_object
Object to use as mirror
Type Object
use_clip
Prevents vertices from going through the mirror during transform
Type boolean, default False
use_mirror_merge
Merge vertices within the merge threshold
Type boolean, default False
use_mirror_u
Mirror the U texture coordinate around the 0.5 point
Type boolean, default False
use_mirror_v
Mirror the V texture coordinate around the 0.5 point
Type boolean, default False
use_mirror_vertex_groups
Mirror vertex groups (e.g. .R->.L)
Type boolean, default False
use_x
Enable X axis mirror
Type boolean, default False
use_y
Enable Y axis mirror
Type boolean, default False
use_z
Enable Z axis mirror
Type boolean, default False

2.4. Types ([Link]) 575


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.335 Modifier(bpy_struct)

base class — bpy_struct


subclasses — FluidSimulationModifier, BevelModifier, SolidifyModifier, SmokeModifier,
UVProjectModifier, DecimateModifier, ExplodeModifier, SmoothModifier, HookModifier,
SoftBodyModifier, BooleanModifier, ArrayModifier, LatticeModifier, BuildModifier,
ClothModifier, ParticleSystemModifier, SubsurfModifier, CurveModifier,
ScrewModifier, MaskModifier, ShrinkwrapModifier, CollisionModifier, CastModifier,
WaveModifier, ParticleInstanceModifier, SurfaceModifier, SimpleDeformModifier,
DisplaceModifier, ArmatureModifier, MeshDeformModifier, EdgeSplitModifier,
MultiresModifier, MirrorModifier
class [Link](bpy_struct)
Modifier affecting the geometry data of an object
name
Modifier name
Type string, default “”
show_expanded
Set modifier expanded in the user interface

576 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


show_in_editmode
Use modifier while in the edit mode
Type boolean, default False
show_on_cage
Enable direct editing of modifier control cage
Type boolean, default False
show_render
Use modifier during rendering
Type boolean, default False
show_viewport
Realtime display of a modifier
Type boolean, default False
type
Type enum in [’ARRAY’, ‘BEVEL’, ‘BOOLEAN’, ‘BUILD’, ‘DECIMATE’, ‘EDGE_SPLIT’,
‘MASK’, ‘MIRROR’, ‘MULTIRES’, ‘SCREW’, ‘SOLIDIFY’, ‘SUBSURF’,
‘UV_PROJECT’, ‘ARMATURE’, ‘CAST’, ‘CURVE’, ‘DISPLACE’, ‘HOOK’, ‘LAT-
TICE’, ‘MESH_DEFORM’, ‘SHRINKWRAP’, ‘SIMPLE_DEFORM’, ‘SMOOTH’,
‘WAVE’, ‘CLOTH’, ‘COLLISION’, ‘EXPLODE’, ‘FLUID_SIMULATION’, ‘PARTI-
CLE_INSTANCE’, ‘PARTICLE_SYSTEM’, ‘SMOKE’, ‘SOFT_BODY’, ‘SURFACE’],
default ‘ARRAY’, (readonly)
use_apply_on_spline
Apply this and all preceding deformation modifiers on splines’ points rather than on filled curve/surface
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 577


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• UILayout.template_modifier

2.4.336 MotionPath(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Cache of the worldspace positions of an element over a frame range
frame_end
End frame of the stored range
Type int in [-inf, inf], default 0, (readonly)
frame_start
Starting frame of the stored range
Type int in [-inf, inf], default 0, (readonly)
is_modified
Path is being edited
Type boolean, default False
length
Number of frames cached
Type int in [-inf, inf], default 0, (readonly)
points
Cached positions per frame
Type bpy_prop_collection of MotionPathVert, (readonly)
use_bone_head
For PoseBone paths, use the bone head location when calculating this path
Type boolean, default False, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

578 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.motion_path
• PoseBone.motion_path

2.4.337 MotionPathVert(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Cached location on path
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
select
Path point is selected for editing
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 579


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.338 MouseSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect mouse events
mouse_event
Specify the type of event this mouse sensor should trigger on
Type enum in [’LEFTCLICK’, ‘MIDDLECLICK’, ‘RIGHTCLICK’, ‘WHEELUP’, ‘WHEEL-
DOWN’, ‘MOVEMENT’, ‘MOUSEOVER’, ‘MOUSEOVERANY’], default ‘LEFTCLICK’

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

580 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]

2.4.339 MovieSequence(Sequence)

base classes — bpy_struct, Sequence


class [Link](Sequence)
Sequence strip to load a video
animation_offset_end
Animation end offset (trim end)
Type int in [0, inf], default 0
animation_offset_start
Animation start offset (trim start)
Type int in [0, inf], default 0
color_balance
Type SequenceColorBalance, (readonly)
color_multiply
Type float in [0, 20], default 0.0
color_saturation
Type float in [0, 20], default 0.0
crop
Type SequenceCrop, (readonly)
elements
Type bpy_prop_collection of SequenceElement, (readonly)
filepath
Type string, default “”
mpeg_preseek
For MPEG movies, preseek this many frames
Type int in [0, 50], default 0
proxy
Type SequenceProxy, (readonly)
strobe
Only display every nth frame
Type float in [1, 30], default 0.0
transform
Type SequenceTransform, (readonly)
use_color_balance
(3-Way color correction) on input
Type boolean, default False

2.4. Types ([Link]) 581


Blender Index, Release 2.57.0 r36138 - API

use_crop
Crop image before processing
Type boolean, default False
use_deinterlace
For video movies to remove fields
Type boolean, default False
use_flip_x
Flip on the X axis
Type boolean, default False
use_flip_y
Flip on the Y axis
Type boolean, default False
use_float
Convert input to float data
Type boolean, default False
use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_proxy
Use a preview proxy for this strip
Type boolean, default False
use_proxy_custom_directory
Use a custom directory to store data
Type boolean, default False
use_proxy_custom_file
Use a custom file to read proxy data from
Type boolean, default False
use_reverse_frames
Reverse frame order
Type boolean, default False
use_translation
Translate image before processing
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader

582 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.340 MulticamSequence(Sequence)

base classes — bpy_struct, Sequence


class [Link](Sequence)
Sequence strip to perform multicam editing: select channel from below
animation_offset_end
Animation end offset (trim end)
Type int in [0, inf], default 0

2.4. Types ([Link]) 583


Blender Index, Release 2.57.0 r36138 - API

animation_offset_start
Animation start offset (trim start)
Type int in [0, inf], default 0
color_balance
Type SequenceColorBalance, (readonly)
color_multiply
Type float in [0, 20], default 0.0
color_saturation
Type float in [0, 20], default 0.0
crop
Type SequenceCrop, (readonly)
multicam_source
Type int in [0, 31], default 0
proxy
Type SequenceProxy, (readonly)
strobe
Only display every nth frame
Type float in [1, 30], default 0.0
transform
Type SequenceTransform, (readonly)
use_color_balance
(3-Way color correction) on input
Type boolean, default False
use_crop
Crop image before processing
Type boolean, default False
use_deinterlace
For video movies to remove fields
Type boolean, default False
use_flip_x
Flip on the X axis
Type boolean, default False
use_flip_y
Flip on the Y axis
Type boolean, default False
use_float
Convert input to float data
Type boolean, default False

584 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_proxy
Use a preview proxy for this strip
Type boolean, default False
use_proxy_custom_directory
Use a custom directory to store data
Type boolean, default False
use_proxy_custom_file
Use a custom file to read proxy data from
Type boolean, default False
use_reverse_frames
Reverse frame order
Type boolean, default False
use_translation
Translate image before processing
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade

2.4. Types ([Link]) 585


Blender Index, Release 2.57.0 r36138 - API

• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.341 MultiresModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Multiresolution mesh modifier
filepath
Path to external displacements file
Type string, default “”
is_external
Store multires displacements outside the .blend file, to save memory
Type boolean, default False, (readonly)
levels
Number of subdivisions to use in the viewport
Type int in [0, 255], default 0
render_levels
Type int in [0, 255], default 0
sculpt_levels
Number of subdivisions to use in sculpt mode
Type int in [0, 255], default 0
show_only_control_edges
Skip drawing/rendering of interior subdivided edges
Type boolean, default False

586 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

subdivision_type
Selects type of subdivision algorithm
Type enum in [’CATMULL_CLARK’, ‘SIMPLE’], default ‘CATMULL_CLARK’
total_levels
Number of subdivisions for which displacements are stored
Type int in [0, 255], default 0, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.342 MusgraveTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural musgrave texture
dimension_max
Highest fractal dimension
Type float in [0.0001, 2], default 0.0
gain
The gain multiplier

2.4. Types ([Link]) 587


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 6], default 0.0


lacunarity
Gap between successive frequencies
Type float in [0, 6], default 0.0
musgrave_type
Type enum in [’MULTIFRACTAL’, ‘RIDGED_MULTIFRACTAL’, ‘HY-
BRID_MULTIFRACTAL’, ‘FBM’, ‘HETERO_TERRAIN’], default ‘MULTIFRACTAL’
nabla
Size of derivative offset used for calculating normal
Type float in [0.001, 0.1], default 0.0
noise_basis
Sets the noise basis used for turbulence
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_intensity
Type float in [0, 10], default 0.0
noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
octaves
Number of frequencies used
Type float in [0, 8], default 0.0
offset
The fractal offset
Type float in [0, 6], default 0.0
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]

588 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.343 NandController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller passing on events based on a logical NAND operation

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority

2.4. Types ([Link]) 589


Blender Index, Release 2.57.0 r36138 - API

• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.344 NearSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect nearby objects
distance
Trigger distance
Type float in [0, 10000], default 0.0
property
Only look for objects with this property (blank = all objects)
Type string, default “”
reset_distance
The distance where the sensor forgets the actor
Type float in [0, 10000], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level

590 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.345 NlaStrip(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
A container referencing an existing Action
action
Action referenced by this strip
Type Action
action_frame_end
Type float in [-inf, inf], default 0.0
action_frame_start
Type float in [-inf, inf], default 0.0
active
NLA Strip is active
Type boolean, default False, (readonly)
blend_in
Number of frames at start of strip to fade in influence
Type float in [-inf, inf], default 0.0
blend_out
Type float in [-inf, inf], default 0.0

2.4. Types ([Link]) 591


Blender Index, Release 2.57.0 r36138 - API

blend_type
Method used for combining strip’s result with accumulated result
Type enum in [’REPLACE’, ‘ADD’, ‘SUBTRACT’, ‘MULITPLY’], default ‘REPLACE’
extrapolation
Action to take for gaps past the strip extents
Type enum in [’NOTHING’, ‘HOLD’, ‘HOLD_FORWARD’], default ‘HOLD’
fcurves
F-Curves for controlling the strip’s influence and timing
Type bpy_prop_collection of FCurve, (readonly)
frame_end
Type float in [-inf, inf], default 0.0
frame_start
Type float in [-inf, inf], default 0.0
influence
Amount the strip contributes to the current result
Type float in [0, 1], default 0.0
modifiers
Modifiers affecting all the F-Curves in the referenced Action
Type bpy_prop_collection of FModifier, (readonly)
mute
NLA Strip is not evaluated
Type boolean, default False
name
Type string, default “”
repeat
Number of times to repeat the action range
Type float in [0.1, 1000], default 0.0
scale
Scaling factor for action
Type float in [0.0001, 1000], default 0.0
select
NLA Strip is selected
Type boolean, default False
strip_time
Frame of referenced Action to evaluate
Type float in [-inf, inf], default 0.0
strips
NLA Strips that this strip acts as a container for (if it is of type Meta)
Type bpy_prop_collection of NlaStrip, (readonly)

592 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

type
Type of NLA Strip
Type enum in [’CLIP’, ‘TRANSITION’, ‘META’], default ‘CLIP’, (readonly)
use_animated_influence
Influence setting is controlled by an F-Curve rather than automatically determined
Type boolean, default False
use_animated_time
Strip time is controlled by an F-Curve rather than automatically determined
Type boolean, default False
use_animated_time_cyclic
Cycle the animated time within the action start & end
Type boolean, default False
use_auto_blend
Number of frames for Blending In/Out is automatically determined from overlapping strips
Type boolean, default False
use_reverse
NLA Strip is played back in reverse order (only when timing is automatically determined)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4. Types ([Link]) 593


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]

2.4.346 NlaStrips(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of Nla Strips
new(name, start, action)
Add a new Action-Clip strip to the track
Parameters
• name (string) – Name for the NLA Strips.
• start (int in [-inf, inf]) – Start Frame, Start frame for this strip.
• action (Action, (never None)) – Action to assign to this strip.
Returns New NLA Strip.
Return type NlaStrip
remove(strip)
Remove a NLA Strip.
Parameters strip (NlaStrip, (never None)) – NLA Strip to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

594 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.347 NlaTrack(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
A animation layer containing Actions referenced as NLA strips
active
NLA Track is active
Type boolean, default False, (readonly)
is_solo
NLA Track is evaluated itself (i.e. active Action and all other NLA Tracks in the same AnimData block
are disabled)
Type boolean, default False, (readonly)
lock
NLA Track is locked
Type boolean, default False
mute
NLA Track is not evaluated
Type boolean, default False
name
Type string, default “”
select
NLA Track is selected
Type boolean, default False
strips
NLA Strips on this NLA-track
Type NlaStrips bpy_prop_collection of NlaStrip, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

2.4. Types ([Link]) 595


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• AnimData.nla_tracks
• [Link]
• [Link]
• [Link]
• [Link]

2.4.348 NlaTracks(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of NLA Tracks
active
Active Object constraint
Type NlaTrack
new(prev=None)
Add a new NLA Tracks
Parameters prev (NlaTrack, (optional)) – NLA Track to add the new one after.
Returns New NLA Track.
Return type NlaTrack
remove(track)
Remove a NLA Track.
Parameters track (NlaTrack, (never None)) – NLA Track to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

596 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• AnimData.nla_tracks

2.4.349 Node(bpy_struct)

base class — bpy_struct


subclasses — TextureNode, ShaderNode, CompositorNode, NodeGroup
class [Link](bpy_struct)
Node in a node tree
inputs
Type bpy_prop_collection of NodeSocket, (readonly)
label
Optional custom node label
Type string, default “”
location
Type float array of 2 items in [-10000, 10000], default (0.0, 0.0)
name
Unique node identifier
Type string, default “”
outputs
Type bpy_prop_collection of NodeSocket, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add

2.4. Types ([Link]) 597


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• NodeLink.from_node
• NodeLink.to_node
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.350 NodeGroup(Node)

base classes — bpy_struct, Node


class [Link](Node)

node_tree
Type NodeTree

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

598 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.351 NodeLink(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Link between nodes in a node tree
from_node
Type Node, (readonly)
from_socket
Type NodeSocket, (readonly)
to_node
Type Node, (readonly)
to_socket
Type NodeSocket, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

2.4. Types ([Link]) 599


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.352 NodeLinks(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of Node Links
new(input, output)
Add a node link to this node tree.
Parameters
• input (NodeSocket) – The input socket.
• output (NodeSocket) – The output socket.
Returns New node link.
Return type NodeLink
remove(link)
remove a node link from the node tree.
Parameters link (NodeLink) – The node link to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

600 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.353 NodeSocket(bpy_struct)

base class — bpy_struct


subclasses — VectorNodeSocket, RGBANodeSocket, ValueNodeSocket
class [Link](bpy_struct)
Input or output socket of a node
name
Socket name
Type string, default “”
type
Node Socket type
Type enum in [’VALUE’, ‘VECTOR’, ‘RGBA’], default ‘VALUE’, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 601


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• NodeLink.from_socket
• NodeLink.to_socket
• [Link]
• [Link]
• [Link]
• [Link]

2.4.354 NodeTree(ID)

base classes — bpy_struct, ID


subclasses — CompositorNodeTree, ShaderNodeTree, TextureNodeTree
class [Link](ID)
Node tree consisting of linked nodes used for materials, textures and compositing
animation_data
Animation data for this datablock
Type AnimData, (readonly)
grease_pencil
Grease Pencil datablock
Type GreasePencil
inputs
Type GroupInputs bpy_prop_collection of NodeSocket, (readonly)
links
Type NodeLinks bpy_prop_collection of NodeLink, (readonly)
outputs
Type GroupOutputs bpy_prop_collection of NodeSocket, (readonly)
type
Node Tree type
Type enum in [’SHADER’, ‘COMPOSITE’, ‘TEXTURE’], default ‘SHADER’, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]

602 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• BlendData.node_groups
• [Link]
• [Link]
• [Link]
• Material.node_tree
• NodeGroup.node_tree
• Scene.node_tree
• [Link]
• SpaceNodeEditor.node_tree
• Texture.node_tree
• [Link]

2.4.355 NoiseTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural noise texture
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

2.4. Types ([Link]) 603


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

604 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.356 NorController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller passing on events based on a logical NOR operation

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.357 Object(ID)

base classes — bpy_struct, ID


class [Link](ID)
Object datablock defining an object in a scene
active_material
Active material being displayed
Type Material
active_material_index
Index of active material slot
Type int in [0, inf], default 0

2.4. Types ([Link]) 605


Blender Index, Release 2.57.0 r36138 - API

active_shape_key
Current shape key
Type ShapeKey, (readonly)
active_shape_key_index
Current shape key index
Type int in [-32768, 32767], default 0
animation_data
Animation data for this datablock
Type AnimData, (readonly)
animation_visualisation
Animation data for this datablock
Type AnimViz, (readonly, never None)
bound_box
Objects bound box in object-space coordinates, all values are -1.0 when not available.
Type float array of 24 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (readonly)
collision
Settings for using the objects as a collider in physics simulation
Type CollisionSettings, (readonly)
color
Object color and alpha, used when faces have the ObColor mode enabled
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
constraints
Constraints affecting the transformation of the object
Type ObjectConstraints bpy_prop_collection of Constraint, (readonly)
data
Object data
Type ID
delta_location
Extra translation added to the location of the object
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
delta_rotation_euler
Extra rotation added to the rotation of the object (when using Euler rotations)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
delta_rotation_quaternion
Extra rotation added to the rotation of the object (when using Quaternion rotations)
Type float array of 4 items in [-inf, inf], default (1.0, 0.0, 0.0, 0.0)
delta_scale
Extra scaling added to the scale of the object
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

606 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

dimensions
Absolute bounding box dimensions of the object
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
draw_bounds_type
Object boundary display type
Type enum in [’BOX’, ‘SPHERE’, ‘CYLINDER’, ‘CONE’, ‘POLYHEDRON’, ‘CAPSULE’],
default ‘BOX’
draw_type
Maximum draw type to display object with in viewport
Type enum in [’BOUNDS’, ‘WIRE’, ‘SOLID’, ‘TEXTURED’], default ‘BOUNDS’
dupli_faces_scale
Scale the DupliFace objects
Type float in [0.001, 10000], default 0.0
dupli_frames_end
End frame for DupliFrames
Type int in [-300000, 300000], default 0
dupli_frames_off
Recurring frames to exclude from the Dupliframes
Type int in [0, 300000], default 0
dupli_frames_on
Number of frames to use between DupOff frames
Type int in [0, 300000], default 0
dupli_frames_start
Start frame for DupliFrames
Type int in [-300000, 300000], default 0
dupli_group
Instance an existing group
Type Group
dupli_list
Object duplis
Type bpy_prop_collection of DupliObject, (readonly)
dupli_type
If not None, object duplication method to use
Type enum in [’NONE’, ‘FRAMES’, ‘VERTS’, ‘FACES’, ‘GROUP’], default ‘NONE’
empty_draw_size
Size of display for empties in the viewport
Type float in [0.0001, 1000], default 0.0
empty_draw_type
Viewport display style for empties
Type enum in [’PLAIN_AXES’, ‘ARROWS’, ‘SINGLE_ARROW’, ‘CIRCLE’, ‘CUBE’,
‘SPHERE’, ‘CONE’], default ‘PLAIN_AXES’

2.4. Types ([Link]) 607


Blender Index, Release 2.57.0 r36138 - API

field
Settings for using the objects as a field in physics simulation
Type FieldSettings, (readonly)
game
Game engine related settings for the object
Type GameObjectSettings, (readonly, never None)
grease_pencil
Grease Pencil datablock
Type GreasePencil
hide
Restrict visibility in the viewport
Type boolean, default False
hide_render
Restrict renderability
Type boolean, default False
hide_select
Restrict selection in the viewport
Type boolean, default False
is_duplicator
Type boolean, default False, (readonly)
layers
Layers the object is on
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
location
Location of the object
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
lock_location
Lock editing of location in the interface
Type boolean array of 3 items, default (False, False, False)
lock_rotation
Lock editing of rotation in the interface
Type boolean array of 3 items, default (False, False, False)
lock_rotation_w
Lock editing of ‘angle’ component of four-component rotations in the interface
Type boolean, default False
lock_rotations_4d
Lock editing of four component rotations by components (instead of as Eulers)
Type boolean, default False
lock_scale
Lock editing of scale in the interface

608 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean array of 3 items, default (False, False, False)


material_slots
Material slots in the object
Type bpy_prop_collection of MaterialSlot, (readonly)
matrix_basis
Matrix access to location, rotation and scale (including deltas), before constraints and parenting are ap-
plied.
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
matrix_local
Parent relative transformation matrix
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
matrix_world
Worldspace transformation matrix
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
mode
Object interaction mode
Type enum in [’OBJECT’, ‘EDIT’, ‘SCULPT’, ‘VERTEX_PAINT’, ‘WEIGHT_PAINT’,
‘TEXTURE_PAINT’, ‘PARTICLE_EDIT’, ‘POSE’], default ‘OBJECT’, (readonly)
modifiers
Modifiers affecting the geometric data of the object
Type ObjectModifiers bpy_prop_collection of Modifier, (readonly)
motion_path
Motion Path for this element
Type MotionPath, (readonly)
parent
Parent Object
Type Object
parent_bone
Name of parent bone in case of a bone parenting relation
Type string, default “”
parent_type
Type of parent relation
Type enum in [’OBJECT’, ‘CURVE’, ‘KEY’, ‘ARMATURE’, ‘LATTICE’, ‘VERTEX’, ‘VER-
TEX_3’, ‘BONE’], default ‘OBJECT’
parent_vertices
Indices of vertices in cases of a vertex parenting relation
Type int array of 3 items in [0, inf], default (0, 0, 0), (readonly)
particle_systems
Particle systems emitted from the object

2.4. Types ([Link]) 609


Blender Index, Release 2.57.0 r36138 - API

Type ParticleSystems bpy_prop_collection of ParticleSystem, (readonly)


pass_index
Index # for the IndexOB render pass
Type int in [0, 32767], default 0
pose
Current pose for armatures
Type Pose, (readonly)
pose_library
Action used as a pose library for armatures
Type Action
proxy
Library object this proxy object controls
Type Object, (readonly)
proxy_group
Library group duplicator object this proxy object controls
Type Object, (readonly)
rotation_axis_angle
Angle of Rotation for Axis-Angle rotation representation
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 1.0, 0.0)
rotation_euler
Rotation in Eulers
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation_mode
Type enum in [’QUATERNION’, ‘XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’, ‘ZYX’,
‘AXIS_ANGLE’], default ‘QUATERNION’
rotation_quaternion
Rotation in Quaternions
Type float array of 4 items in [-inf, inf], default (1.0, 0.0, 0.0, 0.0)
scale
Scaling of the object
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)
select
Object selection state
Type boolean, default False
show_axis
Displays the object’s origin and axis
Type boolean, default False
show_bounds
Displays the object’s bounds
Type boolean, default False

610 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

show_name
Displays the object’s name
Type boolean, default False
show_only_shape_key
Always show the current Shape for this Object
Type boolean, default False
show_texture_space
Displays the object’s texture space
Type boolean, default False
show_transparent
Displays material transparency in the object
Type boolean, default False
show_wire
Adds the object’s wireframe over solid drawing
Type boolean, default False
show_x_ray
Makes the object draw in front of others
Type boolean, default False
soft_body
Settings for soft body simulation
Type SoftBodySettings, (readonly)
time_offset
Animation offset in frames for F-Curve and dupligroup instances
Type float in [-300000, 300000], default 0.0
track_axis
Axis that points in ‘forward’ direction
Type enum in [’POS_X’, ‘POS_Y’, ‘POS_Z’, ‘NEG_X’, ‘NEG_Y’, ‘NEG_Z’], default
‘POS_X’
type
Type of Object
Type enum in [’MESH’, ‘CURVE’, ‘SURFACE’, ‘META’, ‘FONT’, ‘ARMATURE’, ‘LAT-
TICE’, ‘EMPTY’, ‘CAMERA’, ‘LAMP’], default ‘EMPTY’, (readonly)
up_axis
Axis that points in the upward direction
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
use_dupli_faces_scale
Scale dupli based on face size
Type boolean, default False
use_dupli_frames_speed
Set dupliframes to use the frame
Type boolean, default False

2.4. Types ([Link]) 611


Blender Index, Release 2.57.0 r36138 - API

use_dupli_vertices_rotation
Rotate dupli according to vertex normal
Type boolean, default False
use_shape_key_edit_mode
Apply shape keys in edit mode (for Meshes only)
Type boolean, default False
use_slow_parent
Create a delay in the parent relationship
Type boolean, default False
use_time_offset_add_parent
Add the parents time offset value
Type boolean, default False
use_time_offset_edit
Use time offset when inserting keys and display time offset for F-Curve and action views
Type boolean, default False
use_time_offset_parent
Apply the time offset to this objects parent relationship
Type boolean, default False
use_time_offset_particle
Let the time offset work on the particle effect
Type boolean, default False
vertex_groups
Vertex groups of the object
Type VertexGroups bpy_prop_collection of VertexGroup, (readonly)
children
All the children of this object (readonly)
users_group
The groups this object is in (readonly)
users_scene
The scenes this object is in (readonly)
to_mesh(scene, apply_modifiers, settings)
Create a Mesh datablock with modifiers applied.
Parameters
• scene (Scene, (never None)) – Scene within which to evaluate modifiers.
• apply_modifiers (boolean) – Apply modifiers.
• settings (enum in [’PREVIEW’, ‘RENDER’]) – Modifier settings to apply.
Returns Mesh created from object, remove it if it is only used for export.
Return type Mesh
dupli_list_create(scene)
Create a list of dupli objects for this object, needs to be freed manually with free_dupli_list to restore the
objects real matrix and layers.

612 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters scene (Scene, (never None)) – Scene within which to evaluate duplis.
dupli_list_clear()
Free the list of dupli objects.
find_armature()
Find armature influencing this object as a parent or via a modifier.
Returns Armature object influencing this object or NULL.
Return type Object
shape_key_add(name=”Key”, from_mix=True)
Add shape key to an object.
Parameters
• name (string, (optional)) – Unique name for the new keylock.
• from_mix (boolean, (optional)) – Create new shape from existing mix of shapes.
Returns New shape keyblock.
Return type ShapeKey
ray_cast(start, end)
Cast a ray onto in object space.
Return (location, normal, index) location, The hit location of this ray cast, float array of 3
items in [-inf, inf]
normal, The face normal at the ray cast hit location, float array of 3 items in [-inf, inf]
index, The face index, -1 when no intersection is found., int in [-inf, inf]
is_visible(scene)
Determine if object is visible in a given scene.
Returns Object visibility.
Return type boolean
is_modified(scene, settings)
Determine if this object is modified from the base mesh data.
Parameters settings (enum in [’PREVIEW’, ‘RENDER’]) – Modifier settings to apply.
Returns Object visibility.
Return type boolean

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 613


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• ArmatureActuator.secondary_target
• [Link]
• [Link]
• [Link]
• ArrayModifier.end_cap
• ArrayModifier.offset_object
• ArrayModifier.start_cap
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Camera.dof_object
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Curve.bevel_object
• Curve.taper_object

614 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• DisplaceModifier.texture_coordinate_object
• [Link]
• [Link]
• EditObjectActuator.track_object
• EnvironmentMap.viewpoint_object
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• KinematicConstraint.pole_target
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• MirrorModifier.mirror_object
• Object.find_armature
• [Link]
• [Link]
• Object.proxy_group
• ObjectActuator.reference_object
• [Link]
• [Link]
• [Link]
• [Link]
• ParticleSettings.billboard_object
• ParticleSettings.dupli_object
• [Link]
• [Link]
• ParticleSystem.reactor_target_object
• [Link]
• [Link]
• [Link]
• PoseBone.custom_shape
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• SceneSequence.scene_camera
• [Link]
• [Link]

2.4. Types ([Link]) 615


Blender Index, Release 2.57.0 r36138 - API

• ShrinkwrapModifier.auxiliary_target
• [Link]
• [Link]
• [Link]
• SpaceView3D.lock_object
• [Link]
• [Link]
• TextCurve.follow_curve
• [Link]
• ToolSettings.etch_template
• [Link]
• [Link]
• [Link]
• VoxelData.domain_object
• WaveModifier.start_position_object
• WaveModifier.texture_coords_object
• [Link]

2.4.358 ObjectActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to control the object movement
angular_velocity
Sets the angular velocity
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
damping
Number of frames to reach the target velocity
Type int in [-32768, 32767], default 0
derivate_coefficient
Not required, high values can cause instability
Type float in [-inf, inf], default 0.0
force
Sets the force
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
force_max_x
Set the upper limit for force
Type float in [-inf, inf], default 0.0
force_max_y
Set the upper limit for force
Type float in [-inf, inf], default 0.0
force_max_z
Set the upper limit for force
Type float in [-inf, inf], default 0.0

616 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

force_min_x
Set the lower limit for force
Type float in [-inf, inf], default 0.0
force_min_y
Set the lower limit for force
Type float in [-inf, inf], default 0.0
force_min_z
Set the lower limit for force
Type float in [-inf, inf], default 0.0
integral_coefficient
Low value (0.01) for slow response, high value (0.5) for fast response
Type float in [-inf, inf], default 0.0
linear_velocity
Sets the linear velocity (in Servo mode it sets the target relative linear velocity, it will be achieved by
automatic application of force. Null velocity is a valid target)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
mode
Specify the motion system
Type enum in [’OBJECT_NORMAL’, ‘OBJECT_SERVO’], default ‘OBJECT_NORMAL’
offset_location
Sets the location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
offset_rotation
Sets the rotation
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
proportional_coefficient
Typical value is 60x integral coefficient
Type float in [-inf, inf], default 0.0
reference_object
Reference object for velocity calculation, leave empty for world reference
Type Object
torque
Sets the torque
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
use_add_linear_velocity
Toggles between ADD and SET linV
Type boolean, default False
use_local_angular_velocity
Angular velocity is defined in local coordinates
Type boolean, default False

2.4. Types ([Link]) 617


Blender Index, Release 2.57.0 r36138 - API

use_local_force
Force is defined in local coordinates
Type boolean, default False
use_local_linear_velocity
Velocity is defined in local coordinates
Type boolean, default False
use_local_location
Location is defined in local coordinates
Type boolean, default False
use_local_rotation
Rotation is defined in local coordinates
Type boolean, default False
use_local_torque
Torque is defined in local coordinates
Type boolean, default False
use_servo_limit_x
Set limit to force along the X axis
Type boolean, default False
use_servo_limit_y
Set limit to force along the Y axis
Type boolean, default False
use_servo_limit_z
Set limit to force along the Z axis
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

618 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.359 ObjectBase(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
An object instance in a scene
layers
Layers the object base is on
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
object
Object this base links to
Type Object, (readonly)
select
Object base selection state
Type boolean, default False
layers_from_view(view)
Sets the object layers from a 3D View (use when adding an object in local view).

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

2.4. Types ([Link]) 619


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.object_bases
• [Link]
• [Link]

2.4.360 ObjectConstraints(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of object constraints
active
Active Object constraint
Type Constraint
new(type)
Add a new constraint to this object
Parameters type (enum in [’COPY_LOCATION’, ‘COPY_ROTATION’,
‘COPY_SCALE’, ‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’,
‘LIMIT_ROTATION’, ‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’,
‘CLAMP_TO’, ‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’,
‘STRETCH_TO’, ‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’,
‘PIVOT’, ‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’]) – Constraint type to add.
Returns New constraint.
Return type Constraint
remove(constraint)
Remove a constraint from this object.
Parameters constraint (Constraint, (never None)) – Removed constraint.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

620 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.361 ObjectModifiers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of object modifiers
new(name, type)
Add a new modifier.
Parameters
• name (string) – New name for the bone.
• type (enum in [’ARRAY’, ‘BEVEL’, ‘BOOLEAN’, ‘BUILD’, ‘DECIMATE’,
‘EDGE_SPLIT’, ‘MASK’, ‘MIRROR’, ‘MULTIRES’, ‘SCREW’, ‘SOLIDIFY’, ‘SUB-
SURF’, ‘UV_PROJECT’, ‘ARMATURE’, ‘CAST’, ‘CURVE’, ‘DISPLACE’, ‘HOOK’,
‘LATTICE’, ‘MESH_DEFORM’, ‘SHRINKWRAP’, ‘SIMPLE_DEFORM’, ‘SMOOTH’,
‘WAVE’, ‘CLOTH’, ‘COLLISION’, ‘EXPLODE’, ‘FLUID_SIMULATION’, ‘PARTI-
CLE_INSTANCE’, ‘PARTICLE_SYSTEM’, ‘SMOKE’, ‘SOFT_BODY’, ‘SURFACE’]) –
Modifier type to add.
Returns Newly created modifier.
Return type Modifier
remove(modifier)
Remove an existing modifier from the object.
Parameters modifier (Modifier, (never None)) – Modifier to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

2.4. Types ([Link]) 621


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.362 ObstacleFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for obstacles in the simulation
impact_factor
This is an unphysical value for moving objects - it controls the impact an obstacle has on the fluid, =0
behaves a bit like outflow (deleting fluid), =1 is default, while >1 results in high forces. Can be used to
tweak total mass
Type float in [-2, 10], default 0.0
partial_slip_factor
Amount of mixing between no- and free-slip, 0 is no slip and 1 is free slip
Type float in [0, 1], default 0.0
slip_type
Type enum in [’NOSLIP’, ‘PARTIALSLIP’, ‘FREESLIP’], default ‘NOSLIP’
use
Object contributes to the fluid simulation
Type boolean, default False
use_animated_mesh
Export this mesh as an animated one. Slower, only use if really necessary (e.g. armatures or parented
objects), animated pos/rot/scale IPOs do not require it
Type boolean, default False
volume_initialization
Volume initialization type
Type enum in [’VOLUME’, ‘SHELL’, ‘BOTH’], default ‘VOLUME’

622 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.363 Operator(bpy_struct)

Basic Operator Example

This script shows simple operator which prints a message.


Since the operator only has an [Link] function it takes no user input.

Note: Operator subclasses must be registered before accessing them from blender.

import bpy

class HelloWorldOperator([Link]):
bl_idname = "wm.hello_world"
bl_label = "Minimal Operator"

def execute(self, context):


print("Hello World")
return {’FINISHED’}

[Link].register_class(SimpleOperator)

# test call to the newly defined operator


[Link].hello_world()

2.4. Types ([Link]) 623


Blender Index, Release 2.57.0 r36138 - API

Invoke Function

[Link] is used to initialize the operator from the context at the moment the operator is called. invoke()
is typically used to assign properties which are then used by execute(). Some operators don’t have an execute()
function, removing the ability to be repeated from a script or macro.
This example shows how to define an operator which gets mouse input to execute a function and that this operator can
be invoked or executed from the python api.
Also notice this operator defines its own properties, these are different to typical class properties because blender
registers them with the operator, to use as arguments when called, saved for operator undo/redo and automatically
added into the user interface.
import bpy

class SimpleMouseOperator([Link]):
""" This operator shows the mouse location,
this string is used for the tooltip and API docs
"""
bl_idname = "wm.mouse_position"
bl_label = "Invoke Mouse Operator"

x = [Link]()
y = [Link]()

def execute(self, context):


# rather then printing, use the report function,
# this way the messag appiers in the header,
[Link]({’INFO’}, "Mouse coords are %d %d" % (self.x, self.y))
return {’FINISHED’}

def invoke(self, context, event):


self.x = event.mouse_x
self.y = event.mouse_y
return [Link](context)

[Link].register_class(SimpleMouseOperator)

# Test call to the newly defined operator.


# Here we call the operator and invoke it, meaning that the settings are taken
# from the mouse.
[Link].mouse_position(’INVOKE_DEFAULT’)

# Another test call, this time call execute() directly with pre-defined settings.
[Link].mouse_position(’EXEC_DEFAULT’, x=20, y=66)

Calling a File Selector

This example shows how an operator can use the file selector.
Notice the invoke function calls a window manager method and returns RUNNING_MODAL, this means the file
selector stays open and the operator does not exit immediately after invoke finishes.
The file selector runs the operator, calling [Link] when the user confirms.
The [Link] function is optional, used to check if the operator can run.

624 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

import bpy

class ExportSomeData([Link]):
"""Test exporter which just writes hello world"""
bl_idname = "export.some_data"
bl_label = "Export Some Data"

filepath = [Link](subtype="FILE_PATH")

@classmethod
def poll(cls, context):
return [Link] is not None

def execute(self, context):


file = open([Link], ’w’)
[Link]("Hello World " + [Link])
return {’FINISHED’}

def invoke(self, context, event):


context.window_manager.fileselect_add(self)
return {’RUNNING_MODAL’}

# Only needed if you want to add into a dynamic menu


def menu_func(self, context):
[Link].operator_context = ’INVOKE_DEFAULT’
[Link](ExportSomeData.bl_idname, text="Text Export Operator")

# Register and add to the file selector


[Link].register_class(ExportSomeData)
[Link].INFO_MT_file_export.append(menu_func)

# test call
[Link].some_data(’INVOKE_DEFAULT’)

Dialog Box

This operator uses its [Link] function to call a popup.


import bpy

class DialogOperator([Link]):
bl_idname = "object.dialog_operator"
bl_label = "Simple Dialog Operator"

my_float = [Link](name="Some Floating Point")


my_bool = [Link](name="Toggle Option")
my_string = [Link](name="String Value")

def execute(self, context):


message = "Popup Values: %f, %d, ’%s’" % \
(self.my_float, self.my_bool, self.my_string)
[Link]({’INFO’}, message)
return {’FINISHED’}

2.4. Types ([Link]) 625


Blender Index, Release 2.57.0 r36138 - API

def invoke(self, context, event):


wm = context.window_manager
return wm.invoke_props_dialog(self)

[Link].register_class(DialogOperator)

# test call
[Link].dialog_operator(’INVOKE_DEFAULT’)

Custom Drawing

By default operator properties use an automatic user interface layout. If you need more control you can create your
own layout with a [Link] function.
This works like the Panel and Menu draw functions, its used for dialogs and file selectors.
import bpy

class CustomDrawOperator([Link]):
bl_idname = "object.custom_draw"
bl_label = "Simple Modal Operator"

filepath = [Link](subtype="FILE_PATH")

my_float = [Link](name="Float")
my_bool = [Link](name="Toggle Option")
my_string = [Link](name="String Value")

def execute(self, context):


print()
return {’FINISHED’}

def invoke(self, context, event):


context.window_manager.fileselect_add(self)
return {’RUNNING_MODAL’}

def draw(self, context):


layout = [Link]
col = [Link]()
[Link](text="Custom Interface!")

row = [Link]()
[Link](self, "my_float")
[Link](self, "my_bool")

[Link](self, "my_string")

[Link].register_class(CustomDrawOperator)

# test call
[Link].custom_draw(’INVOKE_DEFAULT’)

626 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Modal Execution

This operator defines a [Link] function which running, handling events until it returns {‘FINISHED’}
or {‘CANCELLED’}.
Grab, Rotate, Scale and Fly-Mode are examples of modal operators. They are especially useful for interactive tools,
your operator can have its own state where keys toggle options as the operator runs.
[Link] is used to initialize the operator as being by returning {‘RUNNING_MODAL’}, initializing the
modal loop.
Notice __init__() and __del__() are declared. For other operator types they are not useful but for modal operators they
will be called before the [Link] and after the operator finishes.
import bpy

class ModalOperator([Link]):
bl_idname = "object.modal_operator"
bl_label = "Simple Modal Operator"

def __init__(self):
print("Start")

def __del__(self):
print("End")

def execute(self, context):


[Link].x = [Link] / 100.0

def modal(self, context, event):


if [Link] == ’MOUSEMOVE’: # Apply
[Link] = event.mouse_x
[Link](context)
elif [Link] == ’LEFTMOUSE’: # Confirm
return {’FINISHED’}
elif [Link] in (’RIGHTMOUSE’, ’ESC’): # Cancel
return {’CANCELLED’}

return {’RUNNING_MODAL’}

def invoke(self, context, event):


[Link] = event.mouse_x
[Link](context)

print(context.window_manager.modal_handler_add(self))
return {’RUNNING_MODAL’}

[Link].register_class(ModalOperator)

# test call
[Link].modal_operator(’INVOKE_DEFAULT’)

base class — bpy_struct


class [Link](bpy_struct)
Storage of an operator being executed, or registered after execution
bl_description

2.4. Types ([Link]) 627


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


bl_idname
Type string, default “”
bl_label
Type string, default “”
bl_options
Options for this operator type
Type enum set in {‘REGISTER’, ‘UNDO’, ‘BLOCKING’, ‘MACRO’, ‘GRAB_POINTER’,
‘PRESET’}, default {‘REGISTER’}
has_reports
Operator has a set of reports (warnings and errors) from last execution
Type boolean, default False, (readonly)
layout
Type UILayout, (readonly)
name
Type string, default “”, (readonly)
properties
Type OperatorProperties, (readonly, never None)
report(type, message)
report
Parameters
• type (enum set in {‘DEBUG’, ‘INFO’, ‘OPERATOR’, ‘WARNING’, ‘ER-
ROR’, ‘ERROR_INVALID_INPUT’, ‘ERROR_INVALID_CONTEXT’, ‘ER-
ROR_OUT_OF_MEMORY’}) – Type
• message (string) – Report Message
classmethod poll(context)
Test if the operator can be called or not.
Return type boolean
execute(context)
Execute the operator.
Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}
check(context)
Check the operator settings.
Returns result
Return type boolean
invoke(context, event)
Invoke the operator.
Returns result

628 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,


‘PASS_THROUGH’}
modal(context, event)
Modal operator function.
Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}
draw(context)
Draw function for the operator.

cancel(context)
Called when the operator is cancelled.
Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}
as_keywords(ignore=())
Return a copy of the properties as a dictionary.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• WindowManager.fileselect_add
• WindowManager.invoke_confirm
• WindowManager.invoke_popup

2.4. Types ([Link]) 629


Blender Index, Release 2.57.0 r36138 - API

• WindowManager.invoke_props_dialog
• WindowManager.invoke_props_popup
• WindowManager.invoke_search_popup
• WindowManager.modal_handler_add
• [Link]

2.4.364 OperatorFileListElement(PropertyGroup)

base classes — bpy_struct, PropertyGroup


class [Link](PropertyGroup)

name
the name of a file or directory within a file list
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.365 OperatorMousePath(PropertyGroup)

base classes — bpy_struct, PropertyGroup


class [Link](PropertyGroup)
Mouse path values for operators that record such paths
loc
Mouse location
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)

630 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

time
Time of mouse location
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.366 OperatorProperties(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Input properties of an Operator

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 631


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.367 OperatorStrokeElement(PropertyGroup)

base classes — bpy_struct, PropertyGroup


class [Link](PropertyGroup)

is_start
Type boolean, default False
location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
mouse
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
pen_flip
Type boolean, default False
pressure
Tablet pressure
Type float in [0, 1], default 0.0
time
Type float in [0, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]

632 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.368 OperatorTypeMacro(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Storage of a sub operator in a macro after it has been added
properties
Type OperatorProperties, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 633


Blender Index, Release 2.57.0 r36138 - API

2.4.369 OrController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller passing on events based on a logical OR operation

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.370 OutflowFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for objects removing fluids from the simulation
use
Object contributes to the fluid simulation
Type boolean, default False
use_animated_mesh
Export this mesh as an animated one. Slower, only use if really necessary (e.g. armatures or parented
objects), animated pos/rot/scale IPOs do not require it
Type boolean, default False

634 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

volume_initialization
Volume initialization type
Type enum in [’VOLUME’, ‘SHELL’, ‘BOTH’], default ‘VOLUME’

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.371 PackedFile(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
External file packed into the .blend file
size
Size of packed file in bytes
Type int in [-inf, inf], default 0, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 635


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Image.packed_file
• Sound.packed_file
• VectorFont.packed_file

2.4.372 Paint(bpy_struct)

base class — bpy_struct


subclasses — VertexPaint, Sculpt, ImagePaint
class [Link](bpy_struct)

brush
Active Brush
Type Brush
show_brush
Type boolean, default False
show_brush_on_surface
Type boolean, default False
show_low_resolution
For multires, show low resolution while navigating the view
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

636 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.373 Panel(bpy_struct)

Basic Panel Example

This script is a simple panel which will draw into the object properties section.
Notice the ‘CATEGORY_PT_name’ Panel.bl_idname, this is a naming convention for panels.

Note: Panel subclasses must be registered for blender to use them.

import bpy

class HelloWorldPanel([Link]):
bl_idname = "OBJECT_PT_hello_world"
bl_label = "Hello World"
bl_space_type = ’PROPERTIES’
bl_region_type = ’WINDOW’
bl_context = "object"

def draw(self, context):


[Link](text="Hello World")

[Link].register_class(HelloWorldPanel)

Simple Object Panel

This panel has a [Link] and Panel.draw_header function, even though the contents is basic this closely
resemples blenders panels.
import bpy

class ObjectSelectPanel([Link]):
bl_idname = "OBJECT_PT_select"
bl_label = "Select"
bl_space_type = ’PROPERTIES’
bl_region_type = ’WINDOW’
bl_context = "object"

2.4. Types ([Link]) 637


Blender Index, Release 2.57.0 r36138 - API

bl_options = {’DEFAULT_CLOSED’}

@classmethod
def poll(cls, context):
return ([Link] is not None)

def draw_header(self, context):


layout = [Link]
obj = [Link]
[Link](obj, "select", text="")

def draw(self, context):


layout = [Link]

obj = [Link]
row = [Link]()
[Link](obj, "hide_select")
[Link](obj, "hide_render")

box = [Link]()
[Link]("Selection Tools")
[Link]("object.select_all")
row = [Link]()
[Link]("object.select_inverse")
[Link]("object.select_random")

[Link].register_class(ObjectSelectPanel)

Mix-in Classes

A mix-in parent class can be used to share common properties and [Link] function.
import bpy

class View3DPanel():
bl_space_type = ’VIEW_3D’
bl_region_type = ’TOOLS’

@classmethod
def poll(cls, context):
return ([Link] is not None)

class PanelOne(View3DPanel, [Link]):


bl_idname = "VIEW3D_PT_test_1"
bl_label = "Panel One"

def draw(self, context):


[Link]("Small Class")

class PanelTwo(View3DPanel, [Link]):


bl_idname = "VIEW3D_PT_test_2"
bl_label = "Panel Two"

638 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

def draw(self, context):


[Link]("Also Small Class")

[Link].register_class(PanelOne)
[Link].register_class(PanelTwo)

base class — bpy_struct


subclasses — InputKeyMapPanel
class [Link](bpy_struct)
Panel containing UI elements
bl_context
The context in which the panel belongs to. (TODO: explain the possible combinations
bl_context/bl_region_type/bl_space_type)
Type string, default “”
bl_idname
If this is set, the panel gets a custom ID, otherwise it takes the name of the class used to define the panel. For
example, if the class name is “OBJECT_PT_hello”, and bl_idname is not set by the script, then bl_idname
= “OBJECT_PT_hello”
Type string, default “”
bl_label
The panel label, shows up in the panel header at the right of the triangle used to collapse the panel.
Type string, default “”
bl_options
Options for this panel type
Type enum set in {‘DEFAULT_CLOSED’, ‘HIDE_HEADER’}, default {‘DE-
FAULT_CLOSED’}
bl_region_type
The region where the panel is going to be used in.
Type enum in [’WINDOW’, ‘HEADER’, ‘CHANNELS’, ‘TEMPORARY’, ‘UI’, ‘TOOLS’,
‘TOOL_PROPS’, ‘PREVIEW’], default ‘WINDOW’
bl_space_type
The space where the panel is going to be used in.
Type enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUTLINER’, ‘PROP-
ERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SEQUENCE_EDITOR’,
‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’,
‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’, ‘CON-
SOLE’, ‘USER_PREFERENCES’], default ‘EMPTY’
layout
Defines the structure of the panel in the UI.
Type UILayout, (readonly)
text
XXX todo
Type string, default “”

2.4. Types ([Link]) 639


Blender Index, Release 2.57.0 r36138 - API

classmethod poll(context)
If this method returns a non-null output, then the panel can be drawn.
Return type boolean
draw(context)
Draw UI elements into the panel UI layout.

draw_header(context)
Draw UI elements into the panel’s header UI layout.

classmethod append(draw_func)
Append a draw function to this menu, takes the same arguments as the menus draw function.
classmethod prepend(draw_func)
Prepend a draw function to this menu, takes the same arguments as the menus draw function.
classmethod remove(draw_func)
Remove a draw function that has been added to this menu

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.374 ParentActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)

mode
Type enum in [’SETPARENT’, ‘REMOVEPARENT’], default ‘SETPARENT’

640 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

object
Set this object as parent
Type Object
use_compound
Add this object shape to the parent shape (only if the parent shape is already compound)
Type boolean, default False
use_ghost
Make this object ghost while parented
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.375 Particle(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Particle in a particle system
alive_state
Type enum in [’DEAD’, ‘UNBORN’, ‘ALIVE’, ‘DYING’], default ‘DEAD’
angular_velocity

2.4. Types ([Link]) 641


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
birth_time
Type float in [-inf, inf], default 0.0
die_time
Type float in [-inf, inf], default 0.0
hair_keys
Type bpy_prop_collection of ParticleHairKey, (readonly)
is_exist
Type boolean, default False, (readonly)
is_visible
Type boolean, default False, (readonly)
lifetime
Type float in [-inf, inf], default 0.0
location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
particle_keys
Type bpy_prop_collection of ParticleKey, (readonly)
prev_angular_velocity
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
prev_location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
prev_rotation
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
prev_velocity
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
size
Type float in [-inf, inf], default 0.0
velocity
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

642 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.376 ParticleBrush(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Particle editing brush
count
Particle count
Type int in [1, 1000], default 0
curve
Type CurveMapping, (readonly)
length_mode
Type enum in [’GROW’, ‘SHRINK’], default ‘GROW’
puff_mode
Type enum in [’ADD’, ‘SUB’], default ‘ADD’
size
Radius of the brush in pixels
Type int in [1, 32767], default 0
steps
Brush steps
Type int in [1, 32767], default 0
strength
Brush strength

2.4. Types ([Link]) 643


Blender Index, Release 2.57.0 r36138 - API

Type float in [0.001, 1], default 0.0


use_puff_volume
Apply puff to unselected end-points, (helps maintain hair volume when puffing root)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.377 ParticleDupliWeight(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Weight of a particle dupliobject in a group
count
The number of times this object is repeated with respect to other objects
Type int in [0, 32767], default 0
name
Particle dupliobject name
Type string, default “”, (readonly)

644 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ParticleSettings.active_dupliweight
• ParticleSettings.dupli_weights

2.4.378 ParticleEdit(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Properties of particle editing mode
brush
Type ParticleBrush, (readonly)
default_key_count
How many keys to make new particles with
Type int in [2, 32767], default 0
draw_step
How many steps to draw the path with
Type int in [2, 10], default 0
emitter_distance
Distance to keep particles away from the emitter
Type float in [0, inf], default 0.0
fade_frames
How many frames to fade

2.4. Types ([Link]) 645


Blender Index, Release 2.57.0 r36138 - API

Type int in [2, 100], default 0


is_editable
A valid edit mode exists
Type boolean, default False, (readonly)
is_hair
Editing hair
Type boolean, default False, (readonly)
object
The edited object
Type Object, (readonly)
select_mode
Particle select and display mode
Type enum in [’PATH’, ‘POINT’, ‘TIP’], default ‘PATH’
show_particles
Draw actual particles
Type boolean, default False
tool
Type enum in [’NONE’, ‘COMB’, ‘SMOOTH’, ‘ADD’, ‘LENGTH’, ‘PUFF’, ‘CUT’,
‘WEIGHT’], default ‘COMB’
type
Type enum in [’PARTICLES’, ‘SOFT_BODY’, ‘CLOTH’], default ‘PARTICLES’
use_auto_velocity
Calculate point velocities automatically
Type boolean, default False
use_default_interpolate
Interpolate new particles from the existing ones
Type boolean, default False
use_emitter_deflect
Keep paths from intersecting the emitter
Type boolean, default False
use_fade_time
Fade paths and keys further away from current frame
Type boolean, default False
use_preserve_length
Keep path lengths constant
Type boolean, default False
use_preserve_root
Keep root keys unmodified
Type boolean, default False

646 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ToolSettings.particle_edit

2.4.379 ParticleFluidSettings(FluidSettings)

base classes — bpy_struct, FluidSettings


class [Link](FluidSettings)
Fluid simulation settings for objects storing fluid particles generated by the simulation
alpha_influence
Amount of particle alpha change, inverse of size influence: 0=off (all same alpha), 1=full. (large particles
get lower alphas, smaller ones higher values)
Type float in [0, 2], default 0.0
filepath
Directory (and/or filename prefix) to store and load particles from
Type string, default “”
particle_influence
Amount of particle size scaling: 0=off (all same size), 1=full (range 0.2-2.0), >1=stronger
Type float in [0, 2], default 0.0
show_tracer
Show tracer particles
Type boolean, default False

2.4. Types ([Link]) 647


Blender Index, Release 2.57.0 r36138 - API

use_drops
Show drop particles
Type boolean, default False
use_floats
Show floating foam particles
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.380 ParticleHairKey(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Particle key for hair particle system
co
Location of the hair key in object space
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
co_hair_space
Location of the hair key in its internal coordinate system, relative to the emitting face
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
time
Relative time of key over hair length
Type float in [0, inf], default 0.0

648 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

weight
Weight for cloth simulation
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Particle.hair_keys

2.4.381 ParticleInstanceModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Particle system instancing modifier
axis
Pole axis for rotation
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
object
Object that has the particle system
Type Object
particle_system_index
Type int in [1, 10], default 0
position
Position along path

2.4. Types ([Link]) 649


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1], default 0.0


random_position
Randomize position along path
Type float in [0, 1], default 0.0
show_alive
Show instances when particles are alive
Type boolean, default False
show_dead
Show instances when particles are dead
Type boolean, default False
show_unborn
Show instances when particles are unborn
Type boolean, default False
use_children
Create instances from child particles
Type boolean, default False
use_normal
Create instances from normal particles
Type boolean, default False
use_path
Create instances along particle paths
Type boolean, default False
use_preserve_shape
Don’t stretch the object
Type boolean, default False
use_size
Use particle size to scale the instances
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

650 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.382 ParticleKey(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Key location for a particle over time
angular_velocity
Key angular velocity
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
location
Key location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation
Key rotation quaternion
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
time
Time of key over the simulation
Type float in [0, inf], default 0.0
velocity
Key velocity
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 651


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Particle.particle_keys

2.4.383 ParticleSettings(ID)

base classes — bpy_struct, ID


class [Link](ID)
Particle settings, reusable by multiple particle systems
active_dupliweight
Type ParticleDupliWeight, (readonly)
active_dupliweight_index
Type int in [0, inf], default 0
active_texture
Active texture slot being displayed
Type Texture
active_texture_index
Index of active texture slot
Type int in [0, 17], default 0
adaptive_angle
How many degrees path has to curve to make another render segment
Type int in [0, 45], default 0
adaptive_pixel
How many pixels path has to cover to make another render segment
Type int in [0, 50], default 0

652 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

angular_velocity_factor
Angular velocity amount
Type float in [-200, 200], default 0.0
angular_velocity_mode
Particle angular velocity mode
Type enum in [’NONE’, ‘SPIN’, ‘RAND’], default ‘NONE’
animation_data
Animation data for this datablock
Type AnimData, (readonly)
apply_effector_to_children
Apply effectors to children
Type boolean, default False
apply_guide_to_children
Type boolean, default False
billboard_align
In respect to what the billboards are aligned
Type enum in [’X’, ‘Y’, ‘Z’, ‘VIEW’, ‘VEL’], default ‘X’
billboard_animation
How to animate billboard textures
Type enum in [’NONE’, ‘AGE’, ‘FRAME’, ‘ANGLE’], default ‘NONE’
billboard_object
Billboards face this object (default is active camera)
Type Object
billboard_offset
Type float array of 2 items in [-100, 100], default (0.0, 0.0)
billboard_offset_split
How to offset billboard textures
Type enum in [’NONE’, ‘LINEAR’, ‘RANDOM’], default ‘NONE’
billboard_tilt
Tilt of the billboards
Type float in [-1, 1], default 0.0
billboard_tilt_random
Random tilt of the billboards
Type float in [0, 1], default 0.0
billboard_uv_split
Amount of rows/columns to split UV coordinates for billboards
Type int in [1, 100], default 0
boids
Type BoidSettings, (readonly)

2.4. Types ([Link]) 653


Blender Index, Release 2.57.0 r36138 - API

branch_threshold
Threshold of branching
Type float in [0, 1], default 0.0
brownian_factor
Specify the amount of Brownian motion
Type float in [0, 200], default 0.0
child_length
Length of child paths
Type float in [0, 1], default 0.0
child_length_threshold
Amount of particles left untouched by child path length
Type float in [0, 1], default 0.0
child_nbr
Amount of children/parent
Type int in [0, 100000], default 0
child_parting_factor
Create parting in the children based on parent strands
Type float in [0, 1], default 0.0
child_parting_max
Maximum root to tip angle (tip distance/root distance for long hair)
Type float in [0, 180], default 0.0
child_parting_min
Minimum root to tip angle (tip distance/root distance for long hair)
Type float in [0, 180], default 0.0
child_radius
Radius of children around parent
Type float in [0, 10], default 0.0
child_roundness
Roundness of children around parent
Type float in [0, 1], default 0.0
child_size
A multiplier for the child particle size
Type float in [0.001, 100000], default 0.0
child_size_random
Random variation to the size of the child particles
Type float in [0, 1], default 0.0
child_type
Create child particles
Type enum in [’NONE’, ‘SIMPLE’, ‘INTERPOLATED’], default ‘NONE’
clump_factor
Amount of clumping

654 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-1, 1], default 0.0


clump_shape
Shape of clumping
Type float in [-0.999, 0.999], default 0.0
color_maximum
Maximum length of the particle color vector
Type float in [0.01, 100], default 0.0
count
Total number of particles
Type int in [0, 10000000], default 0
create_long_hair_children
Calculate children that suit long hair well
Type boolean, default False
damping
Specify the amount of damping
Type float in [0, 1], default 0.0
distribution
How to distribute particles on selected element
Type enum in [’NONE’, ‘RENDER’, ‘DOT’, ‘CIRC’, ‘CROSS’, ‘AXIS’], default ‘NONE’
drag_factor
Specify the amount of air-drag
Type float in [0, 1], default 0.0
draw_color
Draw additional particle data as a color
Type enum in [’NONE’, ‘MATERIAL’, ‘VELOCITY’, ‘ACCELERATION’], default ‘NONE’
draw_method
How particles are drawn in viewport
Type enum in [’NONE’, ‘RENDER’, ‘DOT’, ‘CIRC’, ‘CROSS’, ‘AXIS’], default ‘NONE’
draw_percentage
Percentage of particles to display in 3D view
Type int in [0, 100], default 0
draw_size
Size of particles on viewport in pixels (0=default)
Type int in [0, 1000], default 0
draw_step
How many steps paths are drawn with (power of 2)
Type int in [0, 7], default 0
dupli_group
Show Objects in this Group in place of particles
Type Group

2.4. Types ([Link]) 655


Blender Index, Release 2.57.0 r36138 - API

dupli_object
Show this Object in place of particles
Type Object
dupli_weights
Weights for all of the objects in the dupli group
Type bpy_prop_collection of ParticleDupliWeight, (readonly)
effect_hair
Hair stiffness for effectors
Type float in [0, 1], default 0.0
effector_amount
How many particles are effectors (0 is all particles)
Type int in [0, 10000], default 0
effector_weights
Type EffectorWeights, (readonly)
emit_from
Where to emit particles from
Type enum in [’VERT’, ‘FACE’, ‘VOLUME’], default ‘VERT’
factor_random
Give the starting speed a random variation
Type float in [0, 200], default 0.0
fluid
Type SPHFluidSettings, (readonly)
force_field_1
Type FieldSettings, (readonly)
force_field_2
Type FieldSettings, (readonly)
frame_end
Frame # to stop emitting particles
Type float in [-300000, 300000], default 0.0
frame_start
Frame # to start emitting particles
Type float in [-300000, 300000], default 0.0
grid_random
Add random offset to the grid locations
Type float in [0, 1], default 0.0
grid_resolution
The resolution of the particle grid
Type int in [1, 250], default 0
hair_length
Length of the hair

656 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1000], default 0.0


hair_step
Number of hair segments
Type int in [2, 50], default 0
hexagonal_grid
Create the grid in a hexagonal pattern
Type boolean, default False
integrator
Select physics integrator type
Type enum in [’EULER’, ‘VERLET’, ‘MIDPOINT’, ‘RK4’], default ‘EULER’
invert_grid
Invert what is considered object and what is not
Type boolean, default False
is_fluid
Particles were created by a fluid simulation
Type boolean, default False, (readonly)
jitter_factor
Amount of jitter applied to the sampling
Type float in [0, 2], default 0.0
keyed_loops
Number of times the keys are looped
Type int in [1, 10000], default 0
keys_step
Type int in [0, 32767], default 0
kink
Type of periodic offset on the path
Type enum in [’NO’, ‘CURL’, ‘RADIAL’, ‘WAVE’, ‘BRAID’], default ‘NO’
kink_amplitude
The amplitude of the offset
Type float in [-100000, 100000], default 0.0
kink_amplitude_clump
How much clump effects kink amplitude
Type float in [0, 1], default 0.0
kink_axis
Which axis to use for offset
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
kink_flat
How flat the hairs are
Type float in [0, 1], default 0.0

2.4. Types ([Link]) 657


Blender Index, Release 2.57.0 r36138 - API

kink_frequency
The frequency of the offset (1/total length)
Type float in [-100000, 100000], default 0.0
kink_shape
Adjust the offset to the beginning/end
Type float in [-0.999, 0.999], default 0.0
length_random
Give path length a random variation
Type float in [0, 1], default 0.0
lifetime
Specify the life span of the particles
Type float in [1, 300000], default 0.0
lifetime_random
Give the particle life a random variation
Type float in [0, 1], default 0.0
line_length_head
Length of the line’s head
Type float in [0, 100000], default 0.0
line_length_tail
Length of the line’s tail
Type float in [0, 100000], default 0.0
lock_billboard
Lock the billboards align axis
Type boolean, default False
lock_boids_to_surface
Constrain boids to a surface
Type boolean, default False
mass
Specify the mass of the particles
Type float in [0.001, 100000], default 0.0
material
Specify material used for the particles
Type int in [1, 32767], default 0
normal_factor
Let the surface normal give the particle a starting speed
Type float in [-1000, 1000], default 0.0
object_align_factor
Let the emitter object orientation give the particle a starting speed
Type float array of 3 items in [-200, 200], default (0.0, 0.0, 0.0)
object_factor
Let the object give the particle a starting speed

658 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-200, 200], default 0.0


particle_factor
Let the target particle give the particle a starting speed
Type float in [-200, 200], default 0.0
particle_size
The size of the particles
Type float in [0.001, 100000], default 0.0
path_end
End time of drawn path
Type float in [-inf, inf], default 0.0
path_start
Starting time of drawn path
Type float in [-inf, inf], default 0.0
phase_factor
Initial rotation phase
Type float in [-1, 1], default 0.0
phase_factor_random
Randomize rotation phase
Type float in [0, 1], default 0.0
physics_type
Particle physics type
Type enum in [’NO’, ‘NEWTON’, ‘KEYED’, ‘BOIDS’, ‘FLUID’], default ‘NO’
react_event
The event of target particles to react on
Type enum in [’DEATH’, ‘COLLIDE’, ‘NEAR’], default ‘DEATH’
reactor_factor
Let the vector away from the target particles location give the particle a starting speed
Type float in [-10, 10], default 0.0
regrow_hair
Regrow hair for each frame
Type boolean, default False
render_step
How many steps paths are rendered with (power of 2)
Type int in [0, 9], default 0
render_type
How particles are rendered
Type enum in [’NONE’, ‘HALO’, ‘LINE’, ‘PATH’, ‘OBJECT’, ‘GROUP’, ‘BILLBOARD’],
default ‘NONE’
rendered_child_count
Amount of children/parent for rendering
Type int in [0, 100000], default 0

2.4. Types ([Link]) 659


Blender Index, Release 2.57.0 r36138 - API

rotation_factor_random
Randomize rotation
Type float in [0, 1], default 0.0
rotation_mode
Particles initial rotation
Type enum in [’NONE’, ‘NOR’, ‘VEL’, ‘GLOB_X’, ‘GLOB_Y’, ‘GLOB_Z’, ‘OB_X’,
‘OB_Y’, ‘OB_Z’], default ‘NONE’
roughness_1
Amount of location dependent rough
Type float in [0, 100000], default 0.0
roughness_1_size
Size of location dependent rough
Type float in [0.01, 100000], default 0.0
roughness_2
Amount of random rough
Type float in [0, 100000], default 0.0
roughness_2_size
Size of random rough
Type float in [0.01, 100000], default 0.0
roughness_2_threshold
Amount of particles left untouched by random rough
Type float in [0, 1], default 0.0
roughness_end_shape
Shape of end point rough
Type float in [0, 10], default 0.0
roughness_endpoint
Amount of end point rough
Type float in [0, 100000], default 0.0
show_health
Draw boid health
Type boolean, default False
show_number
Show particle number
Type boolean, default False
show_size
Show particle size
Type boolean, default False
show_unborn
Show particles before they are emitted
Type boolean, default False

660 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

show_velocity
Show particle velocity
Type boolean, default False
simplify_rate
Speed of simplification
Type float in [0, 1], default 0.0
simplify_refsize
Reference size in pixels, after which simplification begins
Type int in [1, 32768], default 0
simplify_transition
Transition period for fading out strands
Type float in [0, 1], default 0.0
simplify_viewport
Speed of Simplification
Type float in [0, 0.999], default 0.0
size_random
Give the particle size a random variation
Type float in [0, 1], default 0.0
subframes
Subframes to simulate for improved stability and finer granularity simulations
Type int in [0, 1000], default 0
tangent_factor
Let the surface tangent give the particle a starting speed
Type float in [-1000, 1000], default 0.0
tangent_phase
Rotate the surface tangent
Type float in [-1, 1], default 0.0
texture_slots
Texture slots defining the mapping and influence of textures
Type ParticleSettingsTextureSlots bpy_prop_collection of
ParticleSettingsTextureSlot, (readonly)
time_tweak
A multiplier for physics timestep (1.0 means one frame = 1/25 seconds)
Type float in [0, 100], default 0.0
timestep
The simulation timestep per frame (in seconds)
Type float in [0.0001, 100], default 0.0
trail_count
Number of trail particles
Type int in [1, 100000], default 0
type

2.4. Types ([Link]) 661


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’EMITTER’, ‘HAIR’], default ‘EMITTER’


use_absolute_path_time
Path timing is in absolute frames
Type boolean, default False
use_advanced_hair
Use full physics calculations for growing hair
Type boolean, default False
use_dead
Show particles after they have died
Type boolean, default False
use_die_on_collision
Particles die when they collide with a deflector object
Type boolean, default False
use_dynamic_rotation
Sets rotation to dynamic/constant
Type boolean, default False
use_emit_random
Emit in random order of elements
Type boolean, default False
use_even_distribution
Use even distribution from faces based on face areas or edge lengths
Type boolean, default False
use_global_dupli
Use object’s global coordinates for duplication
Type boolean, default False
use_group_count
Use object multiple times in the same group
Type boolean, default False
use_group_pick_random
Pick objects from group randomly
Type boolean, default False
use_hair_bspline
Interpolate hair using B-Splines
Type boolean, default False
use_multiply_size_mass
Multiply mass by particle size
Type boolean, default False
use_parent_particles
Render parent particles
Type boolean, default False

662 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_react_multiple
React multiple times
Type boolean, default False
use_react_start_end
Give birth to unreacted particles eventually
Type boolean, default False
use_render_adaptive
Draw steps of the particle path
Type boolean, default False
use_render_emitter
Render emitter Object also
Type boolean, default False
use_self_effect
Particle effectors effect themselves
Type boolean, default False
use_simplify
Remove child strands as the object becomes smaller on the screen
Type boolean, default False
use_simplify_viewport
Type boolean, default False
use_size_deflect
Use particle’s size in deflection
Type boolean, default False
use_strand_primitive
Use the strand primitive for rendering
Type boolean, default False
use_velocity_length
Multiply line length by particle speed
Type boolean, default False
use_whole_group
Use whole group at once
Type boolean, default False
userjit
Emission locations / face (0 = automatic)
Type int in [0, 1000], default 0
virtual_parents
Relative amount of virtual parents
Type float in [0, 1], default 0.0

2.4. Types ([Link]) 663


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]

2.4.384 ParticleSettingsTextureSlot(TextureSlot)

base classes — bpy_struct, TextureSlot


class [Link](TextureSlot)
Texture slot for textures in a Particle Settings datablock
clump_factor
Amount texture affects child clump
Type float in [-inf, inf], default 0.0

664 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

damp_factor
Amount texture affects particle damping
Type float in [-inf, inf], default 0.0
density_factor
Amount texture affects particle density
Type float in [-inf, inf], default 0.0
field_factor
Amount texture affects particle force fields
Type float in [-inf, inf], default 0.0
gravity_factor
Amount texture affects particle gravity
Type float in [-inf, inf], default 0.0
kink_factor
Amount texture affects child kink
Type float in [-inf, inf], default 0.0
length_factor
Amount texture affects child hair length
Type float in [-inf, inf], default 0.0
life_factor
Amount texture affects particle life time
Type float in [-inf, inf], default 0.0
mapping
Type enum in [’FLAT’, ‘CUBE’, ‘TUBE’, ‘SPHERE’], default ‘FLAT’
mapping_x
Type enum in [’NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’
mapping_y
Type enum in [’NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’
mapping_z
Type enum in [’NONE’, ‘X’, ‘Y’, ‘Z’], default ‘NONE’
object
Object to use for mapping with Object texture coordinates
Type Object
rough_factor
Amount texture affects child roughness
Type float in [-inf, inf], default 0.0
size_factor
Amount texture affects physical particle size
Type float in [-inf, inf], default 0.0
texture_coords
Texture coordinates used to map the texture onto the background

2.4. Types ([Link]) 665


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’GLOBAL’, ‘OBJECT’, ‘UV’, ‘ORCO’, ‘STRAND’], default ‘GLOBAL’


time_factor
Amount texture affects particle emission time
Type float in [-inf, inf], default 0.0
use_map_clump
Affect the child clumping
Type boolean, default False
use_map_damp
Affect the particle velocity damping
Type boolean, default False
use_map_density
Affect the density of the particles
Type boolean, default False
use_map_field
Affect the particle force fields
Type boolean, default False
use_map_gravity
Affect the particle gravity
Type boolean, default False
use_map_kink
Affect the child kink
Type boolean, default False
use_map_length
Affect the child hair length
Type boolean, default False
use_map_life
Affect the life time of the particles
Type boolean, default False
use_map_rough
Affect the child rough
Type boolean, default False
use_map_size
Affect the particle size
Type boolean, default False
use_map_time
Affect the emission time of the particles
Type boolean, default False
use_map_velocity
Affect the particle initial velocity
Type boolean, default False

666 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

uv_layer
UV layer to use for mapping with UV texture coordinates
Type string, default “”
velocity_factor
Amount texture affects particle initial velocity
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• TextureSlot.blend_type
• [Link]
• TextureSlot.default_value
• [Link]
• [Link]
• TextureSlot.output_node
• TextureSlot.use_rgb_to_intensity
• [Link]
• TextureSlot.use_stencil
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ParticleSettings.texture_slots
• [Link]
• [Link]

2.4. Types ([Link]) 667


Blender Index, Release 2.57.0 r36138 - API

2.4.385 ParticleSettingsTextureSlots(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of texture slots
classmethod add()
add
Returns The newly initialized mtex.
Return type ParticleSettingsTextureSlot
classmethod create(index)
create
Parameters index (int in [0, inf]) – Index, Slot index to initialize.
Returns The newly initialized mtex.
Return type ParticleSettingsTextureSlot
classmethod clear(index)
clear
Parameters index (int in [0, inf]) – Index, Slot index to clear.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ParticleSettings.texture_slots

668 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.386 ParticleSystem(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Particle system in an object
active_particle_target
Type ParticleTarget, (readonly)
active_particle_target_index
Type int in [0, inf], default 0
billboard_normal_uv
UV Layer to control billboard normals
Type string, default “”
billboard_split_uv
UV Layer to control billboard splitting
Type string, default “”
billboard_time_index_uv
UV Layer to control billboard time index (X-Y)
Type string, default “”
child_particles
Child particles generated by the particle system
Type bpy_prop_collection of ChildParticle, (readonly)
child_seed
Offset in the random number table for child particles, to get a different randomized result
Type int in [0, inf], default 0
cloth
Cloth dynamics for hair
Type ClothModifier, (readonly, never None)
has_multiple_caches
Particle system has multiple point caches
Type boolean, default False, (readonly)
invert_vertex_group_clump
Negate the effect of the clump vertex group
Type boolean, default False
invert_vertex_group_density
Negate the effect of the density vertex group
Type boolean, default False
invert_vertex_group_field
Negate the effect of the field vertex group
Type boolean, default False
invert_vertex_group_kink
Negate the effect of the kink vertex group

2.4. Types ([Link]) 669


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


invert_vertex_group_length
Negate the effect of the length vertex group
Type boolean, default False
invert_vertex_group_rotation
Negate the effect of the rotation vertex group
Type boolean, default False
invert_vertex_group_roughness_1
Negate the effect of the roughness 1 vertex group
Type boolean, default False
invert_vertex_group_roughness_2
Negate the effect of the roughness 2 vertex group
Type boolean, default False
invert_vertex_group_roughness_end
Negate the effect of the roughness end vertex group
Type boolean, default False
invert_vertex_group_size
Negate the effect of the size vertex group
Type boolean, default False
invert_vertex_group_tangent
Negate the effect of the tangent vertex group
Type boolean, default False
invert_vertex_group_velocity
Negate the effect of the velocity vertex group
Type boolean, default False
is_editable
Particle system can be edited in particle mode
Type boolean, default False, (readonly)
is_edited
Particle system has been edited in particle mode
Type boolean, default False, (readonly)
is_global_hair
Hair keys are in global coordinate space
Type boolean, default False, (readonly)
name
Particle system name
Type string, default “”
parent
Use this object’s coordinate system instead of global coordinate system
Type Object

670 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

particles
Particles generated by the particle system
Type bpy_prop_collection of Particle, (readonly)
point_cache
Type PointCache, (readonly, never None)
reactor_target_object
For reactor systems, the object that has the target particle system (empty if same object)
Type Object
reactor_target_particle_system
For reactor systems, index of particle system on the target object
Type int in [1, 32767], default 0
seed
Offset in the random number table, to get a different randomized result
Type int in [0, inf], default 0
settings
Particle system settings
Type ParticleSettings, (never None)
targets
Target particle systems
Type bpy_prop_collection of ParticleTarget, (readonly)
use_hair_dynamics
Enable hair dynamics using cloth simulation
Type boolean, default False
use_keyed_timing
Use key times
Type boolean, default False
vertex_group_clump
Vertex group to control clump
Type string, default “”
vertex_group_density
Vertex group to control density
Type string, default “”
vertex_group_field
Vertex group to control field
Type string, default “”
vertex_group_kink
Vertex group to control kink
Type string, default “”
vertex_group_length
Vertex group to control length

2.4. Types ([Link]) 671


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


vertex_group_rotation
Vertex group to control rotation
Type string, default “”
vertex_group_roughness_1
Vertex group to control roughness 1
Type string, default “”
vertex_group_roughness_2
Vertex group to control roughness 2
Type string, default “”
vertex_group_roughness_end
Vertex group to control roughness end
Type string, default “”
vertex_group_size
Vertex group to control size
Type string, default “”
vertex_group_tangent
Vertex group to control tangent
Type string, default “”
vertex_group_velocity
Vertex group to control velocity
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

672 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• Object.particle_systems
• ParticleSystemModifier.particle_system
• [Link]
• PointDensity.particle_system
• SmokeFlowSettings.particle_system

2.4.387 ParticleSystemModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Particle system simulation modifier
particle_system
Particle System that this modifier controls
Type ParticleSystem, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 673


Blender Index, Release 2.57.0 r36138 - API

2.4.388 ParticleSystems(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of particle systems
active
Active particle system being displayed
Type ParticleSystem, (readonly)
active_index
Index of active particle system slot
Type int in [0, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.particle_systems

2.4.389 ParticleTarget(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Target particle system
alliance
Type enum in [’FRIEND’, ‘NEUTRAL’, ‘ENEMY’], default ‘NEUTRAL’

674 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

duration
Type float in [0, 30000], default 0.0
is_valid
Keyed particles target is valid
Type boolean, default False
name
Particle target name
Type string, default “”, (readonly)
object
The object that has the target particle system (empty if same object)
Type Object
system
The index of particle system on the target object
Type int in [1, inf], default 0
time
Type float in [0, 30000], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ParticleSystem.active_particle_target
• [Link]

2.4. Types ([Link]) 675


Blender Index, Release 2.57.0 r36138 - API

2.4.390 PivotConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Rotate around a different point
head_tail
Target along length of bone: Head=0, Tail=1
Type float in [0, 1], default 0.0
offset
Offset of pivot from target (when set), or from owner’s location (when Fixed Position is off), or the absolute
pivot point
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation_range
Rotation range on which pivoting should occur
Type enum in [’ALWAYS_ACTIVE’, ‘NX’, ‘NY’, ‘NZ’, ‘X’, ‘Y’, ‘Z’], default ‘NX’
subtarget
Type string, default “”
target
Target Object, defining the position of the pivot when defined
Type Object
use_relative_location
Offset will be an absolute point in space instead of relative to the target
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

676 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.391 PluginSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence


class [Link](EffectSequence)
Sequence strip applying an effect, loaded from an external plugin
filename
Type string, default “”, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count
• EffectSequence.color_balance

2.4. Types ([Link]) 677


Blender Index, Release 2.57.0 r36138 - API

• EffectSequence.use_float
• [Link]
• EffectSequence.use_deinterlace
• EffectSequence.use_reverse_frames
• EffectSequence.use_flip_x
• EffectSequence.use_flip_y
• EffectSequence.color_multiply
• EffectSequence.use_premultiply
• [Link]
• EffectSequence.use_proxy_custom_directory
• EffectSequence.use_proxy_custom_file
• EffectSequence.color_saturation
• [Link]
• [Link]
• EffectSequence.use_color_balance
• EffectSequence.use_crop
• EffectSequence.use_proxy
• EffectSequence.use_translation

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.392 PluginTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
External plugin texture
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

678 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 679


Blender Index, Release 2.57.0 r36138 - API

2.4.393 PointCache(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point cache for physics simulations
compression
Compression method to be used
Type enum in [’NO’, ‘LIGHT’, ‘HEAVY’], default ‘NO’
filepath
Cache file path
Type string, default “”
frame_end
Frame on which the simulation stops
Type int in [1, 300000], default 0
frame_start
Frame on which the simulation starts
Type int in [1, 300000], default 0
frame_step
Number of frames between cached frames
Type int in [1, 20], default 0
frames_skipped
Type boolean, default False, (readonly)
index
Index number of cache files
Type int in [-1, 100], default 0
info
Info on current cache status
Type string, default “”, (readonly)
is_baked
Type boolean, default False, (readonly)
is_baking
Type boolean, default False, (readonly)
is_outdated
Type boolean, default False, (readonly)
name
Cache name
Type string, default “”
point_caches
Point cache list
Type PointCaches bpy_prop_collection of PointCache, (readonly)

680 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_disk_cache
Save cache files to disk (.blend file must be saved first)
Type boolean, default False
use_external
Read cache from an external location
Type boolean, default False
use_library_path
Use this files path when library linked into another file.
Type boolean, default False
use_quick_cache
Update simulation with cache steps
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ClothModifier.point_cache
• ParticleSystem.point_cache
• PointCache.point_caches
• SmokeDomainSettings.point_cache
• SoftBodyModifier.point_cache

2.4.394 PointCaches(bpy_struct)

base class — bpy_struct

2.4. Types ([Link]) 681


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
Collection of point caches
active_index
Type int in [0, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• PointCache.point_caches

2.4.395 PointDensity(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point density settings
color_ramp
Type ColorRamp, (readonly)
color_source
Data to derive color results from
Type enum in [’CONSTANT’, ‘PARTICLE_AGE’, ‘PARTICLE_SPEED’, ‘PARTI-
CLE_VELOCITY’], default ‘CONSTANT’
falloff
Method of attenuating density by distance from the point

682 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’STANDARD’, ‘SMOOTH’, ‘SOFT’, ‘CONSTANT’, ‘ROOT’], default ‘STAN-


DARD’
falloff_soft
Softness of the ‘soft’ falloff option
Type float in [0.01, inf], default 0.0
noise_basis
Noise formula used for turbulence
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
object
Object to take point data from
Type Object
particle_cache_space
Co-ordinate system to cache particles in
Type enum in [’OBJECT_LOCATION’, ‘OBJECT_SPACE’, ‘WORLD_SPACE’], default
‘OBJECT_LOCATION’
particle_system
Particle System to render as points
Type ParticleSystem
point_source
Point data to use as renderable point density
Type enum in [’PARTICLE_SYSTEM’, ‘OBJECT’], default ‘PARTICLE_SYSTEM’
radius
Radius from the shaded sample to look for points within
Type float in [0.001, inf], default 0.0
speed_scale
Multiplier to bring particle speed within an acceptable range
Type float in [0.001, 100], default 0.0
turbulence_depth
Level of detail in the added turbulent noise
Type int in [0, 30], default 0
turbulence_influence
Method for driving added turbulent noise
Type enum in [’STATIC’, ‘PARTICLE_VELOCITY’, ‘PARTICLE_AGE’,
‘GLOBAL_TIME’], default ‘STATIC’
turbulence_scale
Scale of the added turbulent noise
Type float in [0.01, inf], default 0.0
turbulence_strength
Type float in [0.01, inf], default 0.0

2.4. Types ([Link]) 683


Blender Index, Release 2.57.0 r36138 - API

use_turbulence
Add directed noise to the density at render-time
Type boolean, default False
vertex_cache_space
Co-ordinate system to cache vertices in
Type enum in [’OBJECT_LOCATION’, ‘OBJECT_SPACE’, ‘WORLD_SPACE’], default
‘OBJECT_LOCATION’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• PointDensityTexture.point_density

2.4.396 PointDensityTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Settings for the Point Density texture
point_density
The point density settings associated with this texture
Type PointDensity, (readonly)
users_material
Materials that use this texture (readonly)

684 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 685


Blender Index, Release 2.57.0 r36138 - API

2.4.397 PointLamp(Lamp)

base classes — bpy_struct, ID, Lamp


class [Link](Lamp)
Omnidirectional point lamp
falloff_curve
Custom Lamp Falloff Curve
Type CurveMapping, (readonly)
falloff_type
Intensity Decay with distance
Type enum in [’CONSTANT’, ‘INVERSE_LINEAR’, ‘INVERSE_SQUARE’, ‘CUS-
TOM_CURVE’, ‘LINEAR_QUADRATIC_WEIGHTED’], default ‘CONSTANT’
linear_attenuation
Linear distance attenuation
Type float in [0, 1], default 0.0
quadratic_attenuation
Quadratic distance attenuation
Type float in [0, 1], default 0.0
shadow_adaptive_threshold
Threshold for Adaptive Sampling (Raytraced shadows)
Type float in [0, 1], default 0.0
shadow_color
Color of shadows cast by the lamp
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
shadow_method
Method to compute lamp shadow with
Type enum in [’NOSHADOW’, ‘RAY_SHADOW’], default ‘NOSHADOW’
shadow_ray_sample_method
Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower
Type enum in [’ADAPTIVE_QMC’, ‘CONSTANT_QMC’], default ‘ADAPTIVE_QMC’
shadow_ray_samples
Amount of samples taken extra (samples x samples)
Type int in [1, 64], default 0
shadow_soft_size
Light size for ray shadow sampling (Raytraced shadows)
Type float in [-inf, inf], default 0.0
use_only_shadow
Causes light to cast shadows only without illuminating objects
Type boolean, default False
use_shadow_layer
Causes only objects on the same layer to cast shadows

686 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_sphere
Sets light intensity to zero beyond lamp distance
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Lamp.active_texture
• Lamp.active_texture_index
• Lamp.animation_data
• [Link]
• Lamp.use_diffuse
• [Link]
• [Link]
• Lamp.use_own_layer
• Lamp.use_negative
• Lamp.use_specular
• Lamp.texture_slots
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 687


Blender Index, Release 2.57.0 r36138 - API

2.4.398 PointerProperty(Property)

base classes — bpy_struct, Property


class [Link](Property)
RNA pointer property to point to another RNA struct
fixed_type
Fixed pointer type, empty if variable type
Type Struct, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden
• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

688 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.399 Pose(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
A collection of pose channels, including settings for animating bones
animation_visualisation
Animation data for this datablock
Type AnimViz, (readonly, never None)
bone_groups
Groups of the bones
Type BoneGroups bpy_prop_collection of BoneGroup, (readonly)
bones
Individual pose bones for the armature
Type bpy_prop_collection of PoseBone, (readonly)
ik_param
Parameters for IK solver
Type IKParam, (readonly)
ik_solver
Selection of IK solver for IK chain, current choice is 0 for Legacy, 1 for iTaSC
Type enum in [’LEGACY’, ‘ITASC’], default ‘LEGACY’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 689


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.400 PoseBone(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Channel defining pose data for a bone in a Pose
bone
Bone associated with this PoseBone
Type Bone, (readonly, never None)
bone_group
Bone Group this pose channel belongs to
Type BoneGroup
bone_group_index
Bone Group this pose channel belongs to (0=no group)
Type int in [-32768, 32767], default 0
child
Child of this pose bone
Type PoseBone, (readonly)
constraints
Constraints that act on this PoseChannel
Type PoseBoneConstraints bpy_prop_collection of Constraint, (readonly)
custom_shape
Object that defines custom draw type for this bone
Type Object
custom_shape_transform
Bone that defines the display transform of this custom shape
Type PoseBone
head
Location of head of the channel’s bone
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)
ik_linear_weight
Weight of scale constraint for IK
Type float in [0, 1], default 0.0
ik_max_x
Maximum angles for IK Limit
Type float in [0, 3.14159], default 0.0
ik_max_y
Maximum angles for IK Limit

690 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 3.14159], default 0.0


ik_max_z
Maximum angles for IK Limit
Type float in [0, 3.14159], default 0.0
ik_min_x
Minimum angles for IK Limit
Type float in [-3.14159, 0], default 0.0
ik_min_y
Minimum angles for IK Limit
Type float in [-3.14159, 0], default 0.0
ik_min_z
Minimum angles for IK Limit
Type float in [-3.14159, 0], default 0.0
ik_rotation_weight
Weight of rotation constraint for IK
Type float in [0, 1], default 0.0
ik_stiffness_x
IK stiffness around the X axis
Type float in [0, 0.99], default 0.0
ik_stiffness_y
IK stiffness around the Y axis
Type float in [0, 0.99], default 0.0
ik_stiffness_z
IK stiffness around the Z axis
Type float in [0, 0.99], default 0.0
ik_stretch
Allow scaling of the bone for IK
Type float in [0, 1], default 0.0
is_in_ik_chain
Is part of an IK chain
Type boolean, default False, (readonly)
location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
lock_ik_x
Disallow movement around the X axis
Type boolean, default False
lock_ik_y
Disallow movement around the Y axis
Type boolean, default False

2.4. Types ([Link]) 691


Blender Index, Release 2.57.0 r36138 - API

lock_ik_z
Disallow movement around the Z axis
Type boolean, default False
lock_location
Lock editing of location in the interface
Type boolean array of 3 items, default (False, False, False)
lock_rotation
Lock editing of rotation in the interface
Type boolean array of 3 items, default (False, False, False)
lock_rotation_w
Lock editing of ‘angle’ component of four-component rotations in the interface
Type boolean, default False
lock_rotations_4d
Lock editing of four component rotations by components (instead of as Eulers)
Type boolean, default False
lock_scale
Lock editing of scale in the interface
Type boolean array of 3 items, default (False, False, False)
matrix
Final 4x4 matrix after constraints and drivers are applied (object space)
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (readonly)
matrix_basis
Provides an alternative access to loc/scale/rotation relative to the parent and own rest bone.
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
matrix_channel
4x4 matrix, before constraints
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (readonly)
motion_path
Motion Path for this element
Type MotionPath, (readonly)
name
Type string, default “”
parent
Parent of this pose bone
Type PoseBone, (readonly)
rotation_axis_angle
Angle of Rotation for Axis-Angle rotation representation
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 1.0, 0.0)

692 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

rotation_euler
Rotation in Eulers
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation_mode
Type enum in [’QUATERNION’, ‘XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’, ‘ZYX’,
‘AXIS_ANGLE’], default ‘QUATERNION’
rotation_quaternion
Rotation in Quaternions
Type float array of 4 items in [-inf, inf], default (1.0, 0.0, 0.0, 0.0)
scale
Type float array of 3 items in [-inf, inf], default (1.0, 1.0, 1.0)
tail
Location of tail of the channel’s bone
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)
use_ik_limit_x
Limit movement around the X axis
Type boolean, default False
use_ik_limit_y
Limit movement around the Y axis
Type boolean, default False
use_ik_limit_z
Limit movement around the Z axis
Type boolean, default False
use_ik_linear_control
Apply channel size as IK constraint if stretching is enabled
Type boolean, default False
use_ik_rotation_control
Apply channel rotation as IK constraint
Type boolean, default False
basename
The name of this bone before any ‘.’ character (readonly)
center
The midpoint between the head and the tail. (readonly)
children
A list of all the bones children. (readonly)
children_recursive
a list of all children from this bone. (readonly)
children_recursive_basename
Returns a chain of children with the same base name as this bone Only direct chains are supported, forks
caused by multiple children with matching basenames will terminate the function and not be returned.
(readonly)

2.4. Types ([Link]) 693


Blender Index, Release 2.57.0 r36138 - API

length
The distance from head to tail, when set the head is moved to fit the length.
parent_recursive
A list of parents, starting with the immediate parent (readonly)
vector
The direction this bone is pointing. Utility function for (tail - head) (readonly)
x_axis
Vector pointing down the x-axis of the bone.
(readonly)
y_axis
Vector pointing down the x-axis of the bone.
(readonly)
z_axis
Vector pointing down the x-axis of the bone.
(readonly)
evaluate_envelope(point)
Calculate bone envelope at given point.
Parameters point (float array of 3 items in [-inf, inf]) – Point, Position in 3d space to evaluate
Returns Factor, Envelope factor
Return type float in [-inf, inf]
parent_index(parent_test)
The same as ‘bone in other_bone.parent_recursive’ but saved generating a list.
translate(vec)
Utility function to add vec to the head and tail of this bone.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

694 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• PoseBone.custom_shape_transform
• [Link]

2.4.401 PoseBoneConstraints(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of pose bone constraints
active
Active PoseChannel constraint
Type Constraint
new(type)
Add a constraint to this object
Parameters type (enum in [’COPY_LOCATION’, ‘COPY_ROTATION’,
‘COPY_SCALE’, ‘COPY_TRANSFORMS’, ‘LIMIT_DISTANCE’, ‘LIMIT_LOCATION’,
‘LIMIT_ROTATION’, ‘LIMIT_SCALE’, ‘MAINTAIN_VOLUME’, ‘TRANSFORM’,
‘CLAMP_TO’, ‘DAMPED_TRACK’, ‘IK’, ‘LOCKED_TRACK’, ‘SPLINE_IK’,
‘STRETCH_TO’, ‘TRACK_TO’, ‘ACTION’, ‘CHILD_OF’, ‘FLOOR’, ‘FOLLOW_PATH’,
‘PIVOT’, ‘RIGID_BODY_JOINT’, ‘SCRIPT’, ‘SHRINKWRAP’]) – Constraint type to add.
Returns New constraint.
Return type Constraint
remove(constraint)
Remove a constraint from this object.
Parameters constraint (Constraint, (never None)) – Removed constraint.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 695


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.402 Property(bpy_struct)

base class — bpy_struct


subclasses — PointerProperty, EnumProperty, IntProperty, CollectionProperty,
BooleanProperty, FloatProperty, StringProperty
class [Link](bpy_struct)
RNA property definition
description
Description of the property for tooltips
Type string, default “”, (readonly)
identifier
Unique name used in the code and scripting
Type string, default “”, (readonly)
is_enum_flag
True when multiple enums
Type boolean, default False, (readonly)
is_hidden
True when the property is hidden
Type boolean, default False, (readonly)
is_never_none
True when this value can’t be set to None
Type boolean, default False, (readonly)
is_output
True when this property is an output value from an RNA function
Type boolean, default False, (readonly)
is_readonly
Property is editable through RNA
Type boolean, default False, (readonly)
is_registered
Property is registered as part of type registration

696 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False, (readonly)


is_registered_optional
Property is optionally registered as part of type registration
Type boolean, default False, (readonly)
is_required
False when this property is an optional argument in an RNA function
Type boolean, default False, (readonly)
is_runtime
Property is editable through RNA
Type boolean, default False, (readonly)
name
Human readable name
Type string, default “”, (readonly)
srna
Struct definition used for properties assigned to this item
Type Struct, (readonly)
subtype
Semantic interpretation of the property
Type enum in [’NONE’, ‘FILE_PATH’, ‘DIRECTORY_PATH’, ‘UNSIGNED’, ‘PERCENT-
AGE’, ‘FACTOR’, ‘ANGLE’, ‘TIME’, ‘DISTANCE’, ‘COLOR’, ‘TRANSLATION’, ‘DI-
RECTION’, ‘MATRIX’, ‘EULER’, ‘QUATERNION’, ‘XYZ’, ‘COLOR_GAMMA’, ‘CO-
ORDINATES’, ‘LAYER’, ‘LAYER_MEMBERSHIP’], default ‘NONE’, (readonly)
type
Data type of the property
Type enum in [’BOOLEAN’, ‘INT’, ‘FLOAT’, ‘STRING’, ‘ENUM’, ‘POINTER’, ‘COLLEC-
TION’], default ‘BOOLEAN’, (readonly)
unit
Type of units for this property
Type enum in [’NONE’, ‘LENGTH’, ‘AREA’, ‘VOLUME’, ‘ROTATION’, ‘TIME’, ‘VELOC-
ITY’, ‘ACCELERATION’], default ‘NONE’, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 697


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.403 PropertyActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to handle properties
mode
Type enum in [’ASSIGN’, ‘ADD’, ‘COPY’, ‘TOGGLE’], default ‘ASSIGN’
object
Copy from this Object
Type Object
object_property
Copy this property
Type string, default “”
property
The name of the property
Type string, default “”
value
The name of the property or the value to use (use “” around strings)
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

698 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.404 PropertyGroup(bpy_struct)

Custom Properties

PropertyGroups are the base class for dynamically defined sets of properties.
They can be used to extend existing blender data with your own types which can be animated, accessed from the user
interface and from python.

Note: The values assigned to blender data are saved to disk but the class definitions are not, this means whenever you
load blender the class needs to be registered too.
This is best done by creating an addon which loads on startup and registers your properties.

Note: PropertyGroups must be registered before assigning them to blender data.

See Also:
Property types used in class declarations are all in [Link]
import bpy

class MyPropertyGroup([Link]):
custom_1 = [Link](name="My Float")
custom_2 = [Link](name="My Int")

[Link].register_class(MyPropertyGroup)

[Link].my_prop_grp = [Link](type=MyPropertyGroup)

2.4. Types ([Link]) 699


Blender Index, Release 2.57.0 r36138 - API

# test this worked


[Link][0].my_prop_grp.custom_1 = 22.0

base class — bpy_struct


subclasses — OperatorFileListElement, OperatorMousePath, OperatorStrokeElement
class [Link](bpy_struct)
Group of ID properties
name
Unique name used in the code and scripting
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• PropertyGroupItem.idp_array

2.4.405 PropertyGroupItem(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Property that stores arbitrary, user defined properties
collection
Type bpy_prop_collection of PropertyGroup, (readonly)

700 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

double
Type float in [-inf, inf], default 0.0
double_array
Type float array of 1 items in [-inf, inf], default (0.0)
float
Type float in [-inf, inf], default 0.0
float_array
Type float array of 1 items in [-inf, inf], default (0.0)
group
Type PropertyGroup, (readonly)
idp_array
Type bpy_prop_collection of PropertyGroup, (readonly)
int
Type int in [-inf, inf], default 0
int_array
Type int array of 1 items in [-inf, inf], default (0,)
string
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 701


Blender Index, Release 2.57.0 r36138 - API

2.4.406 PropertySensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect values and changes in values of properties
evaluation_type
Type of property evaluation
Type enum in [’PROPEQUAL’, ‘PROPNEQUAL’, ‘PROPINTERVAL’, ‘PROPCHANGED’],
default ‘PROPEQUAL’
property
Type string, default “”
value
Check for this value in types in Equal or Not Equal types
Type string, default “”
value_max
Specify maximum value in Interval type
Type string, default “”
value_min
Specify minimum value in Interval type
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

702 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.407 PythonConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Uses Python script for constraint evaluation
has_script_error
The linked Python script has thrown an error
Type boolean, default False, (readonly)
target_count
Usually only 1-3 are needed
Type int in [-inf, inf], default 0
targets
Target Objects
Type bpy_prop_collection of ConstraintTarget, (readonly)
text
The text object that contains the Python script
Type Text
use_targets
Use the targets indicated in the constraint panel
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

2.4. Types ([Link]) 703


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.408 PythonController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller executing a python script
mode
Python script type (textblock or module - faster)
Type enum in [’SCRIPT’, ‘MODULE’], default ‘SCRIPT’
module
Module name and function to run e.g. “[Link]”. Internal texts and external python files can be
used
Type string, default “”
text
Text datablock with the python script
Type Text
use_debug
Continuously reload the module from disk for editing external modules without restarting
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

704 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.409 RGBANodeSocket(NodeSocket)

base classes — bpy_struct, NodeSocket


class [Link](NodeSocket)
Input or output socket of a node
default_value
Default value of the socket when no link is attached
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

2.4. Types ([Link]) 705


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.410 RadarSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect objects in a cone shaped radar emanating from the current object
angle
Opening angle of the radar cone (in degrees)
Type float in [0, 179.9], default 0.0
axis
Specify along which axis the radar cone is cast
Type enum in [’XAXIS’, ‘YAXIS’, ‘ZAXIS’, ‘NEGXAXIS’, ‘NEGYAXIS’, ‘NEGZAXIS’],
default ‘XAXIS’
distance
Depth of the radar cone
Type float in [0, 10000], default 0.0
property
Only look for Objects with this property (blank = all objects)
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

706 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.411 RandomActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to ..
chance
Pick a number between 0 and 1. Success if you stay below this value
Type float in [0, 1], default 0.0
distribution
Choose the type of distribution
Type enum in [’BOOL_CONSTANT’, ‘BOOL_UNIFORM’, ‘BOOL_BERNOUILLI’,
‘INT_CONSTANT’, ‘INT_UNIFORM’, ‘INT_POISSON’, ‘FLOAT_CONSTANT’,
‘FLOAT_UNIFORM’, ‘FLOAT_NORMAL’, ‘FLOAT_NEGATIVE_EXPONENTIAL’],
default ‘BOOL_CONSTANT’
float_max
Choose a number from a range. Upper boundary of the range
Type float in [-1000, 1000], default 0.0
float_mean
A normal distribution. Mean of the distribution
Type float in [-1000, 1000], default 0.0
float_min
Choose a number from a range. Lower boundary of the range
Type float in [-1000, 1000], default 0.0
float_value
Always return this number
Type float in [0, 1], default 0.0
half_life_time
Negative exponential dropoff
Type float in [-1000, 1000], default 0.0
int_max
Choose a number from a range. Upper boundary of the range
Type int in [-1000, 1000], default 0

2.4. Types ([Link]) 707


Blender Index, Release 2.57.0 r36138 - API

int_mean
Expected mean value of the distribution
Type float in [0.01, 100], default 0.0
int_min
Choose a number from a range. Lower boundary of the range
Type int in [-1000, 1000], default 0
int_value
Always return this number
Type int in [-inf, inf], default 0
property
Assign the random value to this property
Type string, default “”
seed
Initial seed of the random generator. Use Python for more freedom (choose 0 for not random)
Type int in [0, 300000], default 0
standard_derivation
A normal distribution. Standard deviation of the distribution
Type float in [-1000, 1000], default 0.0
use_always_true
Always false or always true
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

708 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.412 RandomSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to send random events
seed
Initial seed of the generator. (Choose 0 for not random)
Type int in [0, 1000], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4. Types ([Link]) 709


Blender Index, Release 2.57.0 r36138 - API

2.4.413 RaySensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect intersections with a ray emanating from the current object
axis
Specify along which axis the ray is cast
Type enum in [’XAXIS’, ‘YAXIS’, ‘ZAXIS’, ‘NEGXAXIS’, ‘NEGYAXIS’, ‘NEGZAXIS’],
default ‘YAXIS’
material
Only look for Objects with this material (blank = all objects)
Type string, default “”
property
Only look for Objects with this property (blank = all objects)
Type string, default “”
range
Sense objects no farther than this distance
Type float in [0.01, 10000], default 0.0
ray_type
Toggle collision on material or property
Type enum in [’PROPERTY’, ‘MATERIAL’], default ‘PROPERTY’
use_x_ray
Toggle X-Ray option (see through objects that don’t have the property)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

710 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.414 Region(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Region in a subdivided screen area
height
Region height
Type int in [0, 32767], default 0, (readonly)
id
Unique ID for this region
Type int in [-32768, 32767], default 0, (readonly)
type
Type of this region
Type enum in [’WINDOW’, ‘HEADER’, ‘CHANNELS’, ‘TEMPORARY’, ‘UI’, ‘TOOLS’,
‘TOOL_PROPS’, ‘PREVIEW’], default ‘WINDOW’, (readonly)
width
Region width
Type int in [0, 32767], default 0, (readonly)
tag_redraw()
tag_redraw

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

2.4. Types ([Link]) 711


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.415 RegionView3D(bpy_struct)

base class — bpy_struct


class [Link].RegionView3D(bpy_struct)
3D View region data
lock_rotation
Lock view rotation in side views
Type boolean, default False
perspective_matrix
Current perspective matrix of the 3D region
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (readonly)
show_sync_view
Sync view position between side views
Type boolean, default False
use_box_clip
Clip objects based on what’s visible in other side views
Type boolean, default False
view_distance
Distance to the view location
Type float in [0, inf], default 0.0
view_location
View pivot location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
view_matrix
Current view matrix of the 3D region
Type float array of 16 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (readonly)

712 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

view_perspective
View Perspective
Type enum in [’PERSP’, ‘ORTHO’, ‘CAMERA’], default ‘ORTHO’
view_rotation
Rotation in quaternions (keep normalized)
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Context.region_data
• SpaceView3D.region_3d
• SpaceView3D.region_quadview

2.4.416 RenderEngine(bpy_struct)

Simple Render Engine

import bpy

class CustomRenderEngine([Link]):
# These three members are used by blender to set up the
# RenderEngine; define its internal name, visible name and capabilities.
bl_idname = ’custom_renderer’
bl_label = ’Flat Color Renderer’
bl_use_preview = True

2.4. Types ([Link]) 713


Blender Index, Release 2.57.0 r36138 - API

# This is the only method called by blender, in this example


# we use it to detect preview rendering and call the implementation
# in another method.
def render(self, scene):
scale = [Link].resolution_percentage / 100.0
self.size_x = int([Link].resolution_x * scale)
self.size_y = int([Link].resolution_y * scale)

if [Link] == ’preview’:
self.render_preview(scene)
else:
self.render_scene(scene)

# In this example, we fill the preview renders with a flat green color.
def render_preview(self, scene):
pixel_count = self.size_x * self.size_y

# The framebuffer is defined as a list of pixels, each pixel


# itself being a list of R,G,B,A values
green_rect = [[0.0, 1.0, 0.0, 1.0]] * pixel_count

# Here we write the pixel values to the RenderResult


result = self.begin_result(0, 0, self.size_x, self.size_y)
layer = [Link][0]
[Link] = green_rect
self.end_result(result)

# In this example, we fill the full renders with a flat blue color.
def render_scene(self, scene):
pixel_count = self.size_x * self.size_y

# The framebuffer is defined as a list of pixels, each pixel


# itself being a list of R,G,B,A values
blue_rect = [[0.0, 0.0, 1.0, 1.0]] * pixel_count

# Here we write the pixel values to the RenderResult


result = self.begin_result(0, 0, self.size_x, self.size_y)
layer = [Link][0]
[Link] = blue_rect
self.end_result(result)

# Register the RenderEngine


[Link].register_class(CustomRenderEngine)

# RenderEngines also need to tell UI Panels that they are compatible


# Otherwise most of the UI will be empty when the engine is selected.
# In this example, we need to see the main render image button and
# the material preview panel.
import properties_render
properties_render.RENDER_PT_render.COMPAT_ENGINES.add(’custom_renderer’)
del properties_render

import properties_material
properties_material.MATERIAL_PT_preview.COMPAT_ENGINES.add(’custom_renderer’)
del properties_material

base class — bpy_struct

714 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
Render engine
bl_idname
Type string, default “”
bl_label
Type string, default “”
bl_use_postprocess
Type boolean, default False
bl_use_preview
Type boolean, default False
render(scene=None)
Render scene into an image.

begin_result(x, y, w, h)
begin_result
Parameters
• x (int in [0, inf]) – X
• y (int in [0, inf]) – Y
• w (int in [0, inf]) – Width
• h (int in [0, inf]) – Height
Returns Result
Return type RenderResult
update_result(result)
update_result
Parameters result (RenderResult) – Result
end_result(result)
end_result
Parameters result (RenderResult) – Result
test_break()
test_break
Returns Break
Return type boolean
update_stats(stats, info)
update_stats
Parameters
• stats (string) – Stats
• info (string) – Info

2.4. Types ([Link]) 715


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.417 RenderLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)

exclude_ambient_occlusion
Exclude AO pass from combined
Type boolean, default False, (readonly)
exclude_emit
Exclude emission pass from combined
Type boolean, default False, (readonly)
exclude_environment
Exclude environment pass from combined
Type boolean, default False, (readonly)
exclude_indirect
Exclude indirect pass from combined
Type boolean, default False, (readonly)
exclude_reflection
Exclude raytraced reflection pass from combined
Type boolean, default False, (readonly)
exclude_refraction
Exclude raytraced refraction pass from combined

716 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False, (readonly)


exclude_shadow
Exclude shadow pass from combined
Type boolean, default False, (readonly)
exclude_specular
Exclude specular pass from combined
Type boolean, default False, (readonly)
invert_zmask
For Zmask, only render what is behind solid z values instead of in front
Type boolean, default False, (readonly)
layers
Scene layers included in this render layer
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False), (readonly)
layers_zmask
Zmask scene layers
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False), (readonly)
light_override
Group to override all other lights in this render layer
Type Group, (readonly)
material_override
Material to override all other materials in this render layer
Type Material, (readonly)
name
Render layer name
Type string, default “”, (readonly)
passes
Type bpy_prop_collection of RenderPass, (readonly)
rect
Type float in [-inf, inf], default 0.0
use
Disable or enable the render layer
Type boolean, default False, (readonly)
use_all_z
Fill in Z values for solid faces in invisible layers, for masking
Type boolean, default False, (readonly)
use_edge_enhance
Render Edge-enhance in this Layer (only works for Solid faces)
Type boolean, default False, (readonly)

2.4. Types ([Link]) 717


Blender Index, Release 2.57.0 r36138 - API

use_halo
Render Halos in this Layer (on top of Solid)
Type boolean, default False, (readonly)
use_pass_ambient_occlusion
Deliver AO pass
Type boolean, default False, (readonly)
use_pass_color
Deliver shade-less color pass
Type boolean, default False, (readonly)
use_pass_combined
Deliver full combined RGBA buffer
Type boolean, default False, (readonly)
use_pass_diffuse
Deliver diffuse pass
Type boolean, default False, (readonly)
use_pass_emit
Deliver emission pass
Type boolean, default False, (readonly)
use_pass_environment
Deliver environment lighting pass
Type boolean, default False, (readonly)
use_pass_indirect
Deliver indirect lighting pass
Type boolean, default False, (readonly)
use_pass_mist
Deliver mist factor pass (0.0-1.0)
Type boolean, default False, (readonly)
use_pass_normal
Deliver normal pass
Type boolean, default False, (readonly)
use_pass_object_index
Deliver object index pass
Type boolean, default False, (readonly)
use_pass_reflection
Deliver raytraced reflection pass
Type boolean, default False, (readonly)
use_pass_refraction
Deliver raytraced refraction pass
Type boolean, default False, (readonly)
use_pass_shadow
Deliver shadow pass

718 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False, (readonly)


use_pass_specular
Deliver specular pass
Type boolean, default False, (readonly)
use_pass_uv
Deliver texture UV pass
Type boolean, default False, (readonly)
use_pass_vector
Deliver speed vector pass
Type boolean, default False, (readonly)
use_pass_z
Deliver Z values pass
Type boolean, default False, (readonly)
use_sky
Render Sky in this Layer
Type boolean, default False, (readonly)
use_solid
Render Solid faces in this Layer
Type boolean, default False, (readonly)
use_strand
Render Strands in this Layer
Type boolean, default False, (readonly)
use_zmask
Only render what’s in front of the solid z values
Type boolean, default False, (readonly)
use_ztransp
Render Z-Transparent faces in this Layer (On top of Solid and Halos)
Type boolean, default False, (readonly)
load_from_file(filename, x=0, y=0)
Copies the pixels of this renderlayer from an image file.
Parameters
• filename (string) – Filename, Filename to load into this render tile, must be no smaller
than the renderlayer
• x (int in [0, inf], (optional)) – Offset X, Offset the position to copy from if the image is
larger than the render layer
• y (int in [0, inf], (optional)) – Offset Y, Offset the position to copy from if the image is
larger than the render layer

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 719


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.418 RenderLayers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of render layers
active
Active Render Layer
Type SceneRenderLayer
active_index
Active index in render layer array
Type int in [-32768, 32767], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

720 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.419 RenderPass(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)

channel_id
Type string, default “”, (readonly)
channels
Type int in [-inf, inf], default 0, (readonly)
name
Type string, default “”, (readonly)
rect
Type float in [-inf, inf], default 0.0
type
Type enum in [’COMBINED’, ‘Z’, ‘COLOR’, ‘DIFFUSE’, ‘SPECULAR’, ‘SHADOW’, ‘AO’,
‘REFLECTION’, ‘NORMAL’, ‘VECTOR’, ‘REFRACTION’, ‘OBJECT_INDEX’, ‘UV’,
‘MIST’, ‘EMIT’, ‘ENVIRONMENT’], default ‘COMBINED’, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

2.4. Types ([Link]) 721


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.420 RenderResult(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Result of rendering, including all layers and passes
layers
Type bpy_prop_collection of RenderLayer, (readonly)
resolution_x
Type int in [-inf, inf], default 0, (readonly)
resolution_y
Type int in [-inf, inf], default 0, (readonly)
load_from_file(filename)
Copies the pixels of this render result from an image file.
Parameters filename (string) – File Name, Filename to load into this render tile, must be no
smaller than the render result

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

722 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• RenderEngine.begin_result
• RenderEngine.end_result
• RenderEngine.update_result

2.4.421 RenderSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Rendering settings for a Scene datablock
alpha_mode
Representation of alpha information in the RGBA pixels
Type enum in [’SKY’, ‘PREMUL’, ‘STRAIGHT’], default ‘SKY’
antialiasing_samples
Amount of anti-aliasing samples per pixel
Type enum in [‘5’, ‘8’, ‘11’, ‘16’], default ‘5’
bake_aa_mode
Type enum in [‘5’, ‘8’, ‘11’, ‘16’], default ‘5’
bake_bias
Bias towards faces further away from the object (in blender units)
Type float in [0, 1000], default 0.0
bake_distance
Maximum distance from active object to other object (in blender units
Type float in [0, 1000], default 0.0
bake_margin
Amount of pixels to extend the baked result with, as post process filter
Type int in [0, 32], default 0
bake_normal_space
Choose normal space for baking
Type enum in [’CAMERA’, ‘WORLD’, ‘OBJECT’, ‘TANGENT’], default ‘CAMERA’
bake_quad_split
Choose the method used to split a quad into 2 triangles for baking
Type enum in [’AUTO’, ‘FIXED’, ‘FIXED_ALT’], default ‘AUTO’

2.4. Types ([Link]) 723


Blender Index, Release 2.57.0 r36138 - API

bake_type
Choose shading information to bake into the image
Type enum in [’FULL’, ‘AO’, ‘SHADOW’, ‘NORMALS’, ‘TEXTURE’, ‘DISPLACEMENT’],
default ‘FULL’
border_max_x
Sets maximum X value for the render border
Type float in [0, 1], default 0.0
border_max_y
Sets maximum Y value for the render border
Type float in [0, 1], default 0.0
border_min_x
Sets minimum X value to for the render border
Type float in [0, 1], default 0.0
border_min_y
Sets minimum Y value for the render border
Type float in [0, 1], default 0.0
cineon_black
Log conversion reference blackpoint
Type int in [0, 1024], default 0
cineon_gamma
Log conversion gamma
Type float in [0, 10], default 0.0
cineon_white
Log conversion reference whitepoint
Type int in [0, 1024], default 0
color_mode
Choose BW for saving greyscale images, RGB for saving red, green and blue channels, AND RGBA for
saving red, green, blue + alpha channels
Type enum in [’BW’, ‘RGB’, ‘RGBA’], default ‘BW’
display_mode
Select where rendered images will be displayed
Type enum in [’SCREEN’, ‘AREA’, ‘WINDOW’, ‘NONE’], default ‘SCREEN’
dither_intensity
Amount of dithering noise added to the rendered image to break up banding
Type float in [0, 2], default 0.0
edge_color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
edge_threshold
Threshold for drawing outlines on geometry edges
Type int in [0, 255], default 0

724 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

engine
Engine to use for rendering
Type enum in [’BLENDER_RENDER’], default ‘BLENDER_RENDER’
exr_codec
Codec settings for OpenEXR
Type enum in [’NONE’, ‘PXR24’, ‘ZIP’, ‘PIZ’, ‘RLE’], default ‘NONE’
exr_preview
When rendering animations, save JPG preview images in same directory
Type boolean, default False
exr_zbuf
Save the z-depth per pixel (32 bit unsigned int z-buffer)
Type boolean, default False
ffmpeg_audio_bitrate
Audio bitrate(kb/s)
Type int in [32, 384], default 0
ffmpeg_audio_codec
FFMpeg audio codec to use
Type enum in [’NONE’, ‘MP2’, ‘MP3’, ‘AC3’, ‘AAC’, ‘VORBIS’, ‘FLAC’, ‘PCM’], default
‘NONE’
ffmpeg_audio_mixrate
Audio samplerate(samples/s)
Type int in [8000, 192000], default 0
ffmpeg_audio_volume
Audio volume
Type float in [0, 1], default 0.0
ffmpeg_autosplit
Autosplit output at 2GB boundary
Type boolean, default False
ffmpeg_buffersize
Rate control: buffer size (kb)
Type int in [0, 2000], default 0
ffmpeg_codec
FFMpeg codec to use
Type enum in [’NONE’, ‘MPEG1’, ‘MPEG2’, ‘MPEG4’, ‘HUFFYUV’, ‘DV’, ‘H264’,
‘XVID’, ‘THEORA’, ‘FLASH’, ‘FFV1’], default ‘NONE’
ffmpeg_format
Output file format
Type enum in [’MPEG1’, ‘MPEG2’, ‘MPEG4’, ‘AVI’, ‘QUICKTIME’, ‘DV’, ‘H264’, ‘XVID’,
‘OGG’, ‘MKV’, ‘FLASH’, ‘WAV’, ‘MP3’], default ‘MPEG1’
ffmpeg_gopsize
Distance between key frames

2.4. Types ([Link]) 725


Blender Index, Release 2.57.0 r36138 - API

Type int in [0, 100], default 0


ffmpeg_maxrate
Rate control: max rate(kb/s)
Type int in [1, 14000], default 0
ffmpeg_minrate
Rate control: min rate(kb/s)
Type int in [0, 9000], default 0
ffmpeg_muxrate
Mux rate (bits/s(!))
Type int in [0, inf], default 0
ffmpeg_packetsize
Mux packet size (byte)
Type int in [0, 16384], default 0
ffmpeg_video_bitrate
Video bitrate(kb/s)
Type int in [1, 14000], default 0
field_order
Order of video fields. Select which lines get rendered first, to create smooth motion for TV output
Type enum in [’EVEN_FIRST’, ‘ODD_FIRST’], default ‘EVEN_FIRST’
file_extension
The file extension used for saving renders
Type string, default “”, (readonly)
file_format
File format to save the rendered images as
Type enum in [’BMP’, ‘IRIS’, ‘PNG’, ‘JPEG’, ‘JPEG2000’, ‘TARGA’, ‘TARGA_RAW’,
‘CINEON’, ‘DPX’, ‘MULTILAYER’, ‘OPEN_EXR’, ‘HDR’, ‘TIFF’, ‘AVI_JPEG’,
‘AVI_RAW’, ‘FRAMESERVER’, ‘H264’, ‘FFMPEG’, ‘THEORA’, ‘XVID’], default
‘TARGA’
file_quality
Quality of JPEG images, AVI Jpeg and SGI movies, Compression for PNG’s
Type int in [0, 100], default 0
filepath
Directory/name to save animations, # characters defines the position and length of frame numbers
Type string, default “”
filter_size
Pixel width over which the reconstruction filter combines samples
Type float in [0.5, 1.5], default 0.0
fps
Framerate, expressed in frames per second
Type int in [1, 120], default 0

726 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

fps_base
Framerate base
Type float in [0.1, 120], default 0.0
frame_map_new
Specify how many frames the Map Old will last
Type int in [1, 900], default 0
frame_map_old
Specify old mapping value in frames
Type int in [1, 900], default 0
has_multiple_engines
More than one rendering engine is available
Type boolean, default False, (readonly)
is_movie_format
When true the format is a movie
Type boolean, default False, (readonly)
jpeg2k_depth
Bit depth per channel
Type enum in [‘8’, ‘12’, ‘16’], default ‘8’
jpeg2k_preset
Use a DCI Standard preset for saving jpeg2000
Type enum in [’NO_PRESET’, ‘CINE_24FPS’, ‘CINE_48FPS’, ‘CINE_24FPS_4K’,
‘CINE_SCOPE_24FPS’, ‘CINE_SCOPE_48FPS’, ‘CINE_FLAT_24FPS’,
‘CINE_FLAT_48FPS’], default ‘NO_PRESET’
jpeg2k_ycc
Save luminance-chrominance-chrominance channels instead of RGB colors
Type boolean, default False
layers
Type RenderLayers bpy_prop_collection of SceneRenderLayer, (readonly)
motion_blur_samples
Number of scene samples to take with motion blur
Type int in [1, 32], default 0
motion_blur_shutter
Time taken in frames between shutter open and close
Type float in [0.01, 10], default 0.0
octree_resolution
Resolution of raytrace accelerator. Use higher resolutions for larger scenes
Type enum in [‘64’, ‘128’, ‘256’, ‘512’], default ‘64’
parts_x
Number of horizontal tiles to use while rendering
Type int in [1, 512], default 0

2.4. Types ([Link]) 727


Blender Index, Release 2.57.0 r36138 - API

parts_y
Number of vertical tiles to use while rendering
Type int in [1, 512], default 0
pixel_aspect_x
Horizontal aspect ratio - for anamorphic or non-square pixel output
Type float in [1, 200], default 0.0
pixel_aspect_y
Vertical aspect ratio - for anamorphic or non-square pixel output
Type float in [1, 200], default 0.0
pixel_filter_type
Reconstruction filter used for combining anti-aliasing samples
Type enum in [’BOX’, ‘TENT’, ‘QUADRATIC’, ‘CUBIC’, ‘CATMULLROM’, ‘GAUSSIAN’,
‘MITCHELL’], default ‘BOX’
raytrace_method
Type of raytrace accelerator structure
Type enum in [’AUTO’, ‘OCTREE’, ‘BLIBVH’, ‘VBVH’, ‘SIMD_SVBVH’,
‘SIMD_QBVH’], default ‘AUTO’
resolution_percentage
Percentage scale for render resolution
Type int in [1, 32767], default 0
resolution_x
Number of horizontal pixels in the rendered image
Type int in [4, 10000], default 0
resolution_y
Number of vertical pixels in the rendered image
Type int in [4, 10000], default 0
sequencer_gl_preview
Method to draw in the sequencer view
Type enum in [’BOUNDBOX’, ‘WIREFRAME’, ‘SOLID’, ‘TEXTURED’], default ‘BOUND-
BOX’
sequencer_gl_render
Method to draw in the sequencer view
Type enum in [’BOUNDBOX’, ‘WIREFRAME’, ‘SOLID’, ‘TEXTURED’], default ‘BOUND-
BOX’
simplify_ao_sss
Global approximate AA and SSS quality factor
Type float in [0, 1], default 0.0
simplify_child_particles
Global child particles percentage
Type float in [0, 1], default 0.0
simplify_shadow_samples
Global maximum shadow samples

728 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type int in [0, 32767], default 0


simplify_subdivision
Global maximum subdivision level
Type int in [0, 32767], default 0
stamp_background
Color to use behind stamp text
Type float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.0)
stamp_font_size
Size of the font used when rendering stamp text
Type int in [8, 64], default 0
stamp_foreground
Color to use for stamp text
Type float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.0)
stamp_note_text
Custom text to appear in the stamp note
Type string, default “”
threads
Number of CPU threads to use simultaneously while rendering (for multi-core/CPU systems)
Type int in [1, 64], default 0
threads_mode
Determine the amount of render threads used
Type enum in [’AUTO’, ‘FIXED’], default ‘AUTO’
use_antialiasing
Render and combine multiple samples per pixel to prevent jagged edges
Type boolean, default False
use_bake_antialiasing
Enables Anti-aliasing
Type boolean, default False
use_bake_clear
Clear Images before baking
Type boolean, default False
use_bake_normalize
With displacement normalize to the distance, with ambient occlusion normalize without using material
settings
Type boolean, default False
use_bake_selected_to_active
Bake shading on the surface of selected objects to the active object
Type boolean, default False
use_border
Render a user-defined border region, within the frame size. Note, this disables save_buffers and
full_sample

2.4. Types ([Link]) 729


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_cineon_log
Convert to logarithmic color space
Type boolean, default False
use_color_management
Use linear workflow - gamma corrected imaging pipeline
Type boolean, default False
use_compositing
Process the render result through the compositing pipeline, if compositing nodes are enabled
Type boolean, default False
use_crop_to_border
Crop the rendered frame to the defined border size
Type boolean, default False
use_edge_enhance
Create a toon outline around the edges of geometry
Type boolean, default False
use_envmaps
Calculate environment maps while rendering
Type boolean, default False
use_exr_half
Use 16 bit floats instead of 32 bit floats per channel
Type boolean, default False
use_fields
Render image to two fields per frame, for interlaced TV output
Type boolean, default False
use_fields_still
Disable the time difference between fields
Type boolean, default False
use_file_extension
Add the file format extensions to the rendered file name (eg: filename + .jpg)
Type boolean, default False
use_free_image_textures
Free all image texture from memory after render, to save memory before compositing
Type boolean, default False
use_free_unused_nodes
Free Nodes that are not used while compositing, to save memory
Type boolean, default False
use_full_sample
Save for every anti-aliasing sample the entire RenderLayer results. This solves anti-aliasing issues with
compositing
Type boolean, default False

730 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_game_engine
Current rendering engine is a game engine
Type boolean, default False, (readonly)
use_instances
Instance support leads to effective memory reduction when using duplicates
Type boolean, default False
use_local_coords
Vertex coordinates are stored localy on each primitive. Increases memory usage, but may have impact on
speed
Type boolean, default False
use_motion_blur
Use multi-sampled 3D scene motion blur
Type boolean, default False
use_overwrite
Overwrite existing files while rendering
Type boolean, default False
use_placeholder
Create empty placeholder files while rendering frames (similar to Unix ‘touch’)
Type boolean, default False
use_radiosity
Calculate radiosity in a pre-process before rendering
Type boolean, default False
use_raytrace
Pre-calculate the raytrace accelerator and render raytracing effects
Type boolean, default False
use_save_buffers
Save tiles for all RenderLayers and SceneNodes to files in the temp directory (saves memory, required for
Full Sample)
Type boolean, default False
use_sequencer
Process the render (and composited) result through the video sequence editor pipeline, if sequencer strips
exist
Type boolean, default False
use_sequencer_gl_preview
Type boolean, default False
use_sequencer_gl_render
Type boolean, default False
use_shadows
Calculate shadows while rendering
Type boolean, default False

2.4. Types ([Link]) 731


Blender Index, Release 2.57.0 r36138 - API

use_simplify
Enable simplification of scene for quicker preview renders
Type boolean, default False
use_simplify_triangulate
Disables non-planer quads being triangulated
Type boolean, default False
use_single_layer
Only render the active layer
Type boolean, default False
use_sss
Calculate sub-surface scattering in materials rendering
Type boolean, default False
use_stamp
Render the stamp info text in the rendered image
Type boolean, default False
use_stamp_camera
Include the name of the active camera in image metadata
Type boolean, default False
use_stamp_date
Include the current date in image metadata
Type boolean, default False
use_stamp_filename
Include the filename of the .blend file in image metadata
Type boolean, default False
use_stamp_frame
Include the frame number in image metadata
Type boolean, default False
use_stamp_lens
Include the name of the active cameras lens in image metadata
Type boolean, default False
use_stamp_marker
Include the name of the last marker in image metadata
Type boolean, default False
use_stamp_note
Include a custom note in image metadata
Type boolean, default False
use_stamp_render_time
Include the render time in the stamp image
Type boolean, default False
use_stamp_scene
Include the name of the active scene in image metadata

732 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_stamp_sequencer_strip
Include the name of the foreground sequence strip in image metadata
Type boolean, default False
use_stamp_time
Include the render frame as HH:MM:[Link] in image metadata
Type boolean, default False
use_textures
Use textures to affect material properties
Type boolean, default False
use_tiff_16bit
Save TIFF with 16 bits per channel
Type boolean, default False
frame_path(frame=-2147483648)
Return the absolute path to the filename to be written for a given frame.
Parameters frame (int in [-inf, inf], (optional)) – Frame number to use, if unset the current
frame will be used.
Returns File Path, the resulting filepath from the scenes render settings.
Return type string

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 733


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.422 RigidBodyJointConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
For use with the Game Engine
axis_x
Rotate pivot on X axis in degrees
Type float in [-6.28319, 6.28319], default 0.0
axis_y
Rotate pivot on Y axis in degrees
Type float in [-6.28319, 6.28319], default 0.0
axis_z
Rotate pivot on Z axis in degrees
Type float in [-6.28319, 6.28319], default 0.0
child
Child object
Type Object
limit_angle_max_x
Type float in [-6.28319, 6.28319], default 0.0
limit_angle_max_y
Type float in [-6.28319, 6.28319], default 0.0
limit_angle_max_z
Type float in [-6.28319, 6.28319], default 0.0
limit_angle_min_x
Type float in [-6.28319, 6.28319], default 0.0
limit_angle_min_y
Type float in [-6.28319, 6.28319], default 0.0
limit_angle_min_z
Type float in [-6.28319, 6.28319], default 0.0
limit_max_x
Type float in [-inf, inf], default 0.0
limit_max_y
Type float in [-inf, inf], default 0.0
limit_max_z
Type float in [-inf, inf], default 0.0

734 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

limit_min_x
Type float in [-inf, inf], default 0.0
limit_min_y
Type float in [-inf, inf], default 0.0
limit_min_z
Type float in [-inf, inf], default 0.0
pivot_type
Type enum in [’BALL’, ‘HINGE’, ‘CONE_TWIST’, ‘GENERIC_6_DOF’], default ‘BALL’
pivot_x
Offset pivot on X
Type float in [-1000, 1000], default 0.0
pivot_y
Offset pivot on Y
Type float in [-1000, 1000], default 0.0
pivot_z
Offset pivot on Z
Type float in [-1000, 1000], default 0.0
show_pivot
Display the pivot point and rotation in 3D view
Type boolean, default False
target
Target Object
Type Object
use_angular_limit_x
Use minimum/maximum x angular limit
Type boolean, default False
use_angular_limit_y
Use minimum/maximum y angular limit
Type boolean, default False
use_angular_limit_z
Use minimum/maximum z angular limit
Type boolean, default False
use_limit_x
Use minimum/maximum x limit
Type boolean, default False
use_limit_y
Use minimum/maximum y limit
Type boolean, default False
use_limit_z
Use minimum/maximum z limit

2.4. Types ([Link]) 735


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_linked_collision
Disable collision between linked bodies
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.423 SPHFluidSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings for particle fluids physics
buoyancy
Artificial buoyancy force in negative gravity direction based on pressure differences inside the fluid
Type float in [0, 10], default 0.0

736 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

factor_density
Density is calculated as a factor of default density (depends on particle size)
Type boolean, default False
factor_radius
Interaction radius is a factor of 4 * particle size
Type boolean, default False
factor_repulsion
Repulsion is a factor of stiffness
Type boolean, default False
factor_rest_length
Spring rest length is a factor of 2 * particle size
Type boolean, default False
factor_stiff_viscosity
Stiff viscosity is a factor of normal viscosity
Type boolean, default False
fluid_radius
Fluid interaction radius
Type float in [0, 20], default 0.0
linear_viscosity
Linear viscosity
Type float in [0, 100], default 0.0
plasticity
How much the spring rest length can change after the elastic limit is crossed
Type float in [0, 100], default 0.0
repulsion
How strongly the fluid tries to keep from clustering (factor of stiffness)
Type float in [0, 100], default 0.0
rest_density
Fluid rest density
Type float in [0, 100], default 0.0
rest_length
Spring rest length (factor of particle radius)
Type float in [0, 2], default 0.0
spring_force
Spring force
Type float in [0, 100], default 0.0
spring_frames
Create springs for this number of frames since particles birth (0 is always)
Type int in [0, 100], default 0
stiff_viscosity
Creates viscosity for expanding fluid)

2.4. Types ([Link]) 737


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 100], default 0.0


stiffness
How incompressible the fluid is
Type float in [0, 100], default 0.0
use_initial_rest_length
Use the initial length as spring rest length instead of 2 * particle size
Type boolean, default False
use_viscoelastic_springs
Use viscoelastic springs instead of Hooke’s springs
Type boolean, default False
yield_ratio
How much the spring has to be stretched/compressed in order to change it’s rest length
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.424 Scene(ID)

base classes — bpy_struct, ID


class [Link](ID)
Scene consisting objects and defining time and render related settings

738 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

animation_data
Animation data for this datablock
Type AnimData, (readonly)
audio_distance_model
Distance model for distance attenuation calculation
Type enum in [’NONE’, ‘INVERSE’, ‘INVERSE_CLAMPED’, ‘LINEAR’, ‘LIN-
EAR_CLAMPED’, ‘EXPONENT’, ‘EXPONENT_CLAMPED’], default ‘NONE’
audio_doppler_factor
Pitch factor for Doppler effect calculation
Type float in [0, inf], default 0.0
audio_doppler_speed
Speed of sound for Doppler effect calculation
Type float in [0.01, inf], default 0.0
background_set
Background set scene
Type Scene
camera
Active camera used for rendering the scene
Type Object
cursor_location
3D cursor location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type int in [-300000, 300000], default 0
frame_end
Final frame of the playback/rendering range
Type int in [0, 300000], default 0
frame_preview_end
Alternative end frame for UI playback
Type int in [-inf, inf], default 0
frame_preview_start
Alternative start frame for UI playback
Type int in [-inf, inf], default 0
frame_start
First frame of the playback/rendering range
Type int in [0, 300000], default 0
frame_step
Number of frames to skip forward while rendering/playing back each frame
Type int in [0, 300000], default 0
game_settings

2.4. Types ([Link]) 739


Blender Index, Release 2.57.0 r36138 - API

Type SceneGameData, (readonly, never None)


gravity
Constant acceleration in a given direction
Type float array of 3 items in [-200, 200], default (0.0, 0.0, 0.0)
grease_pencil
Grease Pencil datablock
Type GreasePencil
is_nla_tweakmode
Indicates whether there is any action referenced by NLA being edited. Strictly read-only
Type boolean, default False, (readonly)
keying_sets
Absolute Keying Sets for this Scene
Type KeyingSets bpy_prop_collection of KeyingSet, (readonly)
keying_sets_all
All Keying Sets available for use (Builtins and Absolute Keying Sets for this Scene)
Type KeyingSetsAll bpy_prop_collection of KeyingSet, (readonly)
layers
Layers visible when rendering the scene
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
node_tree
Compositing node tree
Type NodeTree, (readonly)
object_bases
Type SceneBases bpy_prop_collection of ObjectBase, (readonly)
objects
Type SceneObjects bpy_prop_collection of Object, (readonly)
orientations
Type bpy_prop_collection of TransformOrientation, (readonly)
render
Type RenderSettings, (readonly, never None)
sequence_editor
Type SequenceEditor, (readonly)
sync_mode
How to sync playback
Type enum in [’NONE’, ‘FRAME_DROP’, ‘AUDIO_SYNC’], default ‘NONE’
timeline_markers
Markers used in all timelines for the current scene
Type TimelineMarkers bpy_prop_collection of TimelineMarker, (readonly)

740 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

tool_settings
Type ToolSettings, (readonly, never None)
unit_settings
Unit editing settings
Type UnitSettings, (readonly, never None)
use_audio
Play back of audio from Sequence Editor will be muted
Type boolean, default False
use_audio_scrub
Play audio from Sequence Editor while scrubbing
Type boolean, default False
use_audio_sync
Play back and sync with audio clock, dropping frames if frame display is too slow
Type boolean, default False
use_frame_drop
Play back dropping frames if frame display is too slow
Type boolean, default False
use_gravity
Use global gravity for all dynamics
Type boolean, default False
use_nodes
Enable the compositing node tree
Type boolean, default False
use_preview_range
Use an alternative start/end frame for UI playback, rather than the scene start/end frame
Type boolean, default False
use_stamp_note
User define note for the render stamping
Type string, default “”
world
World used for rendering the scene
Type World
statistics()
statistics
Returns Statistics
Return type string
frame_set(frame, subframe=0.0)
Set scene frame updating all objects immediately.
Parameters
• frame (int in [-300000, 300000]) – Frame number to set.

2.4. Types ([Link]) 741


Blender Index, Release 2.57.0 r36138 - API

• subframe (float in [0, 1], (optional)) – Sub-frame time, between 0.0 and 1.0
update()
Update data tagged to be updated from previous access to data or operators.

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• Image.save_render
• Object.dupli_list_create
• Object.is_modified
• Object.is_visible
• Object.to_mesh
• [Link]
• Scene.background_set

742 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

2.4.425 SceneActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to ..
camera
Set this Camera. Leave empty to refer to self object
Type Object
mode
Type enum in [’RESTART’, ‘SET’, ‘CAMERA’, ‘ADDFRONT’, ‘ADDBACK’, ‘REMOVE’,
‘SUSPEND’, ‘RESUME’], default ‘RESTART’
scene
Set the Scene to be added/removed/paused/resumed
Type Scene

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4. Types ([Link]) 743


Blender Index, Release 2.57.0 r36138 - API

2.4.426 SceneBases(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of scene bases
active
Active object base in the scene
Type ObjectBase

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.object_bases

2.4.427 SceneGameData(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Game data for a Scene datablock
activity_culling_box_radius
Radius of the activity bubble, in Manhattan length. Objects outside the box are activity-culled
Type float in [0, 1000], default 0.0
depth
Displays bit depth of full screen display

744 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type int in [8, 32], default 0


dome_angle
Field of View of the Dome - it only works in mode Fisheye and Truncated
Type int in [-32768, 32767], default 0
dome_buffer_resolution
Buffer Resolution - decrease it to increase speed
Type float in [-inf, inf], default 0.0
dome_mode
Dome physical configurations
Type enum in [’FISHEYE’, ‘TRUNCATED_FRONT’, ‘TRUNCATED_REAR’, ‘ENVMAP’,
‘PANORAM_SPH’], default ‘FISHEYE’
dome_tesselation
Tessellation level - check the generated mesh in wireframe mode
Type int in [-32768, 32767], default 0
dome_text
Custom Warp Mesh data file
Type Text
dome_tilt
Camera rotation in horizontal axis
Type int in [-32768, 32767], default 0
fps
The nominal number of game frames per second. Physics fixed timestep = 1/fps, independently of actual
frame rate
Type int in [1, 250], default 0
frame_color
Set color of the bars
Type float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
frame_type
Select the type of Framing you want
Type enum in [’LETTERBOX’, ‘EXTEND’, ‘SCALE’], default ‘LETTERBOX’
frequency
Displays clock frequency of fullscreen display
Type int in [4, 2000], default 0
logic_step_max
Sets the maximum number of logic frame per game frame if graphics slows down the game, higher value
allows better synchronization with physics
Type int in [1, 5], default 0
material_mode
Material mode to use for rendering
Type enum in [’TEXTURE_FACE’, ‘MULTITEXTURE’, ‘GLSL’], default ‘TEX-
TURE_FACE’

2.4. Types ([Link]) 745


Blender Index, Release 2.57.0 r36138 - API

occlusion_culling_resolution
The size of the occlusion buffer in pixel, use higher value for better precision (slower)
Type int in [128, 1024], default 0
physics_engine
Physics engine used for physics simulation in the game engine
Type enum in [’NONE’, ‘BULLET’], default ‘NONE’
physics_gravity
Gravitational constant used for physics simulation in the game engine
Type float in [0, 25], default 0.0
physics_step_max
Sets the maximum number of physics step per game frame if graphics slows down the game, higher value
allows physics to keep up with realtime
Type int in [1, 5], default 0
physics_step_sub
Sets the number of simulation substep per physic timestep, higher value give better physics precision
Type int in [1, 5], default 0
resolution_x
Number of horizontal pixels in the screen
Type int in [4, 10000], default 0
resolution_y
Number of vertical pixels in the screen
Type int in [4, 10000], default 0
show_debug_properties
Show properties marked for debugging while the game runs
Type boolean, default False
show_framerate_profile
Show framerate and profiling information while the game runs
Type boolean, default False
show_fullscreen
Starts player in a new fullscreen display
Type boolean, default False
show_mouse
Start player with a visible mouse cursor
Type boolean, default False
show_physics_visualization
Show a visualization of physics bounds and interactions
Type boolean, default False
stereo
Type enum in [’NONE’, ‘STEREO’, ‘DOME’], default ‘NONE’
stereo_eye_separation
Set the distance between the eyes - the camera focal length/30 should be fine

746 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0.01, 5], default 0.0


stereo_mode
Stereographic techniques
Type enum in [’QUADBUFFERED’, ‘ABOVEBELOW’, ‘INTERLACED’, ‘ANAGLYPH’,
‘SIDEBYSIDE’, ‘VINTERLACE’], default ‘QUADBUFFERED’
use_activity_culling
Activity culling is enabled
Type boolean, default False
use_animation_record
Record animation to fcurves
Type boolean, default False
use_auto_start
Automatically start game at load time
Type boolean, default False
use_deprecation_warnings
Print warnings when using deprecated features in the python API
Type boolean, default False
use_display_lists
Use display lists to speed up rendering by keeping geometry on the GPU
Type boolean, default False
use_frame_rate
Respect the frame rate rather than rendering as many frames as possible
Type boolean, default False
use_glsl_extra_textures
Use extra textures like normal or specular maps for GLSL rendering
Type boolean, default False
use_glsl_lights
Use lights for GLSL rendering
Type boolean, default False
use_glsl_nodes
Use nodes for GLSL rendering
Type boolean, default False
use_glsl_ramps
Use ramps for GLSL rendering
Type boolean, default False
use_glsl_shaders
Use shaders for GLSL rendering
Type boolean, default False
use_glsl_shadows
Use shadows for GLSL rendering
Type boolean, default False

2.4. Types ([Link]) 747


Blender Index, Release 2.57.0 r36138 - API

use_occlusion_culling
Use optimized Bullet DBVT tree for view frustum and occlusion culling
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.game_settings

2.4.428 SceneObjects(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of scene objects
active
Active object for this scene
Type Object
link(object)
Link object to scene, run [Link]() after.
Parameters object (Object, (never None)) – Object to add to scene.
Returns The newly created base.
Return type ObjectBase
unlink(object)
Unlink object from scene.

748 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters object (Object, (never None)) – Object to remove from scene.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.429 SceneRenderLayer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Render layer
exclude_ambient_occlusion
Exclude AO pass from combined
Type boolean, default False
exclude_emit
Exclude emission pass from combined
Type boolean, default False
exclude_environment
Exclude environment pass from combined
Type boolean, default False
exclude_indirect
Exclude indirect pass from combined
Type boolean, default False

2.4. Types ([Link]) 749


Blender Index, Release 2.57.0 r36138 - API

exclude_reflection
Exclude raytraced reflection pass from combined
Type boolean, default False
exclude_refraction
Exclude raytraced refraction pass from combined
Type boolean, default False
exclude_shadow
Exclude shadow pass from combined
Type boolean, default False
exclude_specular
Exclude specular pass from combined
Type boolean, default False
invert_zmask
For Zmask, only render what is behind solid z values instead of in front
Type boolean, default False
layers
Scene layers included in this render layer
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
layers_zmask
Zmask scene layers
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
light_override
Group to override all other lights in this render layer
Type Group
material_override
Material to override all other materials in this render layer
Type Material
name
Render layer name
Type string, default “”
use
Disable or enable the render layer
Type boolean, default False
use_all_z
Fill in Z values for solid faces in invisible layers, for masking
Type boolean, default False
use_edge_enhance
Render Edge-enhance in this Layer (only works for Solid faces)
Type boolean, default False

750 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_halo
Render Halos in this Layer (on top of Solid)
Type boolean, default False
use_pass_ambient_occlusion
Deliver AO pass
Type boolean, default False
use_pass_color
Deliver shade-less color pass
Type boolean, default False
use_pass_combined
Deliver full combined RGBA buffer
Type boolean, default False
use_pass_diffuse
Deliver diffuse pass
Type boolean, default False
use_pass_emit
Deliver emission pass
Type boolean, default False
use_pass_environment
Deliver environment lighting pass
Type boolean, default False
use_pass_indirect
Deliver indirect lighting pass
Type boolean, default False
use_pass_mist
Deliver mist factor pass (0.0-1.0)
Type boolean, default False
use_pass_normal
Deliver normal pass
Type boolean, default False
use_pass_object_index
Deliver object index pass
Type boolean, default False
use_pass_reflection
Deliver raytraced reflection pass
Type boolean, default False
use_pass_refraction
Deliver raytraced refraction pass
Type boolean, default False
use_pass_shadow
Deliver shadow pass

2.4. Types ([Link]) 751


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_pass_specular
Deliver specular pass
Type boolean, default False
use_pass_uv
Deliver texture UV pass
Type boolean, default False
use_pass_vector
Deliver speed vector pass
Type boolean, default False
use_pass_z
Deliver Z values pass
Type boolean, default False
use_sky
Render Sky in this Layer
Type boolean, default False
use_solid
Render Solid faces in this Layer
Type boolean, default False
use_strand
Render Strands in this Layer
Type boolean, default False
use_zmask
Only render what’s in front of the solid z values
Type boolean, default False
use_ztransp
Render Z-Transparent faces in this Layer (On top of Solid and Halos)
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

752 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.430 SceneSequence(Sequence)

base classes — bpy_struct, Sequence


class [Link](Sequence)
Sequence strip to used the rendered image of a scene
animation_offset_end
Animation end offset (trim end)
Type int in [0, inf], default 0
animation_offset_start
Animation start offset (trim start)
Type int in [0, inf], default 0
color_balance
Type SequenceColorBalance, (readonly)
color_multiply
Type float in [0, 20], default 0.0
color_saturation
Type float in [0, 20], default 0.0
crop
Type SequenceCrop, (readonly)
proxy
Type SequenceProxy, (readonly)
scene
Scene that this sequence uses
Type Scene
scene_camera
Override the scenes active camera
Type Object

2.4. Types ([Link]) 753


Blender Index, Release 2.57.0 r36138 - API

strobe
Only display every nth frame
Type float in [1, 30], default 0.0
transform
Type SequenceTransform, (readonly)
use_color_balance
(3-Way color correction) on input
Type boolean, default False
use_crop
Crop image before processing
Type boolean, default False
use_deinterlace
For video movies to remove fields
Type boolean, default False
use_flip_x
Flip on the X axis
Type boolean, default False
use_flip_y
Flip on the Y axis
Type boolean, default False
use_float
Convert input to float data
Type boolean, default False
use_premultiply
Convert RGB from key alpha to premultiplied alpha
Type boolean, default False
use_proxy
Use a preview proxy for this strip
Type boolean, default False
use_proxy_custom_directory
Use a custom directory to store data
Type boolean, default False
use_proxy_custom_file
Use a custom file to read proxy data from
Type boolean, default False
use_reverse_frames
Reverse frame order
Type boolean, default False
use_translation
Translate image before processing

754 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4. Types ([Link]) 755


Blender Index, Release 2.57.0 r36138 - API

2.4.431 Scopes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Scopes for statistical view of an image
accuracy
Proportion of original image source pixel lines to sample
Type float in [0, 100], default 0.0
histogram
Histogram for viewing image statistics
Type Histogram, (readonly)
use_full_resolution
Sample every pixel of the image
Type boolean, default False
vectorscope_alpha
Opacity of the points
Type float in [0, 1], default 0.0
waveform_alpha
Opacity of the points
Type float in [0, 1], default 0.0
waveform_mode
Type enum in [’LUMA’, ‘RGB’, ‘YCBCR601’, ‘YCBCR709’, ‘YCBCRJPG’], default
‘LUMA’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

756 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.432 Screen(ID)

base classes — bpy_struct, ID


class [Link](ID)
Screen datablock, defining the layout of areas in a window
areas
Areas the screen is subdivided into
Type bpy_prop_collection of Area, (readonly)
is_animation_playing
Animation playback is active
Type boolean, default False, (readonly)
scene
Active scene to be edited in the screen
Type Scene, (never None)
show_fullscreen
An area is maximised, filling this screen
Type boolean, default False, (readonly)
use_play_3d_editors
Type boolean, default False
use_play_animation_editors
Type boolean, default False
use_play_image_editors
Type boolean, default False
use_play_node_editors
Type boolean, default False
use_play_properties_editors
Type boolean, default False
use_play_sequence_editors
Type boolean, default False
use_play_top_left_3d_editor
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

2.4. Types ([Link]) 757


Blender Index, Release 2.57.0 r36138 - API

• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.433 ScrewModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Revolve edges
angle
Angle of revolution
Type float in [-inf, inf], default 0.0
axis
Screw axis
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
iterations
Number of times to apply the screw operation

758 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type int in [1, 10000], default 0


object
Object to define the screw axis
Type Object
render_steps
Number of steps in the revolution
Type int in [2, 10000], default 0
screw_offset
Offset the revolution along its axis
Type float in [-inf, inf], default 0.0
steps
Number of steps in the revolution
Type int in [2, 10000], default 0
use_normal_calculate
Calculate the order of edges (needed for meshes, but not curves)
Type boolean, default False
use_normal_flip
Flip normals of lathed faces
Type boolean, default False
use_object_screw_offset
Use the distance between the objects to make a screw
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 759


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.434 Sculpt(Paint)

base classes — bpy_struct, Paint


class [Link](Paint)

lock_x
Disallow changes to the X axis of vertices
Type boolean, default False
lock_y
Disallow changes to the Y axis of vertices
Type boolean, default False
lock_z
Disallow changes to the Z axis of vertices
Type boolean, default False
radial_symmetry
Number of times to copy strokes across the surface
Type int array of 3 items in [1, 64], default (1, 1, 1)
use_symmetry_feather
Reduce the strength of the brush where it overlaps symmetrical daubs
Type boolean, default False
use_symmetry_x
Mirror brush across the X axis
Type boolean, default False
use_symmetry_y
Mirror brush across the Y axis
Type boolean, default False
use_symmetry_z
Mirror brush across the Z axis
Type boolean, default False
use_threaded
Take advantage of multiple CPU cores to improve sculpting performance
Type boolean, default False

760 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Paint.show_low_resolution
• Paint.show_brush
• Paint.show_brush_on_surface

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.435 Sensor(bpy_struct)

base class — bpy_struct


subclasses — RaySensor, PropertySensor, MessageSensor, TouchSensor, KeyboardSensor,
CollisionSensor, RadarSensor, DelaySensor, RandomSensor, AlwaysSensor,
ActuatorSensor, JoystickSensor, MouseSensor, ArmatureSensor, NearSensor
class [Link](bpy_struct)
Game engine logic brick to detect events
frequency
Delay between repeated pulses(in logic tics, 0=no delay)
Type int in [0, 10000], default 0
invert
Invert the level(output) of this sensor
Type boolean, default False
name
Sensor name

2.4. Types ([Link]) 761


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


pin
Display when not linked to a visible states controller
Type boolean, default False
show_expanded
Set sensor expanded in the user interface
Type boolean, default False
type
Type enum in [’ACTUATOR’, ‘ALWAYS’, ‘ARMATURE’, ‘COLLISION’, ‘DELAY’, ‘JOY-
STICK’, ‘KEYBOARD’, ‘MESSAGE’, ‘MOUSE’, ‘NEAR’, ‘PROPERTY’, ‘RADAR’,
‘RANDOM’, ‘RAY’, ‘TOUCH’], default ‘ALWAYS’
use_level
Level detector, trigger controllers of new states(only applicable upon logic state transition)
Type boolean, default False
use_pulse_false_level
Activate FALSE level triggering (pulse mode)
Type boolean, default False
use_pulse_true_level
Activate TRUE level triggering (pulse mode)
Type boolean, default False
use_tap
Trigger controllers only for an instant, even while the sensor remains true
Type boolean, default False
link(controller)
Link the sensor to a controller.
Parameters controller (Controller) – Controller to link to.
unlink(controller)
Unlink the sensor from a controller.
Parameters controller (Controller) – Controller to unlink from.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

762 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.436 Sequence(bpy_struct)

base class — bpy_struct


subclasses — MulticamSequence, ImageSequence, SceneSequence, MetaSequence,
SoundSequence, MovieSequence, EffectSequence
class [Link](bpy_struct)
Sequence strip in the sequence editor
blend_alpha
Type float in [0, 1], default 0.0
blend_type
Type enum in [’REPLACE’, ‘CROSS’, ‘ADD’, ‘SUBTRACT’, ‘ALPHA_OVER’, ‘AL-
PHA_UNDER’, ‘GAMMA_CROSS’, ‘MULTIPLY’, ‘OVER_DROP’], default ‘REPLACE’
channel
Y position of the sequence strip
Type int in [0, 31], default 0
effect_fader
Type float in [0, 1], default 0.0
frame_duration
The length of the contents of this strip before the handles are applied
Type int in [1, 300000], default 0, (readonly)
frame_final_duration
The length of the contents of this strip before the handles are applied
Type int in [1, 300000], default 0
frame_final_end
End frame displayed in the sequence editor after offsets are applied
Type int in [-inf, inf], default 0

2.4. Types ([Link]) 763


Blender Index, Release 2.57.0 r36138 - API

frame_final_start
Start frame displayed in the sequence editor after offsets are applied, setting this is equivalent to moving
the handle, not the actual start frame
Type int in [-inf, inf], default 0
frame_offset_end
Type int in [-inf, inf], default 0, (readonly)
frame_offset_start
Type int in [-inf, inf], default 0, (readonly)
frame_start
Type int in [-inf, inf], default 0
frame_still_end
Type int in [0, 300000], default 0, (readonly)
frame_still_start
Type int in [0, 300000], default 0, (readonly)
input_1
First input for the effect strip
Type Sequence, (readonly)
input_2
Second input for the effect strip
Type Sequence, (readonly)
input_3
Third input for the effect strip
Type Sequence, (readonly)
input_count
Type int in [0, inf], default 0, (readonly)
lock
Lock strip so that it can’t be transformed
Type boolean, default False
mute
Type boolean, default False
name
Type string, default “”
select
Type boolean, default False
select_left_handle
Type boolean, default False
select_right_handle
Type boolean, default False

764 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

speed_factor
Multiply the current speed of the sequence with this number or remap current frame to this frame
Type float in [-inf, inf], default 0.0
type
Type enum in [’IMAGE’, ‘META’, ‘SCENE’, ‘MOVIE’, ‘SOUND’, ‘CROSS’, ‘ADD’,
‘SUBTRACT’, ‘ALPHA_OVER’, ‘ALPHA_UNDER’, ‘GAMMA_CROSS’, ‘MULTIPLY’,
‘OVER_DROP’, ‘PLUGIN’, ‘WIPE’, ‘GLOW’, ‘TRANSFORM’, ‘COLOR’, ‘SPEED’,
‘MULTICAM’], default ‘IMAGE’, (readonly)
use_default_fade
Fade effect using the built-in default (usually make transition as long as effect strip)
Type boolean, default False
getStripElem(frame)
Return the strip element from a given frame or None.
Parameters frame (int in [-300000, 300000]) – Frame, The frame to get the strip element from
Returns strip element of the current frame
Return type SequenceElement
swap(other)
swap
Parameters other (Sequence, (never None)) – Other

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4. Types ([Link]) 765


Blender Index, Release 2.57.0 r36138 - API

• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• [Link]
• SequenceEditor.active_strip
• SequenceEditor.meta_stack
• [Link]
• SequenceEditor.sequences_all

2.4.437 SequenceColorBalance(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Color balance parameters for a sequence strip
gain
Color balance gain (highlights)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
gamma
Color balance gamma (midtones)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
invert_gain
Type boolean, default False
invert_gamma
Type boolean, default False
invert_lift
Type boolean, default False
lift
Color balance lift (shadows)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

766 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• EffectSequence.color_balance
• ImageSequence.color_balance
• MetaSequence.color_balance
• MovieSequence.color_balance
• MulticamSequence.color_balance
• SceneSequence.color_balance

2.4.438 SequenceCrop(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Cropping parameters for a sequence strip
max_x
Type int in [0, inf], default 0
max_y
Type int in [0, inf], default 0
min_x
Type int in [0, inf], default 0
min_y
Type int in [0, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 767


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.439 SequenceEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Sequence editing data for a Scene datablock
active_strip
Type Sequence
meta_stack
Meta strip stack, last is currently edited meta strip
Type bpy_prop_collection of Sequence, (readonly)
overlay_frame
Sequencers active strip
Type int in [-inf, inf], default 0
overlay_lock
Type boolean, default False
sequences
Type bpy_prop_collection of Sequence, (readonly)
sequences_all
Type bpy_prop_collection of Sequence, (readonly)
show_overlay
Partial overlay on top of the sequencer
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

768 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.sequence_editor

2.4.440 SequenceElement(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Sequence strip data for a single frame
filename
Type string, default “”
orig_height
Original image height
Type int in [-inf, inf], default 0, (readonly)
orig_width
Original image width
Type int in [-inf, inf], default 0, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

2.4. Types ([Link]) 769


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]

2.4.441 SequenceProxy(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Proxy parameters for a sequence strip
directory
Location to store the proxy files
Type string, default “”
filepath
Location of custom proxy file
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

770 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.442 SequenceTransform(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Transform parameters for a sequence strip
offset_x
Type int in [-inf, inf], default 0
offset_y
Type int in [-inf, inf], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 771


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4.443 ShaderNode(Node)

base classes — bpy_struct, Node


subclasses — ShaderNodeHueSaturation, ShaderNodeVectorMath, ShaderNodeRGB,
ShaderNodeCameraData, ShaderNodeSeparateRGB, ShaderNodeMath, ShaderNodeRGBToBW,
ShaderNodeRGBCurve, ShaderNodeInvert, ShaderNodeExtendedMaterial,
ShaderNodeMaterial, ShaderNodeValue, ShaderNodeMixRGB, ShaderNodeVectorCurve,
ShaderNodeCombineRGB, ShaderNodeOutput, ShaderNodeValToRGB, ShaderNodeGeometry,
ShaderNodeTexture, ShaderNodeMapping, ShaderNodeSqueeze, ShaderNodeNormal
class [Link](Node)
Material shader node
type
Type enum in [’OUTPUT’, ‘MATERIAL’, ‘RGB’, ‘VALUE’, ‘MIX_RGB’, ‘VAL-
TORGB’, ‘RGBTOBW’, ‘TEXTURE’, ‘NORMAL’, ‘GEOMETRY’, ‘MAPPING’,
‘CURVE_VEC’, ‘CURVE_RGB’, ‘CAMERA’, ‘MATH’, ‘VECT_MATH’, ‘SQUEEZE’,
‘MATERIAL_EXT’, ‘INVERT’, ‘SEPRGB’, ‘COMBRGB’, ‘HUE_SAT’, ‘SCRIPT’,
‘GROUP’], default ‘OUTPUT’, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

772 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.444 ShaderNodeCameraData(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.445 ShaderNodeCombineRGB(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 773


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.446 ShaderNodeExtendedMaterial(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

invert_normal
Material Node uses inverted normal
Type boolean, default False
material
Type Material
use_diffuse
Material Node outputs Diffuse
Type boolean, default False
use_specular
Material Node outputs Specular
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

774 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.447 ShaderNodeGeometry(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

color_layer
Type string, default “”
uv_layer
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

2.4. Types ([Link]) 775


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.448 ShaderNodeHueSaturation(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

776 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.449 ShaderNodeInvert(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.450 ShaderNodeMapping(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

location
Location offset for the input coordinate
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
max
Maximum value to clamp coordinate to
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
min
Minimum value to clamp coordinate to

2.4. Types ([Link]) 777


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation
Rotation offset for the input coordinate
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scale
Scale adjustment for the input coordinate
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
use_max
Clamp the output coordinate to a maximum value
Type boolean, default False
use_min
Clamp the output coordinate to a minimum value
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.451 ShaderNodeMaterial(ShaderNode)

base classes — bpy_struct, Node, ShaderNode

778 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](ShaderNode)

invert_normal
Material Node uses inverted normal
Type boolean, default False
material
Type Material
use_diffuse
Material Node outputs Diffuse
Type boolean, default False
use_specular
Material Node outputs Specular
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.452 ShaderNodeMath(ShaderNode)

base classes — bpy_struct, Node, ShaderNode

2.4. Types ([Link]) 779


Blender Index, Release 2.57.0 r36138 - API

class [Link](ShaderNode)

operation
Type enum in [’ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’, ‘SINE’, ‘COSINE’, ‘TAN-
GENT’, ‘ARCSINE’, ‘ARCCOSINE’, ‘ARCTANGENT’, ‘POWER’, ‘LOGARITHM’,
‘MINIMUM’, ‘MAXIMUM’, ‘ROUND’, ‘LESS_THAN’, ‘GREATER_THAN’], default
‘ADD’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.453 ShaderNodeMixRGB(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

blend_type
Type enum in [’MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIF-
FERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SAT-
URATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
use_alpha
Include alpha of second input in this operation

780 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.454 ShaderNodeNormal(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

2.4. Types ([Link]) 781


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.455 ShaderNodeOutput(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

782 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.456 ShaderNodeRGB(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.457 ShaderNodeRGBCurve(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

mapping
Type CurveMapping, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 783


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.458 ShaderNodeRGBToBW(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

784 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.459 ShaderNodeSeparateRGB(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.460 ShaderNodeSqueeze(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 785


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.461 ShaderNodeTexture(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

node_output
For node-based textures, which output node to use
Type int in [-32768, 32767], default 0
texture
Type Texture

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

786 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.462 ShaderNodeTree(NodeTree)

base classes — bpy_struct, ID, NodeTree


class [Link](NodeTree)
Node tree consisting of linked nodes used for materials
nodes
Type ShaderNodes bpy_prop_collection of Node, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• NodeTree.animation_data
• NodeTree.grease_pencil
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

2.4. Types ([Link]) 787


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.463 ShaderNodeValToRGB(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

color_ramp
Type ColorRamp, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

788 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.464 ShaderNodeValue(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.465 ShaderNodeVectorCurve(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

mapping
Type CurveMapping, (readonly)

2.4. Types ([Link]) 789


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.466 ShaderNodeVectorMath(ShaderNode)

base classes — bpy_struct, Node, ShaderNode


class [Link](ShaderNode)

operation
Type enum in [’ADD’, ‘SUBTRACT’, ‘AVERAGE’, ‘DOT_PRODUCT’,
‘CROSS_PRODUCT’, ‘NORMALIZE’], default ‘ADD’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

790 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.467 ShaderNodes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of Shader Nodes
new(type, group=None)
Add a node to this node tree.
Parameters
• type (enum in [’OUTPUT’, ‘MATERIAL’, ‘RGB’, ‘VALUE’, ‘MIX_RGB’, ‘VALTORGB’,
‘RGBTOBW’, ‘TEXTURE’, ‘NORMAL’, ‘GEOMETRY’, ‘MAPPING’, ‘CURVE_VEC’,
‘CURVE_RGB’, ‘CAMERA’, ‘MATH’, ‘VECT_MATH’, ‘SQUEEZE’, ‘MATERIAL_EXT’,
‘INVERT’, ‘SEPRGB’, ‘COMBRGB’, ‘HUE_SAT’, ‘SCRIPT’, ‘GROUP’]) – Type, Type
of node to add
• group (NodeTree, (optional)) – The group tree
Returns New node.
Return type Node
remove(node)
remove a node from this node tree.
Parameters node (Node) – The node to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer

2.4. Types ([Link]) 791


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.468 ShapeActionActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to control shape key animations
action
Type Action
frame_blend_in
Number of frames of motion blending
Type int in [0, 32767], default 0
frame_end
Type float in [-inf, inf], default 0.0
frame_property
Assign the action’s current frame number to this property
Type string, default “”
frame_start
Type float in [-inf, inf], default 0.0
mode
Action playback type
Type enum in [’PLAY’, ‘PINGPONG’, ‘FLIPPER’, ‘LOOPSTOP’, ‘LOOPEND’, ‘PROP-
ERTY’], default ‘PLAY’
priority
Execution priority - lower numbers will override actions with higher numbers. With 2 or more actions at
once, the overriding channels must be lower in the stack
Type int in [0, 100], default 0

792 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

property
Use this property to define the Action position
Type string, default “”
use_continue_last_frame
Restore last frame when switching on/off, otherwise play from the start each time
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.469 ShapeKey(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Shape key in a shape keys datablock
data
Type bpy_prop_collection of UnknownType, (readonly)
frame
Frame for absolute keys
Type float in [-inf, inf], default 0.0, (readonly)

2.4. Types ([Link]) 793


Blender Index, Release 2.57.0 r36138 - API

interpolation
Interpolation type
Type enum in [’KEY_LINEAR’, ‘KEY_CARDINAL’, ‘KEY_BSPLINE’], default
‘KEY_LINEAR’
mute
Mute this shape key
Type boolean, default False
name
Type string, default “”
relative_key
Shape used as a relative key
Type ShapeKey
slider_max
Maximum for slider
Type float in [-10, 10], default 1.0
slider_min
Minimum for slider
Type float in [-10, 10], default 0.0
value
Value of shape key at the current frame
Type float in [0, 1], default 0.0
vertex_group
Vertex weight group, to blend with basis shape
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

794 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• ClothSettings.rest_shape_key
• Key.key_blocks
• Key.reference_key
• Object.active_shape_key
• Object.shape_key_add
• ShapeKey.relative_key

2.4.470 ShapeKeyBezierPoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point in a shape key for Bezier curves
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_left
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_right
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 795


Blender Index, Release 2.57.0 r36138 - API

2.4.471 ShapeKeyCurvePoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point in a shape key for curves
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
tilt
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.472 ShapeKeyPoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Point in a shape key
co
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

796 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.473 ShrinkwrapConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Creates constraint-based shrinkwrap relationship
distance
Distance to Target
Type float in [0, 100], default 0.0
shrinkwrap_type
Selects type of shrinkwrap algorithm for target position
Type enum in [’NEAREST_SURFACE’, ‘PROJECT’, ‘NEAREST_VERTEX’], default
‘NEAREST_SURFACE’
target
Target Object
Type Object
use_x
Projection over X Axis
Type boolean, default False
use_y
Projection over Y Axis
Type boolean, default False
use_z
Projection over Z Axis
Type boolean, default False

2.4. Types ([Link]) 797


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.474 ShrinkwrapModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Shrink wrapping modifier to shrink wrap and object to a target
auxiliary_target
Additional mesh target to shrink to
Type Object
cull_face
Stop vertices from projecting to a the face on the target when facing towards/away
Type enum in [’OFF’, ‘FRONT’, ‘BACK’], default ‘OFF’
offset
Distance to keep from the target

798 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0


subsurf_levels
Number of subdivisions that must be performed before extracting vertices’ positions and normals
Type int in [0, 6], default 0
target
Mesh target to shrink to
Type Object
use_keep_above_surface
Type boolean, default False
use_negative_direction
Allow vertices to move in the negative direction of axis
Type boolean, default False
use_positive_direction
Allow vertices to move in the positive direction of axis
Type boolean, default False
use_project_x
Type boolean, default False
use_project_y
Type boolean, default False
use_project_z
Type boolean, default False
vertex_group
Vertex group name
Type string, default “”
wrap_method
Type enum in [’NEAREST_SURFACEPOINT’, ‘PROJECT’, ‘NEAREST_VERTEX’], default
‘NEAREST_SURFACEPOINT’

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

2.4. Types ([Link]) 799


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.475 SimpleDeformModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Simple deformation modifier to apply effects such as twisting and bending
deform_method
Type enum in [’TWIST’, ‘BEND’, ‘TAPER’, ‘STRETCH’], default ‘TWIST’
factor
Type float in [-inf, inf], default 0.0
limits
Lower/Upper limits for deform
Type float array of 2 items in [0, 1], default (0.0, 0.0)
lock_x
Type boolean, default False
lock_y
Type boolean, default False
origin
Origin of modifier space coordinates
Type Object
use_relative
Sets the origin of deform space to be relative to the object
Type boolean, default False
vertex_group
Vertex group name
Type string, default “”

800 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.476 SmokeCollSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Smoke collision settings

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 801


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• SmokeModifier.coll_settings

2.4.477 SmokeDomainSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Smoke domain settings
alpha
How much density effects smoke motion, higher value results in faster rising smoke
Type float in [-5, 5], default 0.0
amplify
Enhance the resolution of smoke by this factor using noise
Type int in [1, 10], default 0
beta
How much heat effects smoke motion, higher value results in faster rising smoke
Type float in [-5, 5], default 0.0
collision_extents
Selects which domain border will be treated as collision object.
Type enum in [’BORDEROPEN’, ‘BORDERVERTICAL’, ‘BORDERCLOSED’], default
‘BORDEROPEN’
collision_group
Limit collisions to this group
Type Group
dissolve_speed
Dissolve Speed
Type int in [1, 10000], default 0
effector_group
Limit effectors to this group
Type Group
effector_weights
Type EffectorWeights, (readonly)

802 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

fluid_group
Limit fluid objects to this group
Type Group
noise_type
Noise method which is used for creating the high resolution
Type enum in [’NOISEWAVE’], default ‘NOISEWAVE’
point_cache
Type PointCache, (readonly, never None)
point_cache_compress_type
Compression method to be used
Type enum in [’CACHELIGHT’, ‘CACHEHEAVY’], default ‘CACHELIGHT’
resolution_max
Maximal resolution used in the fluid domain
Type int in [24, 512], default 0
show_high_resolution
Show high resolution (using amplification)
Type boolean, default False
smooth_emitter
Smoothens emitted smoke to avoid blockiness.
Type boolean, default False
strength
Strength of wavelet noise
Type float in [0, 10], default 0.0
time_scale
Adjust simulation speed.
Type float in [0.2, 1.5], default 0.0
use_dissolve_smoke
Enable smoke to disappear over time
Type boolean, default False
use_dissolve_smoke_log
Using 1/x
Type boolean, default False
use_high_resolution
Enable high resolution (using amplification)
Type boolean, default False
vorticity
Amount of turbulence/rotation in fluid.
Type float in [0.01, 4], default 0.0

2.4. Types ([Link]) 803


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• SmokeModifier.domain_settings

2.4.478 SmokeFlowSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Smoke flow settings
density
Type float in [0.001, 1], default 0.0
initial_velocity
Smoke inherits it’s velocity from the emitter particle
Type boolean, default False
particle_system
Particle systems emitted from the object
Type ParticleSystem
temperature
Temperature difference to ambient temperature
Type float in [-10, 10], default 0.0
use_absolute
Only allows given density value in emitter area.

804 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_outflow
Deletes smoke from simulation
Type boolean, default False
velocity_factor
Multiplier to adjust velocity passed to smoke
Type float in [-2, 2], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• SmokeModifier.flow_settings

2.4.479 SmokeModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Smoke simulation modifier
coll_settings
Type SmokeCollSettings, (readonly)
domain_settings
Type SmokeDomainSettings, (readonly)
flow_settings

2.4. Types ([Link]) 805


Blender Index, Release 2.57.0 r36138 - API

Type SmokeFlowSettings, (readonly)


smoke_type
Type enum in [’NONE’, ‘DOMAIN’, ‘FLOW’, ‘COLLISION’], default ‘NONE’

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.480 SmoothModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Smoothing effect modifier
factor
Type float in [-inf, inf], default 0.0
iterations
Type int in [-32768, 32767], default 0
use_x
Type boolean, default False

806 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_y
Type boolean, default False
use_z
Type boolean, default False
vertex_group
Name of Vertex Group which determines influence of modifier per point
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.481 SoftBodyModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Soft body simulation modifier
point_cache
Type PointCache, (readonly, never None)
settings

2.4. Types ([Link]) 807


Blender Index, Release 2.57.0 r36138 - API

Type SoftBodySettings, (readonly, never None)

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.482 SoftBodySettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Soft body simulation settings for an object
aero
Make edges ‘sail’
Type int in [0, 30000], default 0
aerodynamics_type
Method of calculating aerodynamic interaction
Type enum in [’SIMPLE’, ‘LIFT_FORCE’], default ‘SIMPLE’
ball_damp
Blending to inelastic collision
Type float in [0.001, 1], default 0.0

808 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

ball_size
Absolute ball size or factor if not manual adjusted
Type float in [-10, 10], default 0.0
ball_stiff
Ball inflating pressure
Type float in [0.001, 100], default 0.0
bend
Bending Stiffness
Type float in [0, 10], default 0.0
choke
‘Viscosity’ inside collision target
Type int in [0, 100], default 0
collision_type
Choose Collision Type
Type enum in [’MANUAL’, ‘AVERAGE’, ‘MINIMAL’, ‘MAXIMAL’, ‘MINMAX’], default
‘MANUAL’
damping
Edge spring friction
Type float in [0, 50], default 0.0
effector_weights
Type EffectorWeights, (readonly)
error_threshold
The Runge-Kutta ODE solver error limit, low value gives more precision, high values speed
Type float in [0.001, 10], default 0.0
friction
General media friction for point movements
Type float in [0, 50], default 0.0
fuzzy
Fuzziness while on collision, high values make collision handling faster but less stable
Type int in [1, 100], default 0
goal_default
Default Goal (vertex target position) value, when no Vertex Group used
Type float in [0, 1], default 0.0
goal_friction
Goal (vertex target position) friction
Type float in [0, 50], default 0.0
goal_max
Goal maximum, vertex weights are scaled to match this range
Type float in [0, 1], default 0.0
goal_min
Goal minimum, vertex weights are scaled to match this range

2.4. Types ([Link]) 809


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1], default 0.0


goal_spring
Goal (vertex target position) spring stiffness
Type float in [0, 0.999], default 0.0
gravity
Apply gravitation to point movement
Type float in [-10, 10], default 0.0
location_mass_center
Location of Center of mass
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
mass
General Mass value
Type float in [0, 50000], default 0.0
plastic
Permanent deform
Type int in [0, 100], default 0
pull
Edge spring stiffness when longer than rest length
Type float in [0, 0.999], default 0.0
push
Edge spring stiffness when shorter than rest length
Type float in [0, 0.999], default 0.0
rotation_estimate
Estimated rotation matrix
Type float array of 9 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
scale_estimate
Estimated scale matrix
Type float array of 9 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
shear
Shear Stiffness
Type float in [0, 1], default 0.0
speed
Tweak timing for physics to control frequency and speed
Type float in [0.01, 100], default 0.0
spring_length
Alter spring length to shrink/blow up (unit %) 0 to disable
Type int in [0, 200], default 0
step_max
Maximal # solver steps/frame
Type int in [0, 30000], default 0

810 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

step_min
Minimal # solver steps/frame
Type int in [0, 30000], default 0
use_auto_step
Use velocities for automagic step sizes
Type boolean, default False
use_diagnose
Turn on SB diagnose console prints
Type boolean, default False
use_edge_collision
Edges collide too
Type boolean, default False
use_edges
Use Edges as springs
Type boolean, default False
use_estimate_matrix
estimate matrix .. split to COM , ROT ,SCALE
Type boolean, default False
use_face_collision
Faces collide too, can be very slow
Type boolean, default False
use_goal
Define forces for vertices to stick to animated position
Type boolean, default False
use_self_collision
Enable naive vertex ball self collision
Type boolean, default False
use_stiff_quads
Adds diagonal springs on 4-gons
Type boolean, default False
vertex_group_goal
Control point weight values
Type string, default “”
vertex_group_mass
Control point mass values
Type string, default “”
vertex_group_spring
Control point spring strength values
Type string, default “”

2.4. Types ([Link]) 811


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.soft_body
• [Link]

2.4.483 SolidifyModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Create a solid skin by extruding, compensating for sharp angles
edge_crease_inner
Assign a crease to inner edges
Type float in [0, 1], default 0.0
edge_crease_outer
Assign a crease to outer edges
Type float in [0, 1], default 0.0
edge_crease_rim
Assign a crease to the edges making up the rim
Type float in [0, 1], default 0.0
invert_vertex_group
Invert the vertex group influence
Type boolean, default False

812 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

material_offset
Offset material index of generated faces
Type int in [-32768, 32767], default 0
material_offset_rim
Offset material index of generated rim faces
Type int in [-32768, 32767], default 0
offset
Offset the thickness from the center
Type float in [-inf, inf], default 0.0
thickness
Thickness of the shell
Type float in [-inf, inf], default 0.0
use_even_offset
Maintain thickness by adjusting for sharp corners (slow, disable when not needed)
Type boolean, default False
use_quality_normals
Calculate normals which result in more even thickness (slow, disable when not needed)
Type boolean, default False
use_rim
Create edge loops between the inner and outer surfaces on face edges (slow, disable when not needed)
Type boolean, default False
vertex_group
Vertex group name
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

2.4. Types ([Link]) 813


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.484 Sound(ID)

base classes — bpy_struct, ID


class [Link](ID)
Sound datablock referencing an external or packed sound file
filepath
Sound sample file used by this Sound datablock
Type string, default “”
packed_file
Type PackedFile, (readonly)
use_memory_cache
The sound file is decoded and loaded into RAM
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

814 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

2.4.485 SoundActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Sound file
cone_inner_angle_3d
The angle of the inner cone
Type float in [-inf, inf], default 0.0
cone_outer_angle_3d
The angle of the outer cone
Type float in [-inf, inf], default 0.0
cone_outer_gain_3d
The gain outside the outer cone. The gain in the outer cone will be interpolated between this value and the
normal gain in the inner cone
Type float in [-inf, inf], default 0.0
distance_3d_max
The maximum distance at which you can hear the sound
Type float in [-inf, inf], default 0.0
distance_3d_reference
The distance where the sound has a gain of 1.0
Type float in [-inf, inf], default 0.0
gain_3d_max
The maximum gain of the sound, no matter how near it is
Type float in [-inf, inf], default 0.0
gain_3d_min
The minimum gain of the sound, no matter how far it is away
Type float in [-inf, inf], default 0.0
mode

2.4. Types ([Link]) 815


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’PLAYSTOP’, ‘PLAYEND’, ‘LOOPSTOP’, ‘LOOPEND’, ‘LOOPBIDIREC-


TIONAL’, ‘LOOPBIDIRECTIONALSTOP’], default ‘PLAYSTOP’
pitch
Sets the pitch of the sound
Type float in [-inf, inf], default 0.0
rolloff_factor_3d
The influence factor on volume depending on distance
Type float in [-inf, inf], default 0.0
sound
Type Sound
use_sound_3d
Enable/Disable 3D Sound
Type boolean, default False
volume
Sets the initial volume of the sound
Type float in [0, 2], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

816 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.486 SoundSequence(Sequence)

base classes — bpy_struct, Sequence


class [Link](Sequence)
Sequence strip defining a sound to be played over a period of time
animation_offset_end
Animation end offset (trim end)
Type int in [0, inf], default 0
animation_offset_start
Animation start offset (trim start)
Type int in [0, inf], default 0
attenuation
Attenuation in decibel
Type float in [-100, 40], default 0.0
filepath
Type string, default “”
sound
Sound datablock used by this sequence
Type Sound, (readonly)
volume
Playback volume of the sound
Type float in [0, 100], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start

2.4. Types ([Link]) 817


Blender Index, Release 2.57.0 r36138 - API

• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.487 Space(bpy_struct)

base class — bpy_struct


subclasses — SpaceUserPreferences, SpaceOutliner, SpaceImageEditor,
SpaceSequenceEditor, SpaceProperties, SpaceGraphEditor, SpaceLogicEditor,
SpaceInfo, SpaceConsole, SpaceNodeEditor, SpaceView3D, SpaceDopeSheetEditor,
SpaceTextEditor, SpaceFileBrowser, SpaceNLA, SpaceTimeline
class [Link](bpy_struct)
Space data for a screen area
type
Space data type
Type enum in [’EMPTY’, ‘VIEW_3D’, ‘GRAPH_EDITOR’, ‘OUTLINER’, ‘PROP-
ERTIES’, ‘FILE_BROWSER’, ‘IMAGE_EDITOR’, ‘INFO’, ‘SEQUENCE_EDITOR’,
‘TEXT_EDITOR’, ‘AUDIO_WINDOW’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’,
‘SCRIPTS_WINDOW’, ‘TIMELINE’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’, ‘CON-
SOLE’, ‘USER_PREFERENCES’], default ‘EMPTY’, (readonly)

Inherited Properties

• bpy_struct.id_data

818 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Area.active_space
• [Link]
• Context.space_data

2.4.488 SpaceConsole(Space)

base classes — bpy_struct, Space


class [Link](Space)
Interactive python console
font_size
Font size to use for displaying the text
Type int in [8, 32], default 0
history
Command history
Type bpy_prop_collection of ConsoleLine, (readonly)
language
Command line prompt language
Type string, default “”
prompt
Command line prompt
Type string, default “”
scrollback
Command output
Type bpy_prop_collection of ConsoleLine, (readonly)
select_end

2.4. Types ([Link]) 819


Blender Index, Release 2.57.0 r36138 - API

Type int in [0, inf], default 0


select_start
Type int in [0, inf], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.489 SpaceDopeSheetEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
DopeSheet space data
action
Action displayed and edited in this space
Type Action
auto_snap
Automatic time snapping settings for transformations
Type enum in [’NONE’, ‘STEP’, ‘FRAME’, ‘MARKER’], default ‘NONE’
dopesheet
Settings for filtering animation data
Type DopeSheet, (readonly)
mode
Editing context being displayed
Type enum in [’DOPESHEET’, ‘ACTION’, ‘SHAPEKEY’, ‘GPENCIL’], default ‘ACTION’

820 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

show_frame_indicator
Show frame number beside the current frame indicator line
Type boolean, default False
show_pose_markers
Show markers belonging to the active action instead of Scene markers (Action and Shape Key Editors
only)
Type boolean, default False
show_seconds
Show timing in seconds not frames
Type boolean, default False, (readonly)
show_sliders
Show sliders beside F-Curve channels
Type boolean, default False
use_auto_merge_keyframes
Automatically merge nearby keyframes
Type boolean, default False
use_marker_sync
Sync Markers with keyframe edits
Type boolean, default False
use_realtime_update
When transforming keyframes, changes to the animation data are flushed to other views
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 821


Blender Index, Release 2.57.0 r36138 - API

2.4.490 SpaceFileBrowser(Space)

base classes — bpy_struct, Space


class [Link](Space)
File browser space data
operator
Type Operator, (readonly)
params
Parameters and Settings for the Filebrowser
Type FileSelectParams, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.491 SpaceGraphEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
Graph Editor space data
auto_snap
Automatic time snapping settings for transformations
Type enum in [’NONE’, ‘STEP’, ‘FRAME’, ‘MARKER’], default ‘NONE’
cursor_position_y
Graph Editor 2D-Value cursor - Y-Value component
Type float in [-inf, inf], default 0.0

822 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

dopesheet
Settings for filtering animation data
Type DopeSheet, (readonly)
has_ghost_curves
Graph Editor instance has some ghost curves stored
Type boolean, default False
mode
Editing context being displayed
Type enum in [’FCURVES’, ‘DRIVERS’], default ‘FCURVES’
pivot_point
Pivot center for rotation/scaling
Type enum in [’BOUNDING_BOX_CENTER’, ‘CURSOR’, ‘INDIVIDUAL_ORIGINS’], de-
fault ‘BOUNDING_BOX_CENTER’
show_cursor
Show 2D cursor
Type boolean, default False
show_frame_indicator
Show frame number beside the current frame indicator line
Type boolean, default False
show_handles
Show handles of Bezier control points
Type boolean, default False
show_seconds
Show timing in seconds not frames
Type boolean, default False, (readonly)
show_sliders
Show sliders beside F-Curve channels
Type boolean, default False
use_auto_merge_keyframes
Automatically merge nearby keyframes
Type boolean, default False
use_fancy_drawing
Draw F-Curves using Anti-Aliasing and other fancy effects. Disable for better performance
Type boolean, default False
use_only_selected_curves_handles
Only keyframes of selected F-Curves are visible and editable
Type boolean, default False
use_only_selected_keyframe_handles
Only show and edit handles of selected keyframes
Type boolean, default False

2.4. Types ([Link]) 823


Blender Index, Release 2.57.0 r36138 - API

use_realtime_update
When transforming keyframes, changes to the animation data are flushed to other views
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.492 SpaceImageEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
Image and UV editor space data
curve
Color curve mapping to use for displaying the image
Type CurveMapping, (readonly)
draw_channels
Channels of the image to draw
Type enum in [’COLOR’, ‘COLOR_ALPHA’, ‘ALPHA’, ‘Z_BUFFER’], default ‘COLOR’
grease_pencil
Grease pencil data for this space
Type GreasePencil
image
Image displayed and edited in this space
Type Image

824 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

image_user
Parameters defining which layer, pass and frame of the image is displayed
Type ImageUser, (readonly, never None)
sample_histogram
Sampled colors along line
Type Histogram, (readonly)
scopes
Scopes to visualize image statistics.
Type Scopes, (readonly)
show_paint
Show paint related properties
Type boolean, default False, (readonly)
show_render
Show render related properties
Type boolean, default False, (readonly)
show_repeat
Draw the image repeated outside of the main view
Type boolean, default False
show_uvedit
Show UV editing related properties
Type boolean, default False, (readonly)
use_grease_pencil
Display and edit the grease pencil freehand annotations overlay
Type boolean, default False
use_image_paint
Enable image painting mode
Type boolean, default False
use_image_pin
Display current image regardless of object selection
Type boolean, default False
use_realtime_update
Update other affected window spaces automatically to reflect changes during interactive operations such
as transform
Type boolean, default False
uv_editor
UV editor settings
Type SpaceUVEditor, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 825


Blender Index, Release 2.57.0 r36138 - API

• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.493 SpaceInfo(Space)

base classes — bpy_struct, Space


class [Link](Space)
Info space data
show_report_debug
Display debug reporting info
Type boolean, default False
show_report_error
Display error text
Type boolean, default False
show_report_info
Display general information
Type boolean, default False
show_report_operator
Display the operator log
Type boolean, default False
show_report_warning
Display warnings
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

826 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.494 SpaceLogicEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
Logic editor space data
show_actuators_active_object
Show actuators of active object
Type boolean, default False
show_actuators_active_states
Show only actuators connected to active states
Type boolean, default False
show_actuators_linked_controller
Show linked objects to the actuator
Type boolean, default False
show_actuators_selected_objects
Show actuators of all selected objects
Type boolean, default False
show_controllers_active_object
Show controllers of active object
Type boolean, default False
show_controllers_linked_controller
Show linked objects to sensor/actuator
Type boolean, default False
show_controllers_selected_objects
Show controllers of all selected objects
Type boolean, default False

2.4. Types ([Link]) 827


Blender Index, Release 2.57.0 r36138 - API

show_sensors_active_object
Show sensors of active object
Type boolean, default False
show_sensors_active_states
Show only sensors connected to active states
Type boolean, default False
show_sensors_linked_controller
Show linked objects to the controller
Type boolean, default False
show_sensors_selected_objects
Show sensors of all selected objects
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.495 SpaceNLA(Space)

base classes — bpy_struct, Space


class [Link](Space)
NLA editor space data
auto_snap
Automatic time snapping settings for transformations
Type enum in [’NONE’, ‘STEP’, ‘FRAME’, ‘MARKER’], default ‘NONE’

828 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

dopesheet
Settings for filtering animation data
Type DopeSheet, (readonly)
show_frame_indicator
Show frame number beside the current frame indicator line
Type boolean, default False
show_seconds
Show timing in seconds not frames
Type boolean, default False, (readonly)
show_strip_curves
Show influence curves on strips
Type boolean, default False
use_realtime_update
When transforming strips, changes to the animation data are flushed to other views
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.496 SpaceNodeEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
Node editor space data

2.4. Types ([Link]) 829


Blender Index, Release 2.57.0 r36138 - API

backdrop_channels
Channels of the image to draw
Type enum in [’COLOR’, ‘COLOR_ALPHA’, ‘ALPHA’], default ‘COLOR’
backdrop_x
Backdrop X offset
Type float in [-inf, inf], default 0.0
backdrop_y
Backdrop Y offset
Type float in [-inf, inf], default 0.0
backdrop_zoom
Backdrop zoom factor
Type float in [0.01, inf], default 1.0
id
Datablock whose nodes are being edited
Type ID, (readonly)
id_from
Datablock from which the edited datablock is linked
Type ID, (readonly)
node_tree
Node tree being displayed and edited
Type NodeTree, (readonly)
show_backdrop
Use active Viewer Node output as backdrop for compositing nodes
Type boolean, default False
texture_type
Type of data to take texture from
Type enum in [’OBJECT’, ‘WORLD’, ‘BRUSH’], default ‘OBJECT’
tree_type
Node tree type to display and edit
Type enum in [’MATERIAL’, ‘TEXTURE’, ‘COMPOSITING’], default ‘MATERIAL’
use_auto_render
Re-render and composite changed layer on 3D edits
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

830 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.497 SpaceOutliner(Space)

base classes — bpy_struct, Space


class [Link](Space)
Outliner space data
display_mode
Type of information to display
Type enum in [’ALL_SCENES’, ‘CURRENT_SCENE’, ‘VISIBLE_LAYERS’, ‘SE-
LECTED’, ‘ACTIVE’, ‘SAME_TYPES’, ‘GROUPS’, ‘LIBRARIES’, ‘SEQUENCE’,
‘DATABLOCKS’, ‘USER_PREFERENCES’, ‘KEYMAPS’], default ‘ALL_SCENES’
filter_text
Live search filtering string
Type string, default “”
show_restrict_columns
Show column
Type boolean, default False
use_filter_case_sensitive
Only use case sensitive matches of search string
Type boolean, default False
use_filter_complete
Only use complete matches of search string
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

2.4. Types ([Link]) 831


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.498 SpaceProperties(Space)

base classes — bpy_struct, Space


class [Link](Space)
Properties space data
align
Arrangement of the panels
Type enum in [’HORIZONTAL’, ‘VERTICAL’], default ‘HORIZONTAL’
context
Type of active data to display and edit
Type enum in [’SCENE’, ‘RENDER’, ‘WORLD’, ‘OBJECT’, ‘CONSTRAINT’, ‘MODI-
FIER’, ‘DATA’, ‘BONE’, ‘BONE_CONSTRAINT’, ‘MATERIAL’, ‘TEXTURE’, ‘PARTI-
CLE’, ‘PHYSICS’], default ‘RENDER’
pin_id
Type ID
texture_context
Type of texture data to display and edit
Type enum in [’MATERIAL’], default ‘MATERIAL’
use_pin_id
Use the pinned context
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

832 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.499 SpaceSequenceEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
Sequence editor space data
display_channel
The channel number shown in the image preview. 0 is the result of all strips combined
Type int in [-5, 32], default 0
display_mode
The view mode to use for displaying sequencer output
Type enum in [’IMAGE’, ‘WAVEFORM’, ‘VECTOR_SCOPE’, ‘HISTOGRAM’], default ‘IM-
AGE’
draw_overexposed
Show overexposed areas with zebra stripes
Type int in [0, 110], default 0
grease_pencil
Grease pencil data for this space
Type UnknownType, (readonly)
offset_x
Offsets image horizontally from the view center
Type float in [-inf, inf], default 0.0
offset_y
Offsets image horizontally from the view center
Type float in [-inf, inf], default 0.0
proxy_render_size
Draw preview using full resolution or different proxy resolutions

2.4. Types ([Link]) 833


Blender Index, Release 2.57.0 r36138 - API

Type enum in [’NONE’, ‘SCENE’, ‘PROXY_25’, ‘PROXY_50’, ‘PROXY_75’, ‘FULL’], de-


fault ‘SCENE’
show_frame_indicator
Show frame number beside the current frame indicator line
Type boolean, default False
show_frames
Draw frames rather than seconds
Type boolean, default False
show_safe_margin
Draw title safe margins in preview
Type boolean, default False
show_separate_color
Separate color channels in preview
Type boolean, default False
use_grease_pencil
Display and edit the grease pencil freehand annotations overlay
Type boolean, default False
use_marker_sync
Transform markers as well as strips
Type boolean, default False
view_type
The type of the Sequencer view (sequencer, preview or both)
Type enum in [’SEQUENCER’, ‘PREVIEW’, ‘SEQUENCER_PREVIEW’], default ‘SE-
QUENCER’
zoom
Display zoom level
Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

834 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.500 SpaceTextEditor(Space)

base classes — bpy_struct, Space


class [Link](Space)
Text editor space data
find_text
Text to search for with the find tool
Type string, default “”
font_size
Font size to use for displaying the text
Type int in [8, 32], default 0
margin_column
Column number to show right margin at
Type int in [0, 1024], default 0
replace_text
Text to replace selected text with using the replace tool
Type string, default “”
show_line_highlight
Highlight the current line
Type boolean, default False
show_line_numbers
Show line numbers next to the text
Type boolean, default False
show_margin
Show right margin
Type boolean, default False
show_syntax_highlight
Syntax highlight for scripting
Type boolean, default False
show_word_wrap
Wrap words if there is not enough horizontal space
Type boolean, default False
tab_width
Number of spaces to display tabs with
Type int in [2, 8], default 0

2.4. Types ([Link]) 835


Blender Index, Release 2.57.0 r36138 - API

text
Text displayed and edited in this space
Type Text
use_find_all
Search in all text datablocks, instead of only the active one
Type boolean, default False
use_find_wrap
Search again from the start of the file when reaching the end
Type boolean, default False
use_live_edit
Run python while editing
Type boolean, default False
use_overwrite
Overwrite characters when typing rather than inserting them
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.501 SpaceTimeline(Space)

base classes — bpy_struct, Space


class [Link](Space)
Timeline editor space data

836 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

cache_cloth
Show the active object’s cloth point cache
Type boolean, default False
cache_particles
Show the active object’s particle point cache
Type boolean, default False
cache_smoke
Show the active object’s smoke cache
Type boolean, default False
cache_softbody
Show the active object’s softbody point cache
Type boolean, default False
show_cache
Show the status of cached frames in the timeline
Type boolean, default False
show_frame_indicator
Show frame number beside the current frame indicator line
Type boolean, default False
show_only_selected
Show keyframes for active Object and/or its selected channels only
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 837


Blender Index, Release 2.57.0 r36138 - API

2.4.502 SpaceUVEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
UV editor data for the image editor space
cursor_location
2D cursor location for this view
Type float array of 2 items in [-inf, inf], default (0.0, 0.0)
draw_stretch_type
Type of stretch to draw
Type enum in [’ANGLE’, ‘AREA’], default ‘ANGLE’
edge_draw_type
Draw type for drawing UV edges
Type enum in [’OUTLINE’, ‘DASH’, ‘BLACK’, ‘WHITE’], default ‘OUTLINE’
lock_bounds
Constraint to stay within the image bounds while editing
Type boolean, default False
pivot_point
Rotation/Scaling Pivot
Type enum in [’CENTER’, ‘MEDIAN’, ‘CURSOR’], default ‘CENTER’
show_modified_edges
Draw edges after modifiers are applied
Type boolean, default False
show_normalized_coords
Display UV coordinates from 0.0 to 1.0 rather than in pixels
Type boolean, default False
show_other_objects
Draw other selected objects that share the same image
Type boolean, default False
show_smooth_edges
Draw UV edges anti-aliased
Type boolean, default False
show_stretch
Draw faces colored according to the difference in shape between UVs and their 3D coordinates (blue for
low distortion, red for high distortion)
Type boolean, default False
sticky_select_mode
Automatically select also UVs sharing the same vertex as the ones being selected
Type enum in [’DISABLED’, ‘SHARED_LOCATION’, ‘SHARED_VERTEX’], default
‘SHARED_LOCATION’
use_live_unwrap
Continuously unwrap the selected UV island while transforming pinned vertices

838 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_snap_to_pixels
Snap UVs to pixel locations while editing
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• SpaceImageEditor.uv_editor

2.4.503 SpaceUserPreferences(Space)

base classes — bpy_struct, Space


class [Link](Space)
User preferences space data
filter_text
Search term for filtering in the UI
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]

2.4. Types ([Link]) 839


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.504 SpaceView3D(Space)

base classes — bpy_struct, Space


class [Link].SpaceView3D(Space)
3D View space data
background_images
List of background images
Type bpy_prop_collection of BackgroundImage, (readonly)
camera
Active camera used in this view (when unlocked from the scene’s active camera)
Type Object
clip_end
3D View far clipping distance
Type float in [1, inf], default 0.0
clip_start
3D View near clipping distance
Type float in [0, inf], default 0.0
current_orientation
Current Transformation orientation
Type TransformOrientation, (readonly)
cursor_location
3D cursor location for this view (dependent on local view setting)
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid_lines
The number of grid lines to display in perspective view
Type int in [0, 1024], default 0

840 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

grid_scale
The distance between 3D View grid lines
Type float in [0, inf], default 0.0
grid_subdivisions
The number of subdivisions between grid lines
Type int in [1, 1024], default 0
layers
Layers visible in this 3D View
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False)
layers_used
Layers that contain something
Type boolean array of 20 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False), (readonly)
lens
Lens angle (mm) in perspective view
Type float in [1, 250], default 0.0
local_view
Display an isolated sub-set of objects, apart from the scene visibility
Type SpaceView3D, (readonly)
lock_bone
3D View center is locked to this bone’s position
Type string, default “”
lock_camera_and_layers
Use the scene’s active camera and layers in this view, rather than local layers
Type boolean, default False
lock_cursor
3D View center is locked to the cursor’s position
Type boolean, default False
lock_object
3D View center is locked to this object’s position
Type Object
pivot_point
Pivot center for rotation/scaling
Type enum in [’BOUNDING_BOX_CENTER’, ‘CURSOR’, ‘INDIVIDUAL_ORIGINS’,
‘MEDIAN_POINT’, ‘ACTIVE_ELEMENT’], default ‘BOUNDING_BOX_CENTER’
region_3d
3D region in this space, in case of quad view the camera region
Type RegionView3D, (readonly)
region_quadview
3D region that defines the quad view settings

2.4. Types ([Link]) 841


Blender Index, Release 2.57.0 r36138 - API

Type RegionView3D, (readonly)


show_all_objects_origin
Show the object origin center dot for all (selected and unselected) objects
Type boolean, default False
show_axis_x
Show the X axis line in perspective view
Type boolean, default False
show_axis_y
Show the Y axis line in perspective view
Type boolean, default False
show_axis_z
Show the Z axis line in perspective view
Type boolean, default False
show_background_images
Display reference images behind objects in the 3D View
Type boolean, default False
show_floor
Show the ground plane grid in perspective view
Type boolean, default False
show_manipulator
Use a 3D manipulator widget for controlling transforms
Type boolean, default False
show_only_render
Display only objects which will be rendered
Type boolean, default False
show_outline_selected
Show an outline highlight around selected objects in non-wireframe views
Type boolean, default False
show_relationship_lines
Show dashed lines indicating parent or constraint relationships
Type boolean, default False
show_textured_solid
Display face-assigned textures in solid view
Type boolean, default False
transform_orientation
Transformation orientation
Type enum in [’GLOBAL’, ‘LOCAL’, ‘GIMBAL’, ‘NORMAL’, ‘VIEW’, ‘CUSTOM’], default
‘GLOBAL’
use_manipulator_rotate
Use the manipulator for rotation transformations
Type boolean, default False

842 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_manipulator_scale
Use the manipulator for scale transformations
Type boolean, default False
use_manipulator_translate
Use the manipulator for movement transformations
Type boolean, default False
use_occlude_geometry
Limit selection to visible (clipped with depth buffer)
Type boolean, default False
use_pivot_point_align
Manipulate object centers only
Type boolean, default False
viewport_shade
Method to display/shade objects in the 3D View
Type enum in [’BOUNDBOX’, ‘WIREFRAME’, ‘SOLID’, ‘TEXTURED’], default ‘BOUND-
BOX’

Inherited Properties

• bpy_struct.id_data
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ObjectBase.layers_from_view
• SpaceView3D.local_view

2.4. Types ([Link]) 843


Blender Index, Release 2.57.0 r36138 - API

2.4.505 SpeedControlSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence


class [Link](EffectSequence)
Sequence strip to control the speed of other strips
multiply_speed
Multiply the resulting speed after the speed factor
Type float in [0, inf], default 0.0
scale_to_length
Scale values from 0.0 to 1.0 to target sequence length
Type boolean, default False
use_as_speed
Interpret the value as speed instead of a frame number
Type boolean, default False
use_frame_blend
Blend two frames into the target for a smoother result
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count
• EffectSequence.color_balance

844 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• EffectSequence.use_float
• [Link]
• EffectSequence.use_deinterlace
• EffectSequence.use_reverse_frames
• EffectSequence.use_flip_x
• EffectSequence.use_flip_y
• EffectSequence.color_multiply
• EffectSequence.use_premultiply
• [Link]
• EffectSequence.use_proxy_custom_directory
• EffectSequence.use_proxy_custom_file
• EffectSequence.color_saturation
• [Link]
• [Link]
• EffectSequence.use_color_balance
• EffectSequence.use_crop
• EffectSequence.use_proxy
• EffectSequence.use_translation

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.506 Spline(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Element of a curve, either Nurbs, Bezier or Polyline or a character with text objects
bezier_points
Collection of points for Bezier curves only
Type SplineBezierPoints bpy_prop_collection of BezierSplinePoint,
(readonly)

2.4. Types ([Link]) 845


Blender Index, Release 2.57.0 r36138 - API

character_index
Location of this character in the text data (only for text curves)
Type int in [0, inf], default 0, (readonly)
hide
Hide this curve in editmode
Type boolean, default False
material_index
Type int in [0, 32767], default 0
order_u
Nurbs order in the U direction (For splines and surfaces), Higher values let points influence a greater area
Type int in [2, 6], default 0
order_v
Nurbs order in the V direction (For surfaces only), Higher values let points influence a greater area
Type int in [2, 6], default 0
point_count_u
Total number points for the curve or surface in the U direction
Type int in [0, 32767], default 0, (readonly)
point_count_v
Total number points for the surface on the V direction
Type int in [0, 32767], default 0, (readonly)
points
Collection of points that make up this poly or nurbs spline
Type SplinePoints bpy_prop_collection of SplinePoint, (readonly)
radius_interpolation
The type of radius interpolation for Bezier curves
Type enum in [’LINEAR’, ‘CARDINAL’, ‘BSPLINE’, ‘EASE’], default ‘LINEAR’
resolution_u
Curve or Surface subdivisions per segment
Type int in [1, 32767], default 0
resolution_v
Surface subdivisions per segment
Type int in [1, 32767], default 0
tilt_interpolation
The type of tilt interpolation for 3D, Bezier curves
Type enum in [’LINEAR’, ‘CARDINAL’, ‘BSPLINE’, ‘EASE’], default ‘LINEAR’
type
The interpolation type for this curve element
Type enum in [’POLY’, ‘BEZIER’, ‘BSPLINE’, ‘CARDINAL’, ‘NURBS’], default ‘POLY’
use_bezier_u
Make this nurbs curve or surface act like a Bezier spline in the U direction (Order U must be 3 or 4, Cyclic
U must be disabled)

846 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_bezier_v
Make this nurbs surface act like a Bezier spline in the V direction (Order V must be 3 or 4, Cyclic V must
be disabled)
Type boolean, default False
use_cyclic_u
Make this curve or surface a closed loop in the U direction
Type boolean, default False
use_cyclic_v
Make this surface a closed loop in the V direction
Type boolean, default False
use_endpoint_u
Make this nurbs curve or surface meet the endpoints in the U direction (Cyclic U must be disabled)
Type boolean, default False
use_endpoint_v
Make this nurbs surface meet the endpoints in the V direction (Cyclic V must be disabled)
Type boolean, default False
use_smooth
Smooth the normals of the surface or beveled curve
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 847


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]

2.4.507 SplineBezierPoints(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of spline bezirt points
add(count=1)
Add a number of points to this spline.
Parameters count (int in [-inf, inf], (optional)) – Number, Number of points to add to the spline

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Spline.bezier_points

2.4.508 SplineIKConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Align ‘n’ bones along a curve

848 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

chain_count
How many bones are included in the chain
Type int in [1, 255], default 0
joint_bindings
(EXPERIENCED USERS ONLY) The relative positions of the joints along the chain as percentages
Type float array of 32 items in [0, 1], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
target
Curve that controls this relationship
Type Object
use_chain_offset
Offset the entire chain relative to the root joint
Type boolean, default False
use_curve_radius
Average radius of the endpoints is used to tweak the X and Z Scaling of the bones, on top of XZ Scale
mode
Type boolean, default False
use_even_divisions
Ignore the relative lengths of the bones when fitting to the curve
Type boolean, default False
use_y_stretch
Stretch the Y axis of the bones to fit the curve
Type boolean, default False
xz_scale_mode
Method used for determining the scaling of the X and Z axes of the bones
Type enum in [’NONE’, ‘BONE_ORIGINAL’, ‘VOLUME_PRESERVE’], default ‘NONE’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

2.4. Types ([Link]) 849


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.509 SplinePoint(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Spline point without handles
co
Point coordinates
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
hide
Visibility status
Type boolean, default False
radius
Radius for bevelling
Type float in [0, inf], default 0.0
select
Selection status
Type boolean, default False
tilt
Tilt in 3D View
Type float in [-inf, inf], default 0.0
weight
Nurbs weight
Type float in [-inf, inf], default 0.0
weight_softbody
Softbody goal weight
Type float in [0.01, 100], default 0.0

850 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.510 SplinePoints(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of spline points
add(count=1)
Add a number of points to this spline.
Parameters count (int in [1, inf], (optional)) – Number, Number of points to add to the spline

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

2.4. Types ([Link]) 851


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.511 SpotLamp(Lamp)

base classes — bpy_struct, ID, Lamp


class [Link](Lamp)
Directional cone lamp
compression_threshold
Deep shadow map compression threshold
Type float in [0, 1], default 0.0
falloff_curve
Custom Lamp Falloff Curve
Type CurveMapping, (readonly)
falloff_type
Intensity Decay with distance
Type enum in [’CONSTANT’, ‘INVERSE_LINEAR’, ‘INVERSE_SQUARE’, ‘CUS-
TOM_CURVE’, ‘LINEAR_QUADRATIC_WEIGHTED’], default ‘CONSTANT’
halo_intensity
Brightness of the spotlight’s halo cone (Buffer Shadows)
Type float in [-inf, inf], default 0.0
halo_step
Volumetric halo sampling frequency
Type int in [0, 12], default 0
linear_attenuation
Linear distance attenuation
Type float in [0, 1], default 0.0
quadratic_attenuation
Quadratic distance attenuation
Type float in [0, 1], default 0.0
shadow_adaptive_threshold
Threshold for Adaptive Sampling (Raytraced shadows)

852 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 1], default 0.0


shadow_buffer_bias
Shadow buffer sampling bias
Type float in [0.001, 5], default 0.0
shadow_buffer_clip_end
Shadow map clip end beyond which objects will not generate shadows
Type float in [0, 9999], default 0.0
shadow_buffer_clip_start
Shadow map clip start: objects closer will not generate shadows
Type float in [0, 9999], default 0.0
shadow_buffer_samples
Number of shadow buffer samples
Type int in [1, 16], default 0
shadow_buffer_size
Resolution of the shadow buffer, higher values give crisper shadows but use more memory
Type int in [512, 10240], default 0
shadow_buffer_soft
Size of shadow buffer sampling area
Type float in [0, 100], default 0.0
shadow_buffer_type
Type of shadow buffer
Type enum in [’REGULAR’, ‘HALFWAY’, ‘IRREGULAR’, ‘DEEP’], default ‘REGULAR’
shadow_color
Color of shadows cast by the lamp
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
shadow_filter_type
Type of shadow filter (Buffer Shadows)
Type enum in [’BOX’, ‘TENT’, ‘GAUSS’], default ‘BOX’
shadow_method
Method to compute lamp shadow with
Type enum in [’NOSHADOW’, ‘BUFFER_SHADOW’, ‘RAY_SHADOW’], default
‘NOSHADOW’
shadow_ray_sample_method
Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower
Type enum in [’ADAPTIVE_QMC’, ‘CONSTANT_QMC’], default ‘ADAPTIVE_QMC’
shadow_ray_samples
Amount of samples taken extra (samples x samples)
Type int in [1, 64], default 0
shadow_sample_buffers
Number of shadow buffers to render for better AA, this increases memory usage
Type enum in [’BUFFERS_1’, ‘BUFFERS_4’, ‘BUFFERS_9’], default ‘BUFFERS_1’

2.4. Types ([Link]) 853


Blender Index, Release 2.57.0 r36138 - API

shadow_soft_size
Light size for ray shadow sampling (Raytraced shadows)
Type float in [-inf, inf], default 0.0
show_cone
Draw transparent cone in 3D view to visualize which objects are contained in it
Type boolean, default False
spot_blend
The softness of the spotlight edge
Type float in [0, 1], default 0.0
spot_size
Angle of the spotlight beam in degrees
Type float in [0.0174533, 3.14159], default 0.0
use_auto_clip_end
Automatic calculation of clipping-end, based on visible vertices
Type boolean, default False
use_auto_clip_start
Automatic calculation of clipping-start, based on visible vertices
Type boolean, default False
use_halo
Renders spotlight with a volumetric halo (Buffer Shadows)
Type boolean, default False
use_only_shadow
Causes light to cast shadows only without illuminating objects
Type boolean, default False
use_shadow_layer
Causes only objects on the same layer to cast shadows
Type boolean, default False
use_sphere
Sets light intensity to zero beyond lamp distance
Type boolean, default False
use_square
Casts a square spot light shape
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

854 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Lamp.active_texture
• Lamp.active_texture_index
• Lamp.animation_data
• [Link]
• Lamp.use_diffuse
• [Link]
• [Link]
• Lamp.use_own_layer
• Lamp.use_negative
• Lamp.use_specular
• Lamp.texture_slots
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.512 StateActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to handle states
operation
Select the bit operation on object state mask
Type enum in [’SET’, ‘ADD’, ‘REMOVE’, ‘CHANGE’], default ‘SET’
states
Type boolean array of 30 items, default (False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False, False, False, False, False, False, False,
False, False, False, False, False, False, False, False)

2.4. Types ([Link]) 855


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.513 StretchToConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Stretches to meet the target object
bulge
Factor between volume variation and stretching
Type float in [0, 100], default 0.0
head_tail
Target along length of bone: Head=0, Tail=1
Type float in [0, 1], default 0.0
keep_axis
Axis to maintain during stretch
Type enum in [’PLANE_X’, ‘PLANE_Z’], default ‘PLANE_X’
rest_length
Length at rest position
Type float in [0, 100], default 0.0
subtarget

856 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type string, default “”


target
Target Object
Type Object
volume
Maintain the object’s volume as it stretches
Type enum in [’VOLUME_XZX’, ‘VOLUME_X’, ‘VOLUME_Z’, ‘NO_VOLUME’], default
‘VOLUME_XZX’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.514 StringProperty(Property)

base classes — bpy_struct, Property


class [Link](Property)
RNA text string property definition

2.4. Types ([Link]) 857


Blender Index, Release 2.57.0 r36138 - API

default
string default value
Type string, default “”, (readonly)
length_max
Maximum length of the string, 0 means unlimited
Type int in [0, inf], default 0, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Property.is_enum_flag
• Property.is_hidden
• [Link]
• Property.is_never_none
• Property.is_readonly
• Property.is_runtime
• Property.is_registered
• Property.is_registered_optional
• Property.is_required
• Property.is_output
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Struct.name_property

858 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.515 Struct(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
RNA structure definition
base
Struct definition this is derived from
Type Struct, (readonly)
description
Description of the Struct’s purpose
Type string, default “”, (readonly)
functions
Type bpy_prop_collection of Function, (readonly)
identifier
Unique name used in the code and scripting
Type string, default “”, (readonly)
name
Human readable name
Type string, default “”, (readonly)
name_property
Property that gives the name of the struct
Type StringProperty, (readonly)
nested
Struct in which this struct is always nested, and to which it logically belongs
Type Struct, (readonly)
properties
Properties in the struct
Type bpy_prop_collection of Property, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

2.4. Types ([Link]) 859


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• CollectionProperty.fixed_type
• PointerProperty.fixed_type
• [Link]
• [Link]
• [Link]

2.4.516 StucciTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural noise texture
noise_basis
Sets the noise basis used for turbulence
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
noise_type
Type enum in [’SOFT_NOISE’, ‘HARD_NOISE’], default ‘SOFT_NOISE’
stucci_type
Type enum in [’PLASTIC’, ‘WALL_IN’, ‘WALL_OUT’], default ‘PLASTIC’
turbulence
Sets the turbulence of the bandnoise and ringnoise types
Type float in [0.0001, inf], default 0.0
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

860 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 861


Blender Index, Release 2.57.0 r36138 - API

2.4.517 SubsurfModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Subdivision surface modifier
levels
Number of subdivisions to perform
Type int in [0, 32767], default 0
render_levels
Number of subdivisions to perform when rendering
Type int in [0, 32767], default 0
show_only_control_edges
Skip drawing/rendering of interior subdivided edges
Type boolean, default False
subdivision_type
Selects type of subdivision algorithm
Type enum in [’CATMULL_CLARK’, ‘SIMPLE’], default ‘CATMULL_CLARK’
use_subsurf_uv
Use subsurf to subdivide UVs
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys

862 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.518 SunLamp(Lamp)

base classes — bpy_struct, ID, Lamp


class [Link](Lamp)
Constant direction parallel ray lamp
shadow_adaptive_threshold
Threshold for Adaptive Sampling (Raytraced shadows)
Type float in [0, 1], default 0.0
shadow_color
Color of shadows cast by the lamp
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
shadow_method
Method to compute lamp shadow with
Type enum in [’NOSHADOW’, ‘RAY_SHADOW’], default ‘NOSHADOW’
shadow_ray_sample_method
Method for generating shadow samples: Adaptive QMC is fastest, Constant QMC is less noisy but slower
Type enum in [’ADAPTIVE_QMC’, ‘CONSTANT_QMC’], default ‘ADAPTIVE_QMC’
shadow_ray_samples
Amount of samples taken extra (samples x samples)
Type int in [1, 64], default 0
shadow_soft_size
Light size for ray shadow sampling (Raytraced shadows)
Type float in [-inf, inf], default 0.0
sky
Sky related settings for sun lamps
Type LampSkySettings, (readonly, never None)
use_only_shadow
Causes light to cast shadows only without illuminating objects
Type boolean, default False
use_shadow_layer
Causes only objects on the same layer to cast shadows
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user

2.4. Types ([Link]) 863


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• Lamp.active_texture
• Lamp.active_texture_index
• Lamp.animation_data
• [Link]
• Lamp.use_diffuse
• [Link]
• [Link]
• Lamp.use_own_layer
• Lamp.use_negative
• Lamp.use_specular
• Lamp.texture_slots
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.519 SurfaceCurve(Curve)

base classes — bpy_struct, ID, Curve


class [Link](Curve)
Curve datablock used for storing surfaces
use_uv_as_generated
Uses the UV values as Generated textured coordinates
Type boolean, default False

864 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Curve.animation_data
• Curve.use_auto_texspace
• Curve.use_fill_back
• Curve.bevel_depth
• Curve.bevel_object
• Curve.bevel_resolution
• Curve.use_deform_bounds
• [Link]
• Curve.show_handles
• Curve.show_normal_face
• Curve.eval_time
• [Link]
• Curve.use_fill_deform
• Curve.use_path_follow
• Curve.use_fill_front
• [Link]
• [Link]
• Curve.use_time_offset
• Curve.use_path
• Curve.path_duration
• Curve.use_radius
• Curve.render_resolution_u
• Curve.render_resolution_v
• Curve.resolution_u
• Curve.resolution_v
• Curve.shape_keys
• [Link]
• Curve.use_stretch
• Curve.taper_object
• Curve.texspace_location
• Curve.texspace_size
• Curve.twist_mode
• Curve.twist_smooth
• Curve.use_uv_as_generated

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 865


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.520 SurfaceModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Surface modifier defining modifier stack position used for surface fields

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

866 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.521 TexMapping(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Mapping settings
location
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
max
Maximum value for clipping
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
min
Minimum value for clipping
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
rotation
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scale
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
use_max
Whether to use maximum clipping value
Type boolean, default False
use_min
Whether to use minimum clipping value
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast

2.4. Types ([Link]) 867


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.values

2.4.522 Text(ID)

base classes — bpy_struct, ID


class [Link](ID)
Text datablock referencing an external or packed text file
current_character
Index of current character in current line, and also start index of character in selection if one exists
Type int in [0, inf], default 0, (readonly)
current_line
Current line, and start line of selection if one exists
Type TextLine, (readonly, never None)
filepath
Filename of the text file
Type string, default “”
is_dirty
Text file has been edited since last save
Type boolean, default False, (readonly)
is_in_memory
Text file is in memory, without a corresponding file on disk
Type boolean, default False, (readonly)
is_modified
Text file on disk is different than the one in memory
Type boolean, default False, (readonly)
lines
Lines of text
Type bpy_prop_collection of TextLine, (readonly)
markers
Text markers highlighting part of the text
Type bpy_prop_collection of TextMarker, (readonly)
select_end_character
Index of character after end of selection in the selection end line
Type int in [0, inf], default 0, (readonly)
select_end_line
End line of selection
Type TextLine, (readonly, never None)
use_module
Register this text as a module on loading, Text name must end with ”.py”
Type boolean, default False

868 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_tabs_as_spaces
Automatically converts all new tabs into spaces
Type boolean, default False
users_logic
Logic bricks that use this text (readonly)
clear()
clear the text block.
write(text)
write text at the cursor location and advance to the end of the text block.
Parameters text (string) – New text for this datablock.
static as_string(self )
Return the text as a string.
from_string(string)
Replace text with this string.

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4. Types ([Link]) 869


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]
• [Link]
• [Link]
• [Link]
• Filter2DActuator.glsl_shader
• [Link]
• [Link]
• SceneGameData.dome_text
• [Link]

2.4.523 TextBox(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Text bounding box for layout
height
Type float in [0, 50], default 0.0
width
Type float in [0, 50], default 0.0
x
Type float in [-50, 50], default 0.0
y
Type float in [-50, 50], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

870 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• TextCurve.text_boxes

2.4.524 TextCharacterFormat(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Text character formatting settings
use_bold
Type boolean, default False
use_italic
Type boolean, default False
use_small_caps
Type boolean, default False
use_underline
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 871


Blender Index, Release 2.57.0 r36138 - API

References

• TextCurve.body_format
• TextCurve.edit_format

2.4.525 TextCurve(Curve)

base classes — bpy_struct, ID, Curve


class [Link](Curve)
Curve datablock used for storing text
active_textbox
Type int in [-inf, inf], default 0
align
Text align from the object center
Type enum in [’LEFT’, ‘CENTER’, ‘RIGHT’, ‘JUSTIFY’, ‘FLUSH’], default ‘LEFT’
body
contents of this text object
Type string, default “”
body_format
Stores the style of each character
Type bpy_prop_collection of TextCharacterFormat, (readonly)
edit_format
Editing settings character formatting
Type TextCharacterFormat, (readonly)
family
Use Blender Objects as font characters. Give font objects a common name followed by the character it
represents, eg. familya, familyb etc, and turn on Verts Duplication
Type string, default “”
follow_curve
Curve deforming text object
Type Object
font
Type VectorFont
font_bold
Type VectorFont
font_bold_italic
Type VectorFont
font_italic
Type VectorFont
offset_x
Horizontal offset from the object origin

872 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-50, 50], default 0.0


offset_y
Vertical offset from the object origin
Type float in [-50, 50], default 0.0
shear
Italic angle of the characters
Type float in [-1, 1], default 0.0
size
Type float in [0.0001, 10000], default 0.0
small_caps_scale
Scale of small capitals
Type float in [-inf, inf], default 0.0
space_character
Type float in [0, 10], default 0.0
space_line
Type float in [0, 10], default 0.0
space_word
Type float in [0, 10], default 0.0
text_boxes
Type bpy_prop_collection of TextBox, (readonly)
underline_height
Type float in [-0.2, 0.8], default 0.0
underline_position
Vertical position of underline
Type float in [-0.2, 0.8], default 0.0
use_fast_edit
Don’t fill polygons while editing
Type boolean, default False
use_uv_as_generated
Uses the UV values as Generated textured coordinates
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Curve.animation_data

2.4. Types ([Link]) 873


Blender Index, Release 2.57.0 r36138 - API

• Curve.use_auto_texspace
• Curve.use_fill_back
• Curve.bevel_depth
• Curve.bevel_object
• Curve.bevel_resolution
• Curve.use_deform_bounds
• [Link]
• Curve.show_handles
• Curve.show_normal_face
• Curve.eval_time
• [Link]
• Curve.use_fill_deform
• Curve.use_path_follow
• Curve.use_fill_front
• [Link]
• [Link]
• Curve.use_time_offset
• Curve.use_path
• Curve.path_duration
• Curve.use_radius
• Curve.render_resolution_u
• Curve.render_resolution_v
• Curve.resolution_u
• Curve.resolution_v
• Curve.shape_keys
• [Link]
• Curve.use_stretch
• Curve.taper_object
• Curve.texspace_location
• Curve.texspace_size
• Curve.twist_mode
• Curve.twist_smooth
• Curve.use_uv_as_generated

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]

874 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.526 TextLine(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Line of text in a Text datablock
body
Text in the line
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Text.current_line
• [Link]
• Text.select_end_line

2.4.527 TextMarker(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Marker highlighting a portion of text in a Text datablock

2.4. Types ([Link]) 875


Blender Index, Release 2.57.0 r36138 - API

character_index_end
Start position of the marker in the line
Type int in [0, inf], default 0, (readonly)
character_index_start
Start position of the marker in the line
Type int in [0, inf], default 0, (readonly)
color
Color to display the marker with
Type float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.0)
group
Type int in [0, 65535], default 0, (readonly)
is_temporary
Marker is temporary
Type boolean, default False, (readonly)
line
Line in which the marker is located
Type int in [0, inf], default 0, (readonly)
use_edit_all
Edit all markers of the same group as one
Type boolean, default False, (readonly)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

876 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.528 Texture(ID)

base classes — bpy_struct, ID


subclasses — ImageTexture, MarbleTexture, EnvironmentMapTexture, PointDensityTexture,
VoxelDataTexture, BlendTexture, MusgraveTexture, StucciTexture, VoronoiTexture,
MagicTexture, PluginTexture, WoodTexture, CloudsTexture, DistortedNoiseTexture,
NoiseTexture
class [Link](ID)
Texture datablock used by materials, lamps, worlds and brushes
animation_data
Animation data for this datablock
Type AnimData, (readonly)
color_ramp
Type ColorRamp, (readonly)
contrast
Type float in [0.01, 5], default 0.0
factor_blue
Type float in [0, 2], default 0.0
factor_green
Type float in [0, 2], default 0.0
factor_red
Type float in [0, 2], default 0.0
intensity
Type float in [0, 2], default 0.0
node_tree
Node tree for node-based textures
Type NodeTree, (readonly)
saturation
Type float in [0, 2], default 0.0
type
Type enum in [’NONE’, ‘BLEND’, ‘CLOUDS’, ‘DISTORTED_NOISE’, ‘ENVI-
RONMENT_MAP’, ‘IMAGE’, ‘MAGIC’, ‘MARBLE’, ‘MUSGRAVE’, ‘NOISE’,
‘POINT_DENSITY’, ‘STUCCI’, ‘VORONOI’, ‘VOXEL_DATA’, ‘WOOD’], default
‘NONE’
use_color_ramp
Toggle color ramp operations
Type boolean, default False

2.4. Types ([Link]) 877


Blender Index, Release 2.57.0 r36138 - API

use_nodes
Make this a node-based texture
Type boolean, default False
use_preview_alpha
Show Alpha in Preview Render
Type boolean, default False
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]

878 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]
• [Link]
• Lamp.active_texture
• Material.active_texture
• ParticleSettings.active_texture
• [Link]
• [Link]
• [Link]
• [Link]
• World.active_texture

2.4.529 TextureNode(Node)

base classes — bpy_struct, Node


subclasses — TextureNodeScale, TextureNodeRGBToBW, TextureNodeTranslate,
TextureNodeTexture, TextureNodeCompose, TextureNodeValToNor, TextureNodeDecompose,
TextureNodeHueSaturation, TextureNodeImage, TextureNodeBricks,
TextureNodeCurveTime, TextureNodeInvert, TextureNodeCurveRGB, TextureNodeDistance,
TextureNodeRotate, TextureNodeMixRGB, TextureNodeChecker, TextureNodeOutput,
TextureNodeCoordinates, TextureNodeValToRGB, TextureNodeMath, TextureNodeViewer
class [Link](Node)

type
Type enum in [’OUTPUT’, ‘CHECKER’, ‘TEXTURE’, ‘BRICKS’, ‘MATH’, ‘MIX_RGB’,
‘RGBTOBW’, ‘VALTORGB’, ‘IMAGE’, ‘CURVE_RGB’, ‘INVERT’, ‘HUE_SAT’,
‘CURVE_TIME’, ‘ROTATE’, ‘VIEWER’, ‘TRANSLATE’, ‘COORD’, ‘DISTANCE’,
‘COMPOSE’, ‘DECOMPOSE’, ‘VALTONOR’, ‘SCALE’, ‘SCRIPT’, ‘GROUP’], default
‘OUTPUT’, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 879


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.530 TextureNodeBricks(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

offset
Type float in [0, 1], default 0.0
offset_frequency
Offset every N rows
Type int in [2, 99], default 0
squash
Type float in [0, 99], default 0.0
squash_frequency
Squash every N rows
Type int in [2, 99], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items

880 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.531 TextureNodeChecker(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.532 TextureNodeCompose(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

2.4. Types ([Link]) 881


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.533 TextureNodeCoordinates(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

882 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.534 TextureNodeCurveRGB(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

mapping
Type CurveMapping, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 883


Blender Index, Release 2.57.0 r36138 - API

2.4.535 TextureNodeCurveTime(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

curve
Type CurveMapping, (readonly)
frame_end
Type int in [-32768, 32767], default 0
frame_start
Type int in [-32768, 32767], default 0

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.536 TextureNodeDecompose(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

884 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.537 TextureNodeDistance(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 885


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.538 TextureNodeHueSaturation(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.539 TextureNodeImage(TextureNode)

base classes — bpy_struct, Node, TextureNode

886 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](TextureNode)

image
Type Image

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.540 TextureNodeInvert(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 887


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.541 TextureNodeMath(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

operation
Type enum in [’ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’, ‘SINE’, ‘COSINE’, ‘TAN-
GENT’, ‘ARCSINE’, ‘ARCCOSINE’, ‘ARCTANGENT’, ‘POWER’, ‘LOGARITHM’,
‘MINIMUM’, ‘MAXIMUM’, ‘ROUND’, ‘LESS_THAN’, ‘GREATER_THAN’], default
‘ADD’

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

888 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.542 TextureNodeMixRGB(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

blend_type
Type enum in [’MIX’, ‘ADD’, ‘MULTIPLY’, ‘SUBTRACT’, ‘SCREEN’, ‘DIVIDE’, ‘DIF-
FERENCE’, ‘DARKEN’, ‘LIGHTEN’, ‘OVERLAY’, ‘DODGE’, ‘BURN’, ‘HUE’, ‘SAT-
URATION’, ‘VALUE’, ‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
use_alpha
Include alpha of second input in this operation
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 889


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

2.4.543 TextureNodeOutput(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

filepath
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.544 TextureNodeRGBToBW(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

890 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.545 TextureNodeRotate(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 891


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.546 TextureNodeScale(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.547 TextureNodeTexture(TextureNode)

base classes — bpy_struct, Node, TextureNode

892 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](TextureNode)

node_output
For node-based textures, which output node to use
Type int in [-32768, 32767], default 0
texture
Type Texture

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.548 TextureNodeTranslate(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]

2.4. Types ([Link]) 893


Blender Index, Release 2.57.0 r36138 - API

• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.549 TextureNodeTree(NodeTree)

base classes — bpy_struct, ID, NodeTree


class [Link](NodeTree)
Node tree consisting of linked nodes used for textures
nodes
Type TextureNodes bpy_prop_collection of Node, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• NodeTree.animation_data
• NodeTree.grease_pencil
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

894 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.550 TextureNodeValToNor(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

2.4. Types ([Link]) 895


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.551 TextureNodeValToRGB(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

color_ramp
Type ColorRamp, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.552 TextureNodeViewer(TextureNode)

base classes — bpy_struct, Node, TextureNode


class [Link](TextureNode)

896 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.553 TextureNodes(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of Texture Nodes
new(type, group=None)
Add a node to this node tree.
Parameters
• type (enum in [’OUTPUT’, ‘CHECKER’, ‘TEXTURE’, ‘BRICKS’, ‘MATH’, ‘MIX_RGB’,
‘RGBTOBW’, ‘VALTORGB’, ‘IMAGE’, ‘CURVE_RGB’, ‘INVERT’, ‘HUE_SAT’,
‘CURVE_TIME’, ‘ROTATE’, ‘VIEWER’, ‘TRANSLATE’, ‘COORD’, ‘DISTANCE’,
‘COMPOSE’, ‘DECOMPOSE’, ‘VALTONOR’, ‘SCALE’, ‘SCRIPT’, ‘GROUP’]) – Type,
Type of node to add
• group (NodeTree, (optional)) – The group tree
Returns New node.
Return type Node
remove(node)
remove a node from this node tree.

2.4. Types ([Link]) 897


Blender Index, Release 2.57.0 r36138 - API

Parameters node (Node) – The node to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.554 TextureSlot(bpy_struct)

base class — bpy_struct


subclasses — ParticleSettingsTextureSlot, MaterialTextureSlot, LampTextureSlot,
BrushTextureSlot, WorldTextureSlot
class [Link](bpy_struct)
Texture slot defining the mapping and influence of a texture
blend_type
Type enum in [’MIX’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘SCREEN’, ‘OVERLAY’, ‘DIF-
FERENCE’, ‘DIVIDE’, ‘DARKEN’, ‘LIGHTEN’, ‘HUE’, ‘SATURATION’, ‘VALUE’,
‘COLOR’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’], default ‘MIX’
color
The default color for textures that don’t return RGB or when RGB to intensity is enabled
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
default_value
Value to use for Ref, Spec, Amb, Emit, Alpha, RayMir, TransLu and Hard
Type float in [-inf, inf], default 0.0

898 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

invert
Inverts the values of the texture to reverse its effect
Type boolean, default False
name
Texture slot name
Type string, default “”, (readonly)
offset
Fine tunes texture mapping X, Y and Z locations
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
output_node
Which output node to use, for node-based textures
Type enum in [’DUMMY’], default ‘DUMMY’
scale
Sets scaling for the texture’s X, Y and Z sizes
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
texture
Texture datablock used by this texture slot
Type Texture
use_rgb_to_intensity
Converts texture RGB values to intensity (gray) values
Type boolean, default False
use_stencil
Use this texture as a blending value on the next texture
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 899


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• UILayout.template_preview

2.4.555 Theme(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings defining draw style and colors in the user interface
bone_color_sets
Type bpy_prop_collection of ThemeBoneColorSet, (readonly, never None)
console
Type ThemeConsole, (readonly, never None)
dopesheet_editor
Type ThemeDopeSheet, (readonly, never None)
file_browser
Type ThemeFileBrowser, (readonly, never None)
graph_editor
Type ThemeGraphEditor, (readonly, never None)
image_editor
Type ThemeImageEditor, (readonly, never None)
info
Type ThemeInfo, (readonly, never None)
logic_editor
Type ThemeLogicEditor, (readonly, never None)
name
Name of the theme
Type string, default “”
nla_editor
Type ThemeNLAEditor, (readonly, never None)
node_editor
Type ThemeNodeEditor, (readonly, never None)
outliner
Type ThemeOutliner, (readonly, never None)
properties
Type ThemeProperties, (readonly, never None)

900 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

sequence_editor
Type ThemeSequenceEditor, (readonly, never None)
text_editor
Type ThemeTextEditor, (readonly, never None)
theme_area
Type enum in [’USER_INTERFACE’, ‘BONE_COLOR_SETS’, ‘VIEW_3D’, ‘TIMELINE’,
‘GRAPH_EDITOR’, ‘DOPESHEET_EDITOR’, ‘NLA_EDITOR’, ‘IMAGE_EDITOR’,
‘SEQUENCE_EDITOR’, ‘TEXT_EDITOR’, ‘NODE_EDITOR’, ‘LOGIC_EDITOR’,
‘PROPERTIES’, ‘OUTLINER’, ‘USER_PREFERENCES’, ‘INFO’, ‘FILE_BROWSER’,
‘CONSOLE’], default ‘USER_INTERFACE’
timeline
Type ThemeTimeline, (readonly, never None)
user_interface
Type ThemeUserInterface, (readonly, never None)
user_preferences
Type ThemeUserPreferences, (readonly, never None)
view_3d
Type ThemeView3D, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4. Types ([Link]) 901


Blender Index, Release 2.57.0 r36138 - API

2.4.556 ThemeAudioWindow(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Audio Window
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
window_sliders
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

902 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.557 ThemeBoneColorSet(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for bone color sets
active
Color used for active bones
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
normal
Color used for the surface of bones
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
select
Color used for selected bones
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
show_colored_constraints
Allow the use of colors indicating constraints/keyed status
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

2.4. Types ([Link]) 903


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• Theme.bone_color_sets

2.4.558 ThemeConsole(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Console
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
cursor
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

904 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

line_error
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
line_info
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
line_input
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
line_output
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4. Types ([Link]) 905


Blender Index, Release 2.57.0 r36138 - API

2.4.559 ThemeDopeSheet(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the DopeSheet
active_channels_group
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
channel_group
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
channels
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
channels_selected
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
dopesheet_channel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
dopesheet_subchannel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

906 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

list
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
long_key
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
long_key_selected
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
value_sliders
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
view_sliders
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

2.4. Types ([Link]) 907


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.dopesheet_editor

2.4.560 ThemeFileBrowser(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the File Browser
active_file
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
active_file_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

908 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

list_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scroll_handle
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scrollbar
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
selected_file
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
tiles
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.file_browser

2.4. Types ([Link]) 909


Blender Index, Release 2.57.0 r36138 - API

2.4.561 ThemeFontStyle(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for Font
font_kerning_style
Which style to use for font kerning
Type enum in [’UNFITTED’, ‘DEFAULT’], default ‘UNFITTED’
points
Type int in [6, 48], default 0
shadow
Shadow size in pixels (0, 3 and 5 supported)
Type int in [0, 5], default 0
shadow_offset_x
Shadow offset in pixels
Type int in [-10, 10], default 0
shadow_offset_y
Shadow offset in pixels
Type int in [-10, 10], default 0
shadowalpha
Type float in [0, 1], default 0.0
shadowcolor
Shadow color in grey value
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

910 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• ThemeStyle.group_label
• ThemeStyle.panel_title
• [Link]
• ThemeStyle.widget_label

2.4.562 ThemeGraphEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the graph editor
active_channels_group
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
channel_group
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
channels_region
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
dopesheet_channel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
dopesheet_subchannel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 911


Blender Index, Release 2.57.0 r36138 - API

handle_align
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_auto
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_free
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_align
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_auto
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_free
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_vect
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_vect
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_vertex
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_vertex_select
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_vertex_size
Type int in [0, 255], default 0
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
lastsel_point
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

912 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

list_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
panel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_select
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_size
Type int in [1, 10], default 0
window_sliders
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 913


Blender Index, Release 2.57.0 r36138 - API

References

• Theme.graph_editor

2.4.563 ThemeImageEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Image Editor
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
editmesh_active
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
face
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
face_dot
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
face_select
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
facedot_size
Type int in [1, 10], default 0
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scope_back
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
text

914 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_select
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_size
Type int in [1, 10], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.image_editor

2.4.564 ThemeInfo(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for Info

2.4. Types ([Link]) 915


Blender Index, Release 2.57.0 r36138 - API

back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id

916 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.565 ThemeLogicEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Logic Editor
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
panel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 917


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.logic_editor

2.4.566 ThemeNLAEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the NLA Editor
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
bars
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
bars_selected
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

918 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
strips
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
strips_selected
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
view_sliders
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 919


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.nla_editor

2.4.567 ThemeNodeEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Node Editor
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
converter_node
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
group_node
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header

920 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
in_out_node
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
list_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
node_backdrop
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
operator_node
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
selected_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
wire
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
wire_select
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

2.4. Types ([Link]) 921


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.node_editor

2.4.568 ThemeOutliner(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Outliner
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi

922 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.569 ThemeProperties(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Properties
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 923


Blender Index, Release 2.57.0 r36138 - API

button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
panel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

924 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• [Link]

2.4.570 ThemeSequenceEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Sequence Editor
audio_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
draw_action
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
effect_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
image_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
keyframe

2.4. Types ([Link]) 925


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
meta_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
movie_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
plugin_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scene_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
transition_strip
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
window_sliders
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

926 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• Theme.sequence_editor

2.4.571 ThemeStyle(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for style sets
group_label
Type ThemeFontStyle, (readonly, never None)
panel_title
Type ThemeFontStyle, (readonly, never None)
panelzoom
Default zoom level for panel areas
Type float in [0.5, 2], default 0.0
widget
Type ThemeFontStyle, (readonly, never None)
widget_label
Type ThemeFontStyle, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 927


Blender Index, Release 2.57.0 r36138 - API

References

• UserPreferences.ui_styles

2.4.572 ThemeTextEditor(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Text Editor
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
cursor
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
line_numbers_background
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
scroll_bar
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
selected_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
syntax_builtin
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
syntax_comment
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
syntax_numbers

928 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
syntax_special
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
syntax_string
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.text_editor

2.4.573 ThemeTimeline(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the Timeline

2.4. Types ([Link]) 929


Blender Index, Release 2.57.0 r36138 - API

back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

930 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.574 ThemeUserInterface(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for user interface elements
icon_file
Type string, default “”
wcol_box
Type ThemeWidgetColors, (readonly, never None)
wcol_list_item
Type ThemeWidgetColors, (readonly, never None)
wcol_menu
Type ThemeWidgetColors, (readonly, never None)
wcol_menu_back
Type ThemeWidgetColors, (readonly, never None)
wcol_menu_item
Type ThemeWidgetColors, (readonly, never None)
wcol_num
Type ThemeWidgetColors, (readonly, never None)
wcol_numslider
Type ThemeWidgetColors, (readonly, never None)
wcol_option
Type ThemeWidgetColors, (readonly, never None)
wcol_progress
Type ThemeWidgetColors, (readonly, never None)
wcol_pulldown
Type ThemeWidgetColors, (readonly, never None)

2.4. Types ([Link]) 931


Blender Index, Release 2.57.0 r36138 - API

wcol_radio
Type ThemeWidgetColors, (readonly, never None)
wcol_regular
Type ThemeWidgetColors, (readonly, never None)
wcol_scroll
Type ThemeWidgetColors, (readonly, never None)
wcol_state
Type ThemeWidgetStateColors, (readonly, never None)
wcol_text
Type ThemeWidgetColors, (readonly, never None)
wcol_toggle
Type ThemeWidgetColors, (readonly, never None)
wcol_tool
Type ThemeWidgetColors, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.user_interface

932 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

2.4.575 ThemeUserPreferences(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for the User Preferences
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

2.4. Types ([Link]) 933


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Theme.user_preferences

2.4.576 ThemeView3D(bpy_struct)

base class — bpy_struct


class [Link].ThemeView3D(bpy_struct)
Theme settings for the 3D View
act_spline
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
back
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
bone_pose
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
bone_solid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
button_title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
edge_crease
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
edge_facesel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
edge_seam
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

934 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

edge_select
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
edge_sharp
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
editmesh_active
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
extra_edge_len
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
extra_face_angle
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
extra_face_area
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
face
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
face_dot
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
face_select
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
facedot_size
Type int in [1, 10], default 0
frame_current
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
grid
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_align
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_auto
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_free
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_align
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_auto
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_sel_free
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 935


Blender Index, Release 2.57.0 r36138 - API

handle_sel_vect
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
handle_vect
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
header_text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
lamp
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
lastsel_point
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
normal
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
nurb_sel_uline
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
nurb_sel_vline
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
nurb_uline
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
nurb_vline
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
object_active
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
object_grouped
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
object_grouped_active
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
object_selected
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
outline_width
Type int in [1, 5], default 0
panel
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)

936 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_hi
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
title
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
transform
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_normal
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_select
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
vertex_size
Type int in [1, 10], default 0
wire
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 937


Blender Index, Release 2.57.0 r36138 - API

References

• Theme.view_3d

2.4.577 ThemeWidgetColors(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for widget color sets
inner
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
inner_sel
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
item
Type float array of 4 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0)
outline
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
shadedown
Type int in [-100, 100], default 0
shadetop
Type int in [-100, 100], default 0
show_shaded
Type boolean, default False
text
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
text_sel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden

938 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ThemeUserInterface.wcol_box
• ThemeUserInterface.wcol_list_item
• ThemeUserInterface.wcol_menu
• ThemeUserInterface.wcol_menu_back
• ThemeUserInterface.wcol_menu_item
• ThemeUserInterface.wcol_num
• ThemeUserInterface.wcol_numslider
• ThemeUserInterface.wcol_option
• ThemeUserInterface.wcol_progress
• ThemeUserInterface.wcol_pulldown
• ThemeUserInterface.wcol_radio
• ThemeUserInterface.wcol_regular
• ThemeUserInterface.wcol_scroll
• ThemeUserInterface.wcol_text
• ThemeUserInterface.wcol_toggle
• ThemeUserInterface.wcol_tool

2.4.578 ThemeWidgetStateColors(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Theme settings for widget state colors
blend
Type float in [0, 1], default 0.0
inner_anim
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
inner_anim_sel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
inner_driven
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
inner_driven_sel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
inner_key
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 939


Blender Index, Release 2.57.0 r36138 - API

inner_key_sel
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ThemeUserInterface.wcol_state

2.4.579 TimelineMarker(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Marker for noting points in the timeline
camera
Camera this timeline sets to active
Type Object
frame
The frame on which the timeline marker appears
Type int in [-inf, inf], default 0
name
Type string, default “”
select
Marker selection state

940 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Action.pose_markers
• [Link]
• [Link]
• [Link]
• Scene.timeline_markers
• [Link]
• [Link]

2.4.580 TimelineMarkers(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of timeline markers
new(name)
Add a keyframe to the curve.
Parameters name (string) – New name for the marker (not unique).
Returns Newly created timeline marker
Return type TimelineMarker
remove(marker)
Remove a timeline marker.

2.4. Types ([Link]) 941


Blender Index, Release 2.57.0 r36138 - API

Parameters marker (TimelineMarker, (never None)) – Timeline marker to remove.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.timeline_markers

2.4.581 Timer(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Window event timer
time_delta
Time since last step in seconds
Type float in [-inf, inf], default 0.0, (readonly)
time_duration
Time since last step in seconds
Type float in [-inf, inf], default 0.0, (readonly)
time_step
Type float in [-inf, inf], default 0.0, (readonly)

Inherited Properties

• bpy_struct.id_data

942 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• WindowManager.event_timer_add
• WindowManager.event_timer_remove

2.4.582 ToolSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)

auto_keying_mode
Mode of automatic keyframe insertion for Objects and Bones
Type enum in [’ADD_REPLACE_KEYS’, ‘REPLACE_KEYS’], default
‘ADD_REPLACE_KEYS’
edge_path_live_unwrap
Changing edges seam re-calculates UV unwrap
Type boolean, default False
edge_path_mode
The edge flag to tag when selecting the shortest path
Type enum in [’SELECT’, ‘SEAM’, ‘SHARP’, ‘CREASE’, ‘BEVEL’], default ‘SELECT’
etch_adaptive_limit
Number of bones in the subdivided stroke
Type float in [1e-05, 1], default 0.0
etch_convert_mode
Method used to convert stroke to bones
Type enum in [’FIXED’, ‘LENGTH’, ‘ADAPTIVE’, ‘RETARGET’], default ‘FIXED’

2.4. Types ([Link]) 943


Blender Index, Release 2.57.0 r36138 - API

etch_length_limit
Number of bones in the subdivided stroke
Type float in [1e-05, 100000], default 0.0
etch_number
DOC BROKEN
Type string, default “”
etch_roll_mode
Method used to adjust the roll of bones when retargeting
Type enum in [’NONE’, ‘VIEW’, ‘JOINT’], default ‘NONE’
etch_side
DOC BROKEN
Type string, default “”
etch_subdivision_number
Number of bones in the subdivided stroke
Type int in [1, 255], default 0
etch_template
Template armature that will be retargeted to the stroke
Type Object
image_paint
Type ImagePaint, (readonly)
mesh_select_mode
Which mesh elements selection works on
Type boolean array of 3 items, default (False, False, False)
normal_size
Display size for normals in the 3D view
Type float in [1e-05, 1000], default 0.0
particle_edit
Type ParticleEdit, (readonly)
proportional_edit
Proportional Editing mode, allows transforms with distance fall-off
Type enum in [’DISABLED’, ‘ENABLED’, ‘CONNECTED’], default ‘DISABLED’
proportional_edit_falloff
Falloff type for proportional editing mode
Type enum in [’SMOOTH’, ‘SPHERE’, ‘ROOT’, ‘SHARP’, ‘LINEAR’, ‘CONSTANT’,
‘RANDOM’], default ‘SMOOTH’
proportional_size
Display size for proportional editing circle
Type float in [1e-05, 5000], default 0.0
sculpt
Type Sculpt, (readonly)

944 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

sculpt_paint_use_unified_size
Instead of per brush radius, the radius is shared across brushes
Type boolean, default False
sculpt_paint_use_unified_strength
Instead of per brush strength, the strength is shared across brushes
Type boolean, default False
show_uv_local_view
Draw only faces with the currently displayed image assigned
Type boolean, default False
snap_element
Type of element to snap to
Type enum in [’INCREMENT’, ‘VERTEX’, ‘EDGE’, ‘FACE’, ‘VOLUME’], default ‘INCRE-
MENT’
snap_target
Which part to snap onto the target
Type enum in [’CLOSEST’, ‘CENTER’, ‘MEDIAN’, ‘ACTIVE’], default ‘CLOSEST’
use_auto_normalize
Ensure all bone-deforming vertex groups add up to 1.0 while weight painting
Type boolean, default False
use_bone_sketching
DOC BROKEN
Type boolean, default False
use_etch_autoname
DOC BROKEN
Type boolean, default False
use_etch_overdraw
DOC BROKEN
Type boolean, default False
use_etch_quick
DOC BROKEN
Type boolean, default False
use_grease_pencil_sessions
Allow drawing multiple strokes at a time with Grease Pencil
Type boolean, default False
use_keyframe_insert_auto
Automatic keyframe insertion for Objects and Bones
Type boolean, default False
use_keyframe_insert_keyingset
Automatic keyframe insertion using active Keying Set only
Type boolean, default False

2.4. Types ([Link]) 945


Blender Index, Release 2.57.0 r36138 - API

use_mesh_automerge
Automatically merge vertices moved to the same location
Type boolean, default False
use_proportional_edit_objects
Proportional editing object mode
Type boolean, default False
use_record_with_nla
Add a new NLA Track + Strip for every loop/pass made over the animation to allow non-destructive
tweaking
Type boolean, default False
use_snap
Snap during transform
Type boolean, default False
use_snap_align_rotation
Align rotation with the snapping target
Type boolean, default False
use_snap_peel_object
Consider objects as whole when finding volume center
Type boolean, default False
use_snap_project
Project individual elements on the surface of other objects
Type boolean, default False
use_uv_select_sync
Keep UV and edit mode mesh selection in sync
Type boolean, default False
uv_select_mode
UV selection and display mode
Type enum in [’VERTEX’, ‘EDGE’, ‘FACE’, ‘ISLAND’], default ‘VERTEX’
vertex_group_weight
Weight to assign in vertex groups
Type float in [0, 1], default 0.0
vertex_paint
Type VertexPaint, (readonly)
weight_paint
Type VertexPaint, (readonly)

Inherited Properties

• bpy_struct.id_data

946 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Context.tool_settings
• Scene.tool_settings

2.4.583 TouchSensor(Sensor)

base classes — bpy_struct, Sensor


class [Link](Sensor)
Sensor to detect objects colliding with the current object
material
Only look for objects with this material (blank = all objects)
Type Material

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sensor.show_expanded
• [Link]
• [Link]
• Sensor.use_level
• [Link]
• Sensor.use_pulse_false_level
• Sensor.use_pulse_true_level
• Sensor.use_tap
• [Link]

2.4. Types ([Link]) 947


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.584 TrackToConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Aims the constrained object toward the target
head_tail
Target along length of bone: Head=0, Tail=1
Type float in [0, 1], default 0.0
subtarget
Type string, default “”
target
Target Object
Type Object
track_axis
Axis that points to the target object
Type enum in [’TRACK_X’, ‘TRACK_Y’, ‘TRACK_Z’, ‘TRACK_NEGATIVE_X’,
‘TRACK_NEGATIVE_Y’, ‘TRACK_NEGATIVE_Z’], default ‘TRACK_X’
up_axis
Axis that points upward
Type enum in [’UP_X’, ‘UP_Y’, ‘UP_Z’], default ‘UP_X’
use_target_z
Target’s Z axis, not World Z axis, will constraint the Up direction
Type boolean, default False

948 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.585 TransformConstraint(Constraint)

base classes — bpy_struct, Constraint


class [Link](Constraint)
Maps transformations of the target to the object
from_max_x
Top range of X axis source motion
Type float in [-inf, inf], default 0.0
from_max_y
Top range of Y axis source motion
Type float in [-inf, inf], default 0.0
from_max_z
Top range of Z axis source motion

2.4. Types ([Link]) 949


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0


from_min_x
Bottom range of X axis source motion
Type float in [-inf, inf], default 0.0
from_min_y
Bottom range of Y axis source motion
Type float in [-inf, inf], default 0.0
from_min_z
Bottom range of Z axis source motion
Type float in [-inf, inf], default 0.0
map_from
The transformation type to use from the target
Type enum in [’LOCATION’, ‘ROTATION’, ‘SCALE’], default ‘LOCATION’
map_to
The transformation type to affect of the constrained object
Type enum in [’LOCATION’, ‘ROTATION’, ‘SCALE’], default ‘LOCATION’
map_to_x_from
The source axis constrained object’s X axis uses
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
map_to_y_from
The source axis constrained object’s Y axis uses
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
map_to_z_from
The source axis constrained object’s Z axis uses
Type enum in [’X’, ‘Y’, ‘Z’], default ‘X’
subtarget
Type string, default “”
target
Target Object
Type Object
to_max_x
Top range of X axis destination motion
Type float in [-inf, inf], default 0.0
to_max_y
Top range of Y axis destination motion
Type float in [-inf, inf], default 0.0
to_max_z
Top range of Z axis destination motion
Type float in [-inf, inf], default 0.0

950 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

to_min_x
Bottom range of X axis destination motion
Type float in [-inf, inf], default 0.0
to_min_y
Bottom range of Y axis destination motion
Type float in [-inf, inf], default 0.0
to_min_z
Bottom range of Z axis destination motion
Type float in [-inf, inf], default 0.0
use_motion_extrapolate
Extrapolate ranges
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• [Link]
• Constraint.is_valid
• Constraint.show_expanded
• [Link]
• Constraint.error_location
• Constraint.owner_space
• Constraint.is_proxy_local
• Constraint.error_rotation
• Constraint.target_space
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4. Types ([Link]) 951


Blender Index, Release 2.57.0 r36138 - API

2.4.586 TransformOrientation(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)

matrix
Type float array of 9 items in [-inf, inf], default (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
name
Type string, default “”

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• SpaceView3D.current_orientation

2.4.587 TransformSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence


class [Link](EffectSequence)
Sequence strip applying affine transformations to other strips
interpolation
Type enum in [’NONE’, ‘BILINEAR’, ‘BICUBIC’], default ‘NONE’
rotation_start

952 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-360, 360], default 0.0


scale_start_x
Type float in [0, inf], default 0.0
scale_start_y
Type float in [0, inf], default 0.0
translate_start_x
Type float in [-inf, inf], default 0.0
translate_start_y
Type float in [-inf, inf], default 0.0
translation_unit
Type enum in [’PIXELS’, ‘PERCENT’], default ‘PIXELS’
use_uniform_scale
Scale uniformly, preserving aspect ratio
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count
• EffectSequence.color_balance
• EffectSequence.use_float
• [Link]

2.4. Types ([Link]) 953


Blender Index, Release 2.57.0 r36138 - API

• EffectSequence.use_deinterlace
• EffectSequence.use_reverse_frames
• EffectSequence.use_flip_x
• EffectSequence.use_flip_y
• EffectSequence.color_multiply
• EffectSequence.use_premultiply
• [Link]
• EffectSequence.use_proxy_custom_directory
• EffectSequence.use_proxy_custom_file
• EffectSequence.color_saturation
• [Link]
• [Link]
• EffectSequence.use_color_balance
• EffectSequence.use_crop
• EffectSequence.use_proxy
• EffectSequence.use_translation

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.588 UILayout(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
User interface layout in a panel or header
active
Type boolean, default False
alert
Type boolean, default False
alignment
Type enum in [’EXPAND’, ‘LEFT’, ‘CENTER’, ‘RIGHT’], default ‘EXPAND’

954 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

enabled
When false, this (sub)layout is greyed out.
Type boolean, default False
operator_context
Type enum in [’INVOKE_DEFAULT’, ‘INVOKE_REGION_WIN’, ‘IN-
VOKE_REGION_CHANNELS’, ‘INVOKE_REGION_PREVIEW’, ‘IN-
VOKE_AREA’, ‘INVOKE_SCREEN’, ‘EXEC_DEFAULT’, ‘EXEC_REGION_WIN’,
‘EXEC_REGION_CHANNELS’, ‘EXEC_REGION_PREVIEW’, ‘EXEC_AREA’,
‘EXEC_SCREEN’], default ‘INVOKE_DEFAULT’
scale_x
Scale factor along the X for items in this (sub)layout.
Type float in [0, inf], default 0.0
scale_y
Scale factor along the Y for items in this (sub)layout.
Type float in [0, inf], default 0.0
row(align=False)
Sub-layout. Items placed in this sublayout are placed next to each other in a row.
Parameters align (boolean, (optional)) – Align buttons to each other.
Returns Sub-layout to put items in.
Return type UILayout
column(align=False)
Sub-layout. Items placed in this sublayout are placed under each other in a column.
Parameters align (boolean, (optional)) – Align buttons to each other.
Returns Sub-layout to put items in.
Return type UILayout
column_flow(columns=0, align=False)
column_flow
Parameters
• columns (int in [0, inf], (optional)) – Number of columns, 0 is automatic.
• align (boolean, (optional)) – Align buttons to each other.
Returns Sub-layout to put items in.
Return type UILayout
box()
Sublayout. Items placed in this sublayout are placed under each other in a column and are surrounded by
a box.
Returns Sub-layout to put items in.
Return type UILayout
split(percentage=0.0, align=False)
split
Parameters

2.4. Types ([Link]) 955


Blender Index, Release 2.57.0 r36138 - API

• percentage (float in [0, 1], (optional)) – Percentage, Percentage of width to split at.
• align (boolean, (optional)) – Align buttons to each other.
Returns Sub-layout to put items in.
Return type UILayout
prop(data, property, text=”“, icon=’NONE’, expand=False, slider=False, toggle=False,
icon_only=False, event=False, full_event=False, emboss=True, index=-1)
Item. Exposes an RNA item and places it into the layout.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,

956 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-


LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-
LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,
‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,

2.4. Types ([Link]) 957


Blender Index, Release 2.57.0 r36138 - API

‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,


‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,
‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,
‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
• expand (boolean, (optional)) – Expand button to show more detail.
• slider (boolean, (optional)) – Use slider widget for numeric values.
• toggle (boolean, (optional)) – Use toggle widget for boolean values.
• icon_only (boolean, (optional)) – Draw only icons in buttons, no text.
• event (boolean, (optional)) – Use button to input key events.
• full_event (boolean, (optional)) – Use button to input full events including modifiers.
• emboss (boolean, (optional)) – Draw the button itself, just the icon/text.
• index (int in [-2, inf], (optional)) – The index of this button, when set a single member of
an array can be accessed, when set to -1 all array members are used.
props_enum(data, property)
props_enum
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
prop_menu_enum(data, property, text=”“, icon=’NONE’)
prop_menu_enum
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,

958 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-


TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-
LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-
LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,
‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,

2.4. Types ([Link]) 959


Blender Index, Release 2.57.0 r36138 - API

‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,


‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,
‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,
‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,
‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
prop_enum(data, property, value, text=”“, icon=’NONE’)
prop_enum
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• value (string) – Enum property value.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-

960 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,


‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-
LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-
LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,
‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,

2.4. Types ([Link]) 961


Blender Index, Release 2.57.0 r36138 - API

‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,


‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,
‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,
‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,
‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
prop_search(data, property, search_data, search_property, text=”“, icon=’NONE’)
prop_search
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• search_data (AnyType, (never None)) – Data from which to take collection to search in.
• search_property (string) – Identifier of search collection property.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-

962 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,


‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-
LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-
LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,
‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,

2.4. Types ([Link]) 963


Blender Index, Release 2.57.0 r36138 - API

‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,


‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,
‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,
‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,
‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
operator(operator, text=”“, icon=’NONE’, emboss=True)
Item. Places a button into the layout to call an Operator.
Parameters
• operator (string) – Identifier of the operator.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,

964 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-


CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-
LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-
LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,
‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,

2.4. Types ([Link]) 965


Blender Index, Release 2.57.0 r36138 - API

‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,


‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,
‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,
‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,
‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
• emboss (boolean, (optional)) – Draw the button itself, just the icon/text.
Returns Operator properties to fill in, return when ‘properties’ is set to true.
Return type OperatorProperties
operator_enum(operator, property)
operator_enum

966 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• operator (string) – Identifier of the operator.
• property (string) – Identifier of property in operator.
operator_menu_enum(operator, property, text=”“, icon=’NONE’)
operator_menu_enum
Parameters
• operator (string) – Identifier of the operator.
• property (string) – Identifier of property in operator.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-
LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-

2.4. Types ([Link]) 967


Blender Index, Release 2.57.0 r36138 - API

LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,


‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,
‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,

968 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,


‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
label(text=”“, icon=’NONE’)
Item. Display text in the layout.
Parameters
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-
LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,
‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-

2.4. Types ([Link]) 969


Blender Index, Release 2.57.0 r36138 - API

LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,


‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,
‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,
‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,

970 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,


‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
menu(menu, text=”“, icon=’NONE’)
menu
Parameters
• menu (string) – Identifier of the menu.
• text (string, (optional)) – Override automatic text of the item.
• icon (enum in [’NONE’, ‘QUESTION’, ‘ERROR’, ‘CANCEL’, ‘TRIA_RIGHT’,
‘TRIA_DOWN’, ‘TRIA_LEFT’, ‘TRIA_UP’, ‘ARROW_LEFTRIGHT’, ‘PLUS’, ‘DIS-
CLOSURE_TRI_DOWN’, ‘DISCLOSURE_TRI_RIGHT’, ‘RADIOBUT_OFF’, ‘RA-
DIOBUT_ON’, ‘MENU_PANEL’, ‘BLENDER’, ‘DOT’, ‘X’, ‘GO_LEFT’, ‘PLUG’,
‘UI’, ‘NODE’, ‘NODE_SEL’, ‘FULLSCREEN’, ‘SPLITSCREEN’, ‘RIGHTAR-
ROW_THIN’, ‘BORDERMOVE’, ‘VIEWZOOM’, ‘ZOOMIN’, ‘ZOOMOUT’,
‘PANEL_CLOSE’, ‘COPY_ID’, ‘EYEDROPPER’, ‘LINK_AREA’, ‘AUTO’, ‘CHECK-
BOX_DEHLT’, ‘CHECKBOX_HLT’, ‘UNLOCKED’, ‘LOCKED’, ‘UNPINNED’,
‘PINNED’, ‘SCREEN_BACK’, ‘RIGHTARROW’, ‘DOWNARROW_HLT’, ‘DOT-
SUP’, ‘DOTSDOWN’, ‘LINK’, ‘INLINK’, ‘PLUGIN’, ‘HELP’, ‘GHOST_ENABLED’,
‘COLOR’, ‘LINKED’, ‘UNLINKED’, ‘HAND’, ‘ZOOM_ALL’, ‘ZOOM_SELECTED’,
‘ZOOM_PREVIOUS’, ‘ZOOM_IN’, ‘ZOOM_OUT’, ‘RENDER_REGION’,
‘BORDER_RECT’, ‘BORDER_LASSO’, ‘FREEZE’, ‘STYLUS_PRESSURE’,
‘GHOST_DISABLED’, ‘NEW’, ‘FILE_TICK’, ‘QUIT’, ‘URL’, ‘RECOVER_LAST’,
‘FULLSCREEN_ENTER’, ‘FULLSCREEN_EXIT’, ‘BLANK1’, ‘LAMP’, ‘MA-
TERIAL’, ‘TEXTURE’, ‘ANIM’, ‘WORLD’, ‘SCENE’, ‘EDIT’, ‘GAME’, ‘RA-
DIO’, ‘SCRIPT’, ‘PARTICLES’, ‘PHYSICS’, ‘SPEAKER’, ‘TEXTURE_SHADED’,
‘VIEW3D’, ‘IPO’, ‘OOPS’, ‘BUTS’, ‘FILESEL’, ‘IMAGE_COL’, ‘INFO’, ‘SE-
QUENCE’, ‘TEXT’, ‘IMASEL’, ‘SOUND’, ‘ACTION’, ‘NLA’, ‘SCRIPTWIN’, ‘TIME’,
‘NODETREE’, ‘LOGIC’, ‘CONSOLE’, ‘PREFERENCES’, ‘ASSET_MANAGER’,
‘OBJECT_DATAMODE’, ‘EDITMODE_HLT’, ‘FACESEL_HLT’, ‘VPAINT_HLT’,
‘TPAINT_HLT’, ‘WPAINT_HLT’, ‘SCULPTMODE_HLT’, ‘POSE_HLT’, ‘PARTI-
CLEMODE’, ‘LIGHTPAINT’, ‘SCENE_DATA’, ‘RENDERLAYERS’, ‘WORLD_DATA’,
‘OBJECT_DATA’, ‘MESH_DATA’, ‘CURVE_DATA’, ‘META_DATA’, ‘LATTICE_DATA’,
‘LAMP_DATA’, ‘MATERIAL_DATA’, ‘TEXTURE_DATA’, ‘ANIM_DATA’, ‘CAM-
ERA_DATA’, ‘PARTICLE_DATA’, ‘LIBRARY_DATA_DIRECT’, ‘GROUP’, ‘ARMA-
TURE_DATA’, ‘POSE_DATA’, ‘BONE_DATA’, ‘CONSTRAINT’, ‘SHAPEKEY_DATA’,
‘CONSTRAINT_BONE’, ‘PACKAGE’, ‘UGLYPACKAGE’, ‘BRUSH_DATA’, ‘IM-
AGE_DATA’, ‘FILE’, ‘FCURVE’, ‘FONT_DATA’, ‘RENDER_RESULT’, ‘SUR-
FACE_DATA’, ‘EMPTY_DATA’, ‘SETTINGS’, ‘RENDER_ANIMATION’, ‘REN-
DER_STILL’, ‘BOIDS’, ‘STRANDS’, ‘LIBRARY_DATA_INDIRECT’, ‘GREASEPEN-
CIL’, ‘GROUP_BONE’, ‘GROUP_VERTEX’, ‘GROUP_VCOL’, ‘GROUP_UVS’,
‘RNA’, ‘RNA_ADD’, ‘OUTLINER_OB_EMPTY’, ‘OUTLINER_OB_MESH’, ‘OUT-
LINER_OB_CURVE’, ‘OUTLINER_OB_LATTICE’, ‘OUTLINER_OB_META’, ‘OUT-
LINER_OB_LAMP’, ‘OUTLINER_OB_CAMERA’, ‘OUTLINER_OB_ARMATURE’,
‘OUTLINER_OB_FONT’, ‘OUTLINER_OB_SURFACE’, ‘RESTRICT_VIEW_OFF’,
‘RESTRICT_VIEW_ON’, ‘RESTRICT_SELECT_OFF’, ‘RESTRICT_SELECT_ON’, ‘RE-
STRICT_RENDER_OFF’, ‘RESTRICT_RENDER_ON’, ‘OUTLINER_DATA_EMPTY’,
‘OUTLINER_DATA_MESH’, ‘OUTLINER_DATA_CURVE’, ‘OUT-

2.4. Types ([Link]) 971


Blender Index, Release 2.57.0 r36138 - API

LINER_DATA_LATTICE’, ‘OUTLINER_DATA_META’, ‘OUTLINER_DATA_LAMP’,


‘OUTLINER_DATA_CAMERA’, ‘OUTLINER_DATA_ARMATURE’, ‘OUT-
LINER_DATA_FONT’, ‘OUTLINER_DATA_SURFACE’, ‘OUTLINER_DATA_POSE’,
‘MESH_PLANE’, ‘MESH_CUBE’, ‘MESH_CIRCLE’, ‘MESH_UVSPHERE’,
‘MESH_ICOSPHERE’, ‘MESH_GRID’, ‘MESH_MONKEY’, ‘MESH_CYLINDER’,
‘MESH_TORUS’, ‘MESH_CONE’, ‘LAMP_POINT’, ‘LAMP_SUN’, ‘LAMP_SPOT’,
‘LAMP_HEMI’, ‘LAMP_AREA’, ‘META_PLANE’, ‘META_CUBE’, ‘META_BALL’,
‘META_ELLIPSOID’, ‘META_CAPSULE’, ‘SURFACE_NCURVE’, ‘SUR-
FACE_NCIRCLE’, ‘SURFACE_NSURFACE’, ‘SURFACE_NCYLINDER’,
‘SURFACE_NSPHERE’, ‘SURFACE_NTORUS’, ‘CURVE_BEZCURVE’,
‘CURVE_BEZCIRCLE’, ‘CURVE_NCURVE’, ‘CURVE_NCIRCLE’, ‘CURVE_PATH’,
‘FORCE_FORCE’, ‘FORCE_WIND’, ‘FORCE_VORTEX’, ‘FORCE_MAGNETIC’,
‘FORCE_HARMONIC’, ‘FORCE_CHARGE’, ‘FORCE_LENNARDJONES’,
‘FORCE_TEXTURE’, ‘FORCE_CURVE’, ‘FORCE_BOID’, ‘FORCE_TURBULENCE’,
‘FORCE_DRAG’, ‘MODIFIER’, ‘MOD_WAVE’, ‘MOD_BUILD’, ‘MOD_DECIM’,
‘MOD_MIRROR’, ‘MOD_SOFT’, ‘MOD_SUBSURF’, ‘HOOK’, ‘MOD_PHYSICS’,
‘MOD_PARTICLES’, ‘MOD_BOOLEAN’, ‘MOD_EDGESPLIT’, ‘MOD_ARRAY’,
‘MOD_UVPROJECT’, ‘MOD_DISPLACE’, ‘MOD_CURVE’, ‘MOD_LATTICE’,
‘CONSTRAINT_DATA’, ‘MOD_ARMATURE’, ‘MOD_SHRINKWRAP’,
‘MOD_CAST’, ‘MOD_MESHDEFORM’, ‘MOD_BEVEL’, ‘MOD_SMOOTH’,
‘MOD_SIMPLEDEFORM’, ‘MOD_MASK’, ‘MOD_CLOTH’, ‘MOD_EXPLODE’,
‘MOD_FLUIDSIM’, ‘MOD_MULTIRES’, ‘MOD_SMOKE’, ‘MOD_SOLIDIFY’,
‘MOD_SCREW’, ‘REC’, ‘PLAY’, ‘FF’, ‘REW’, ‘PAUSE’, ‘PREV_KEYFRAME’,
‘NEXT_KEYFRAME’, ‘PLAY_AUDIO’, ‘PLAY_REVERSE’, ‘PREVIEW_RANGE’,
‘PMARKER_ACT’, ‘PMARKER_SEL’, ‘PMARKER’, ‘MARKER_HLT’, ‘MARKER’,
‘SPACE2’, ‘SPACE3’, ‘KEY_DEHLT’, ‘KEY_HLT’, ‘MUTE_IPO_OFF’,
‘MUTE_IPO_ON’, ‘VERTEXSEL’, ‘EDGESEL’, ‘FACESEL’, ‘ROTATE’, ‘CUR-
SOR’, ‘ROTATECOLLECTION’, ‘ROTATECENTER’, ‘ROTACTIVE’, ‘ALIGN’,
‘SMOOTHCURVE’, ‘SPHERECURVE’, ‘ROOTCURVE’, ‘SHARPCURVE’,
‘LINCURVE’, ‘NOCURVE’, ‘RNDCURVE’, ‘PROP_OFF’, ‘PROP_ON’,
‘PROP_CON’, ‘PARTICLE_POINT’, ‘PARTICLE_TIP’, ‘PARTICLE_PATH’,
‘MAN_TRANS’, ‘MAN_ROT’, ‘MAN_SCALE’, ‘MANIPUL’, ‘SNAP_OFF’, ‘SNAP_ON’,
‘SNAP_NORMAL’, ‘SNAP_INCREMENT’, ‘SNAP_VERTEX’, ‘SNAP_EDGE’,
‘SNAP_FACE’, ‘SNAP_VOLUME’, ‘STICKY_UVS_LOC’, ‘STICKY_UVS_DISABLE’,
‘STICKY_UVS_VERT’, ‘CLIPUV_DEHLT’, ‘CLIPUV_HLT’, ‘SNAP_PEEL_OBJECT’,
‘GRID’, ‘PASTEDOWN’, ‘COPYDOWN’, ‘PASTEFLIPUP’, ‘PASTEFLIP-
DOWN’, ‘SNAP_SURFACE’, ‘RETOPO’, ‘UV_VERTEXSEL’, ‘UV_EDGESEL’,
‘UV_FACESEL’, ‘UV_ISLANDSEL’, ‘UV_SYNC_SELECT’, ‘BBOX’, ‘WIRE’,
‘SOLID’, ‘SMOOTH’, ‘POTATO’, ‘ORTHO’, ‘LOCKVIEW_OFF’, ‘LOCKVIEW_ON’,
‘AXIS_SIDE’, ‘AXIS_FRONT’, ‘AXIS_TOP’, ‘NDOF_DOM’, ‘NDOF_TURN’,
‘NDOF_FLY’, ‘NDOF_TRANS’, ‘LAYER_USED’, ‘LAYER_ACTIVE’, ‘SORTAL-
PHA’, ‘SORTBYEXT’, ‘SORTTIME’, ‘SORTSIZE’, ‘LONGDISPLAY’, ‘SHORT-
DISPLAY’, ‘GHOST’, ‘IMGDISPLAY’, ‘BOOKMARKS’, ‘FONTPREVIEW’, ‘FIL-
TER’, ‘NEWFOLDER’, ‘FILE_PARENT’, ‘FILE_REFRESH’, ‘FILE_FOLDER’,
‘FILE_BLANK’, ‘FILE_BLEND’, ‘FILE_IMAGE’, ‘FILE_MOVIE’, ‘FILE_SCRIPT’,
‘FILE_SOUND’, ‘FILE_FONT’, ‘BACK’, ‘FORWARD’, ‘DISK_DRIVE’, ‘MAT-
PLANE’, ‘MATSPHERE’, ‘MATCUBE’, ‘MONKEY’, ‘HAIR’, ‘ALIASED’,
‘ANTIALIASED’, ‘MAT_SPHERE_SKY’, ‘WORDWRAP_OFF’, ‘WORD-
WRAP_ON’, ‘SYNTAX_OFF’, ‘SYNTAX_ON’, ‘LINENUMBERS_OFF’, ‘LINENUM-
BERS_ON’, ‘SCRIPTPLUGINS’, ‘SEQ_SEQUENCER’, ‘SEQ_PREVIEW’,
‘SEQ_LUMA_WAVEFORM’, ‘SEQ_CHROMA_SCOPE’, ‘SEQ_HISTOGRAM’,
‘SEQ_SPLITVIEW’, ‘IMAGE_RGB’, ‘IMAGE_RGB_ALPHA’, ‘IMAGE_ALPHA’, ‘IM-
AGE_ZDEPTH’, ‘IMAGEFILE’, ‘BRUSH_ADD’, ‘BRUSH_BLOB’, ‘BRUSH_BLUR’,
‘BRUSH_CLAY’, ‘BRUSH_CLONE’, ‘BRUSH_CREASE’, ‘BRUSH_DARKEN’,

972 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

‘BRUSH_FILL’, ‘BRUSH_FLATTEN’, ‘BRUSH_GRAB’, ‘BRUSH_INFLATE’,


‘BRUSH_LAYER’, ‘BRUSH_LIGHTEN’, ‘BRUSH_MIX’, ‘BRUSH_MULTIPLY’,
‘BRUSH_NUDGE’, ‘BRUSH_PINCH’, ‘BRUSH_SCRAPE’, ‘BRUSH_SCULPT_DRAW’,
‘BRUSH_SMEAR’, ‘BRUSH_SMOOTH’, ‘BRUSH_SNAKE_HOOK’,
‘BRUSH_SOFTEN’, ‘BRUSH_SUBTRACT’, ‘BRUSH_TEXDRAW’, ‘BRUSH_THUMB’,
‘BRUSH_ROTATE’, ‘BRUSH_VERTEXDRAW’, ‘VIEW3D_VEC’, ‘EDIT_VEC’, ‘ED-
ITMODE_DEHLT’, ‘EDITMODE_HLT’, ‘DISCLOSURE_TRI_RIGHT_VEC’, ‘DIS-
CLOSURE_TRI_DOWN_VEC’, ‘MOVE_UP_VEC’, ‘MOVE_DOWN_VEC’, ‘X_VEC’,
‘SMALL_TRI_RIGHT_VEC’], (optional)) – Icon, Override automatic icon of the item
separator()
Item. Inserts empty space into the layout between items.
context_pointer_set(name, data)
context_pointer_set
Parameters
• name (string) – Name, Name of entry in the context.
• data (AnyType) – Pointer to put in context.
template_header(menus=True)
template_header
Parameters menus (boolean, (optional)) – The header has menus, and should show menu ex-
pander.
template_ID(data, property, new=”“, open=”“, unlink=”“)
template_ID
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• new (string, (optional)) – Operator identifier to create a new ID block.
• open (string, (optional)) – Operator identifier to open a file for creating a new ID block.
• unlink (string, (optional)) – Operator identifier to unlink the ID block.
template_ID_preview(data, property, new=”“, open=”“, unlink=”“, rows=0, cols=0)
template_ID_preview
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• new (string, (optional)) – Operator identifier to create a new ID block.
• open (string, (optional)) – Operator identifier to open a file for creating a new ID block.
• unlink (string, (optional)) – Operator identifier to unlink the ID block.
• rows (int in [0, inf], (optional)) – Number of thumbnail preview rows to display
• cols (int in [0, inf], (optional)) – Number of thumbnail preview columns to display
template_any_ID(data, property, type_property, text=”“)
template_any_ID
Parameters

2.4. Types ([Link]) 973


Blender Index, Release 2.57.0 r36138 - API

• data (AnyType, (never None)) – Data from which to take property.


• property (string) – Identifier of property in data.
• type_property (string) – Identifier of property in data giving the type of the ID-blocks to
use.
• text (string, (optional)) – Custom label to display in UI.
template_path_builder(data, property, root, text=”“)
template_path_builder
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• root (ID) – ID-block from which path is evaluated from.
• text (string, (optional)) – Custom label to display in UI.
template_modifier(data)
Layout . Generates the UI layout for modifiers.
Parameters data (Modifier, (never None)) – Modifier data.
Returns Sub-layout to put items in.
Return type UILayout
template_constraint(data)
Layout . Generates the UI layout for constraints.
Parameters data (Constraint, (never None)) – Constraint data.
Returns Sub-layout to put items in.
Return type UILayout
template_preview(id, show_buttons=True, parent=None, slot=None)
Item. A preview window for materials, textures, lamps, etc.
Parameters
• id (ID) – ID datablock.
• show_buttons (boolean, (optional)) – Show preview buttons?
• parent (ID, (optional)) – ID datablock.
• slot (TextureSlot, (optional)) – Texture slot.
template_curve_mapping(data, property, type=’NONE’, levels=False, brush=False)
Item. A curve mapping widget used for e.g falloff curves for lamps.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• type (enum in [’NONE’, ‘VECTOR’, ‘COLOR’], (optional)) – Type, Type of curves to
display.
• levels (boolean, (optional)) – Show black/white levels.
• brush (boolean, (optional)) – Show brush options.

974 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

template_color_ramp(data, property, expand=False)


Item. A color ramp widget.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• expand (boolean, (optional)) – Expand button to show more detail.
template_histogram(data, property)
Item. A histogramm widget to analyze imaga data.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
template_waveform(data, property)
Item. A waveform widget to analyze imaga data.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
template_vectorscope(data, property)
Item. A vectorscope widget to analyze imaga data.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
template_layers(data, property, used_layers_data, used_layers_property, active_layer)
template_layers
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• used_layers_data (AnyType) – Data from which to take property.
• used_layers_property (string) – Identifier of property in data.
• active_layer (int in [0, inf]) – Active Layer
template_color_wheel(data, property, value_slider=False, lock=False, lock_luminosity=False,
cubic=True)
Item. A color wheel widget to pick colors.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• value_slider (boolean, (optional)) – Display the value slider to the right of the color wheel
• lock (boolean, (optional)) – Lock the color wheel display to value 1.0 regardless of actual
color
• lock_luminosity (boolean, (optional)) – Keep the color at its original vector length

2.4. Types ([Link]) 975


Blender Index, Release 2.57.0 r36138 - API

• cubic (boolean, (optional)) – Cubic saturation for picking values close to white
template_image_layers(image, image_user)
template_image_layers

template_image(data, property, image_user, compact=False)


Item(s). User interface for selecting images and their source paths.
Parameters
• data (AnyType, (never None)) – Data from which to take property.
• property (string) – Identifier of property in data.
• compact (boolean, (optional)) – Use more compact layout.
template_list(data, property, active_data, active_property, rows=5, maxrows=5,
type=’DEFAULT’)
Item. A list widget to display data. e.g. vertexgroups.
Parameters
• data (AnyType) – Data from which to take property.
• property (string) – Identifier of property in data.
• active_data (AnyType, (never None)) – Data from which to take property for the active
element.
• active_property (string) – Identifier of property in data, for the active element.
• rows (int in [0, inf], (optional)) – Number of rows to display.
• maxrows (int in [0, inf], (optional)) – Maximum number of rows to display.
• type (enum in [’DEFAULT’, ‘COMPACT’, ‘ICONS’], (optional)) – Type, Type of list to
use.
template_running_jobs()
template_running_jobs
template_operator_search()
template_operator_search
template_header_3D()
template_header_3D
template_reports_banner()
template_reports_banner
introspect()
introspect
Returns Descr, DESCR
Return type string

Inherited Properties

• bpy_struct.id_data

976 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• [Link]
• UILayout.column_flow
• [Link]
• [Link]
• UILayout.template_constraint
• UILayout.template_modifier

2.4.589 UVProjectModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
UV projection modifier to sets UVs from a projector
aspect_x
Type float in [1, inf], default 0.0
aspect_y
Type float in [1, inf], default 0.0
image
Type Image
projector_count
Number of projectors to use
Type int in [1, 10], default 0

2.4. Types ([Link]) 977


Blender Index, Release 2.57.0 r36138 - API

projectors
Type bpy_prop_collection of UVProjector, (readonly)
scale_x
Type float in [0, inf], default 0.0
scale_y
Type float in [0, inf], default 0.0
use_image_override
Override faces’ current images with the given image
Type boolean, default False
uv_layer
UV layer name
Type string, default “”

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage
• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.590 UVProjector(bpy_struct)

base class — bpy_struct

978 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
UV projector used by the UV project modifier
object
Object to use as projector transform
Type Object

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.591 UVTextures(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of uv textures
active
Active UV texture
Type MeshTextureFaceLayer
active_index
Active UV texture index
Type int in [0, inf], default 0
new(name=”UVTex”)
Add a UV texture layer to Mesh.

2.4. Types ([Link]) 979


Blender Index, Release 2.57.0 r36138 - API

Parameters name (string, (optional)) – UV Texture name.


Returns The newly created layer.
Return type MeshTextureFaceLayer

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.uv_textures

2.4.592 UnitSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)

scale_length
Scale to use when converting between blender units and dimensions
Type float in [1e-05, 100000], default 0.0
system
The unit system to use for button display
Type enum in [’NONE’, ‘METRIC’, ‘IMPERIAL’], default ‘NONE’
system_rotation
Unit to use for displaying/editing rotation values
Type enum in [’DEGREES’, ‘RADIANS’], default ‘DEGREES’

980 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_separate
Display units in pairs
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Scene.unit_settings

2.4.593 UnknownType(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Stub RNA type used for pointers to unknown or internal data

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

2.4. Types ([Link]) 981


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• SpaceSequenceEditor.grease_pencil

2.4.594 UserPreferences(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Global user preferences
active_section
Active section of the user preferences shown in the user interface
Type enum in [’INTERFACE’, ‘EDITING’, ‘INPUT’, ‘ADDONS’, ‘THEMES’, ‘FILES’,
‘SYSTEM’], default ‘INTERFACE’
addons
Type Addons bpy_prop_collection of Addon, (readonly)
edit
Settings for interacting with Blender data
Type UserPreferencesEdit, (readonly, never None)
filepaths
Default paths for external files
Type UserPreferencesFilePaths, (readonly, never None)
inputs
Settings for input devices
Type UserPreferencesInput, (readonly, never None)
system
Graphics driver and operating system settings
Type UserPreferencesSystem, (readonly, never None)
themes
Type bpy_prop_collection of Theme, (readonly)
ui_styles
Type bpy_prop_collection of ThemeStyle, (readonly)

982 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

view
Preferences related to viewing data
Type UserPreferencesView, (readonly, never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Context.user_preferences

2.4.595 UserPreferencesEdit(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings for interacting with Blender data
auto_keying_mode
Mode of automatic keyframe insertion for Objects and Bones
Type enum in [’ADD_REPLACE_KEYS’, ‘REPLACE_KEYS’], default
‘ADD_REPLACE_KEYS’
grease_pencil_eraser_radius
Radius of eraser ‘brush’
Type int in [0, 100], default 0
grease_pencil_euclidean_distance
Distance moved by mouse when drawing stroke (in pixels) to include
Type int in [0, 100], default 0

2.4. Types ([Link]) 983


Blender Index, Release 2.57.0 r36138 - API

grease_pencil_manhattan_distance
Pixels moved by mouse per axis when drawing stroke
Type int in [0, 100], default 0
keyframe_new_handle_type
Type enum in [’FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
keyframe_new_interpolation_type
Type enum in [’CONSTANT’, ‘LINEAR’, ‘BEZIER’], default ‘CONSTANT’
material_link
Toggle whether the material is linked to object data or the object block
Type enum in [’OBDATA’, ‘OBJECT’], default ‘OBDATA’
object_align
When adding objects from a 3D View menu, either align them to that view’s direction or the world coor-
dinates
Type enum in [’WORLD’, ‘VIEW’], default ‘WORLD’
sculpt_paint_overlay_color
Color of texture overlay
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
undo_memory_limit
Maximum memory usage in megabytes (0 means unlimited)
Type int in [0, 32767], default 0
undo_steps
Number of undo steps available (smaller values conserve memory)
Type int in [0, 64], default 0
use_auto_keying
Automatic keyframe insertion for Objects and Bones
Type boolean, default False
use_drag_immediately
Moving things with a mouse drag confirms when releasing the button
Type boolean, default False
use_duplicate_action
Causes actions to be duplicated with the object
Type boolean, default False
use_duplicate_armature
Causes armature data to be duplicated with the object
Type boolean, default False
use_duplicate_curve
Causes curve data to be duplicated with the object
Type boolean, default False
use_duplicate_fcurve
Causes F-curve data to be duplicated with the object

984 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean, default False


use_duplicate_lamp
Causes lamp data to be duplicated with the object
Type boolean, default False
use_duplicate_material
Causes material data to be duplicated with the object
Type boolean, default False
use_duplicate_mesh
Causes mesh data to be duplicated with the object
Type boolean, default False
use_duplicate_metaball
Causes metaball data to be duplicated with the object
Type boolean, default False
use_duplicate_particle
Causes particle systems to be duplicated with the object
Type boolean, default False
use_duplicate_surface
Causes surface data to be duplicated with the object
Type boolean, default False
use_duplicate_text
Causes text data to be duplicated with the object
Type boolean, default False
use_duplicate_texture
Causes texture data to be duplicated with the object
Type boolean, default False
use_enter_edit_mode
Enter Edit Mode automatically after adding a new object
Type boolean, default False
use_global_undo
Global undo works by keeping a full copy of the file itself in memory, so takes extra memory
Type boolean, default False
use_grease_pencil_simplify_stroke
Simplify the final stroke
Type boolean, default False
use_grease_pencil_smooth_stroke
Smooth the final stroke
Type boolean, default False
use_insertkey_xyz_to_rgb
Color for newly added transformation F-Curves (Location, Rotation, Scale) and also Color is based on the
transform axis
Type boolean, default False

2.4. Types ([Link]) 985


Blender Index, Release 2.57.0 r36138 - API

use_keyframe_insert_available
Automatic keyframe insertion in available curves
Type boolean, default False
use_keyframe_insert_needed
Keyframe insertion only when keyframe needed
Type boolean, default False
use_negative_frames
Current frame number can be manually set to a negative value
Type boolean, default False
use_visual_keying
Use Visual keying automatically for constrained objects
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.596 UserPreferencesFilePaths(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Default paths for external files

986 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

animation_player
Path to a custom animation/frame sequence player
Type string, default “”
animation_player_preset
Preset configs for external animation players
Type enum in [’BLENDER24’, ‘DJV’, ‘FRAMECYCLER’, ‘RV’, ‘MPLAYER’, ‘CUSTOM’],
default ‘BLENDER24’
auto_save_time
The time (in minutes) to wait between automatic temporary saves
Type int in [1, 60], default 0
font_directory
The default directory to search for loading fonts
Type string, default “”
hide_recent_locations
Hide recent locations in the file selector
Type boolean, default False
image_editor
Path to an image editor
Type string, default “”
recent_files
Maximum number of recently opened files to remember
Type int in [0, 30], default 0
render_output_directory
The default directory for rendering output, for new scenes
Type string, default “”
save_version
The number of old versions to maintain in the current directory, when manually saving
Type int in [0, 32], default 0
script_directory
Alternate script path, matching the default layout with subdirs: startup, addons & modules (requires restart)
Type string, default “”
sequence_plugin_directory
The default directory to search for sequence plugins
Type string, default “”
show_hidden_files_datablocks
Hide files/datablocks that start with a dot(.*)
Type boolean, default False
show_thumbnails
Open in thumbnail view for images and movies
Type boolean, default False

2.4. Types ([Link]) 987


Blender Index, Release 2.57.0 r36138 - API

sound_directory
The default directory to search for sounds
Type string, default “”
temporary_directory
The directory for storing temporary save files
Type string, default “”
texture_directory
The default directory to search for textures
Type string, default “”
texture_plugin_directory
The default directory to search for texture plugins
Type string, default “”
use_auto_save_temporary_files
Automatic saving of temporary files in temp directory, uses process ID
Type boolean, default False
use_file_compression
Enable file compression when saving .blend files
Type boolean, default False
use_filter_files
Display only files with extensions in the image select window
Type boolean, default False
use_load_ui
Load user interface setup when loading .blend files
Type boolean, default False
use_relative_paths
Default relative path option for the file selector
Type boolean, default False
use_save_preview_images
Enables automatic saving of preview images in the .blend file
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get

988 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.597 UserPreferencesInput(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Settings for input devices
active_keyconfig
The name of the active key configuration
Type string, default “”
drag_threshold
Amount of pixels you have to drag before dragging UI items happens
Type int in [3, 40], default 0
edited_keymaps
Type bpy_prop_collection of KeyMap, (readonly)
invert_mouse_wheel_zoom
Invert the axis of mouse movement for zooming
Type boolean, default False
invert_zoom_wheel
Swap the Mouse Wheel zoom direction
Type boolean, default False
mouse_double_click_time
The time (in ms) for a double click
Type int in [1, 1000], default 0
ndof_pan_speed
The overall panning speed of an NDOF device, as percent of standard
Type int in [0, 200], default 0
ndof_rotate_speed
The overall rotation speed of an NDOF device, as percent of standard
Type int in [0, 200], default 0

2.4. Types ([Link]) 989


Blender Index, Release 2.57.0 r36138 - API

select_mouse
The mouse button used for selection
Type enum in [’LEFT’, ‘RIGHT’], default ‘RIGHT’
use_emulate_numpad
Causes the 1 to 0 keys to act as the numpad (useful for laptops)
Type boolean, default False
use_mouse_continuous
Allow moving the mouse outside the view on some manipulations (transform, ui control drag)
Type boolean, default False
use_mouse_emulate_3_button
Emulates Middle Mouse with Alt+Left Mouse (doesn’t work with Left Mouse Select option)
Type boolean, default False
use_mouse_mmb_paste
In text window, paste with middle mouse button instead of panning
Type boolean, default False
view_rotate_method
Rotation style in the viewport
Type enum in [’TURNTABLE’, ‘TRACKBALL’], default ‘TURNTABLE’
view_zoom_axis
Axis of mouse movement to zoom in or out on
Type enum in [’VERTICAL’, ‘HORIZONTAL’], default ‘VERTICAL’
view_zoom_method
Which style to use for viewport scaling
Type enum in [’CONTINUE’, ‘DOLLY’, ‘SCALE’], default ‘CONTINUE’
wheel_scroll_lines
The number of lines scrolled at a time with the mouse wheel
Type int in [0, 32], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete

990 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.598 UserPreferencesSystem(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Graphics driver and operating system settings
audio_channels
Sets the audio channel count
Type enum in [’MONO’, ‘STEREO’, ‘SURROUND4’, ‘SURROUND51’, ‘SURROUND71’],
default ‘MONO’
audio_device
Sets the audio output device
Type enum in [’NONE’], default ‘NONE’
audio_mixing_buffer
Sets the number of samples used by the audio mixing buffer
Type enum in [’SAMPLES_256’, ‘SAMPLES_512’, ‘SAMPLES_1024’, ‘SAMPLES_2048’,
‘SAMPLES_4096’, ‘SAMPLES_8192’, ‘SAMPLES_16384’, ‘SAMPLES_32768’], default
‘SAMPLES_256’
audio_sample_format
Sets the audio sample format
Type enum in [’U8’, ‘S16’, ‘S24’, ‘S32’, ‘FLOAT’, ‘DOUBLE’], default ‘U8’
audio_sample_rate
Sets the audio sample rate
Type enum in [’RATE_44100’, ‘RATE_48000’, ‘RATE_96000’, ‘RATE_192000’], default
‘RATE_44100’
author
Name that will be used in exported files when format supports such feature
Type string, default “”
color_picker_type
Different styles of displaying the color picker widget
Type enum in [’CIRCLE’, ‘SQUARE_SV’, ‘SQUARE_HS’, ‘SQUARE_HV’], default ‘CIR-
CLE’
dpi
Font size and resolution for display

2.4. Types ([Link]) 991


Blender Index, Release 2.57.0 r36138 - API

Type int in [48, 128], default 0


frame_server_port
Frameserver Port for Frameserver Rendering
Type int in [0, 32727], default 0
gl_clip_alpha
Clip alpha below this threshold in the 3D textured view
Type float in [0, 1], default 0.0
gl_texture_limit
Limit the texture size to save graphics memory
Type enum in [’CLAMP_OFF’, ‘CLAMP_8192’, ‘CLAMP_4096’, ‘CLAMP_2048’,
‘CLAMP_1024’, ‘CLAMP_512’, ‘CLAMP_256’, ‘CLAMP_128’], default ‘CLAMP_OFF’
language
Language use for translation
Type enum in [’ENGLISH’, ‘JAPANESE’, ‘DUTCH’, ‘ITALIAN’, ‘GERMAN’,
‘FINNISH’, ‘SWEDISH’, ‘FRENCH’, ‘SPANISH’, ‘CATALAN’, ‘CZECH’, ‘BRAZIL-
IAN_PORTUGUESE’, ‘SIMPLIFIED_CHINESE’, ‘RUSSIAN’, ‘CROATIAN’, ‘SER-
BIAN’, ‘UKRAINIAN’, ‘POLISH’, ‘ROMANIAN’, ‘ARABIC’, ‘BULGARIAN’,
‘GREEK’, ‘KOREAN’], default ‘ENGLISH’
memory_cache_limit
Memory cache limit in sequencer (megabytes)
Type int in [0, 16384], default 0
prefetch_frames
Number of frames to render ahead during playback
Type int in [0, 500], default 0
screencast_fps
Frame rate for the screencast to be played back
Type int in [10, 50], default 0
screencast_wait_time
Time in milliseconds between each frame recorded for screencast
Type int in [50, 1000], default 0
scrollback
Maximum number of lines to store for the console buffer
Type int in [32, 32768], default 0
solid_lights
Lights user to display objects in solid draw mode
Type bpy_prop_collection of UserSolidLight, (readonly)
texture_collection_rate
Number of seconds between each run of the GL texture garbage collector
Type int in [1, 3600], default 0
texture_time_out
Time since last access of a GL texture in seconds after which it is freed. (Set to 0 to keep textures allocated.)
Type int in [0, 3600], default 0

992 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_antialiasing
Use anti-aliasing for the 3D view (may impact redraw performance)
Type boolean, default False
use_international_fonts
Use international fonts
Type boolean, default False
use_mipmaps
Scale textures for the 3D View (looks nicer but uses more memory and slows image reloading)
Type boolean, default False
use_preview_images
Enables automatic saving of preview images in the .blend file (Windows only)
Type boolean, default False
use_scripts_auto_execute
Allow any .blend file to run scripts automatically (unsafe with blend files from an untrusted source)
Type boolean, default False
use_tabs_as_spaces
Automatically converts all new tabs into spaces for new and loaded text files
Type boolean, default False
use_text_antialiasing
Draw user interface text anti-aliased
Type boolean, default False
use_textured_fonts
Use textures for drawing international fonts
Type boolean, default False
use_translate_buttons
Translate button labels
Type boolean, default False
use_translate_toolbox
Translate toolbox menu
Type boolean, default False
use_translate_tooltips
Translate Tooltips
Type boolean, default False
use_vertex_buffer_objects
Use Vertex Buffer Objects (or Vertex Arrays, if unsupported) for viewport rendering
Type boolean, default False
use_weight_color_range
Enable color range used for weight visualization in weight painting mode
Type boolean, default False
weight_color_range
Color range used for weight visualization in weight painting mode

2.4. Types ([Link]) 993


Blender Index, Release 2.57.0 r36138 - API

Type ColorRamp, (readonly, never None)


window_draw_method
Drawing method used by the window manager
Type enum in [’AUTOMATIC’, ‘TRIPLE_BUFFER’, ‘OVERLAP’, ‘OVERLAP_FLIP’,
‘FULL’], default ‘TRIPLE_BUFFER’

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.599 UserPreferencesView(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Preferences related to viewing data
manipulator_handle_size
Size of widget handles as percentage of widget radius
Type int in [2, 40], default 0
manipulator_hotspot
Hotspot in pixels for clicking widget handles
Type int in [4, 40], default 0
manipulator_size
Diameter of widget, in 10 pixel units

994 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type int in [2, 40], default 0


mini_axis_brightness
The brightness of the icon
Type int in [0, 10], default 0
mini_axis_size
The axis icon’s size
Type int in [10, 64], default 0
object_origin_size
Diameter in Pixels for Object/Lamp origin display
Type int in [4, 10], default 0
open_left_mouse_delay
Time in 1/10 seconds to hold the Left Mouse Button before opening the toolbox
Type int in [1, 40], default 0
open_right_mouse_delay
Time in 1/10 seconds to hold the Right Mouse Button before opening the toolbox
Type int in [1, 40], default 0
open_sublevel_delay
Time delay in 1/10 seconds before automatically opening sub level menus
Type int in [1, 40], default 0
open_toplevel_delay
Time delay in 1/10 seconds before automatically opening top level menus
Type int in [1, 40], default 0
rotation_angle
The rotation step for numerical pad keys (2 4 6 8)
Type int in [0, 90], default 0
show_column_layout
Use a column layout for toolbox
Type boolean, default False
show_large_cursors
Use large mouse cursors when available
Type boolean, default False
show_manipulator
Use 3D transform manipulator
Type boolean, default False
show_mini_axis
Show a small rotating 3D axis in the bottom left corner of the 3D View
Type boolean, default False
show_object_info
Display objects name and frame number in 3D view
Type boolean, default False

2.4. Types ([Link]) 995


Blender Index, Release 2.57.0 r36138 - API

show_playback_fps
Show the frames per second screen refresh rate, while animation is played back
Type boolean, default False
show_splash
Display splash screen on startup
Type boolean, default False
show_tooltips
Display tooltips
Type boolean, default False
show_tooltips_python
Show Python references in tooltips
Type boolean, default False
show_view_name
Show the name of the view’s direction in each 3D View
Type boolean, default False
smooth_view
The time to animate the view in milliseconds, zero to disable
Type int in [0, 1000], default 0
timecode_style
Format of Time Codes displayed when not displaying timing in terms of frames
Type enum in [’MINIMAL’, ‘SMPTE’, ‘SMPTE_COMPACT’, ‘MILLISECONDS’, ‘SEC-
ONDS_ONLY’], default ‘MINIMAL’
use_auto_perspective
Automatically switch between orthographic and perspective when changing from top/front/side views
Type boolean, default False
use_directional_menus
Otherwise menus, etc will always be top to bottom, left to right, no matter opening direction
Type boolean, default False
use_global_pivot
Lock the same rotation/scaling pivot in all 3D Views
Type boolean, default False
use_global_scene
Forces the current Scene to be displayed in all Screens
Type boolean, default False
use_mouse_auto_depth
Use the depth under the mouse to improve view pan/rotate/zoom functionality
Type boolean, default False
use_mouse_over_open
Open menu buttons and pulldowns automatically when the mouse is hovering
Type boolean, default False

996 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_rotate_around_active
Use selection as the pivot point
Type boolean, default False
use_zoom_to_mouse
Zoom in towards the mouse pointer’s position in the 3D view, rather than the 2D window center
Type boolean, default False
view2d_grid_spacing_min
Minimum number of pixels between each gridline in 2D Viewports
Type int in [1, 500], default 0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]

2.4.600 UserSolidLight(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Light used for OpenGL lighting in solid draw mode
diffuse_color
The diffuse color of the OpenGL light
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

2.4. Types ([Link]) 997


Blender Index, Release 2.57.0 r36138 - API

direction
The direction that the OpenGL light is shining
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
specular_color
The color of the lights specular highlight
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
use
Enable this OpenGL light in solid draw mode
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• UserPreferencesSystem.solid_lights

2.4.601 ValueNodeSocket(NodeSocket)

base classes — bpy_struct, NodeSocket


class [Link](NodeSocket)
Input or output socket of a node
default_value
Default value of the socket when no link is attached
Type float array of 1 items in [-inf, inf], default (0.0)

998 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.602 VectorFont(ID)

base classes — bpy_struct, ID


class [Link](ID)
Vector font for Text objects
filepath
Type string, default “”, (readonly)
packed_file
Type PackedFile, (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

2.4. Types ([Link]) 999


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]
• TextCurve.font_bold
• TextCurve.font_bold_italic
• TextCurve.font_italic

2.4.603 VectorNodeSocket(NodeSocket)

base classes — bpy_struct, NodeSocket


class [Link](NodeSocket)
Input or output socket of a node
default_value
Default value of the socket when no link is attached
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer

1000 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.604 VertexColors(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of vertex colors
active
Active vertex color layer
Type MeshColorLayer
active_index
Active vertex color index
Type int in [0, inf], default 0
new(name=”Col”)
Add a vertex color layer to Mesh.
Parameters name (string, (optional)) – Vertex color name.
Returns The newly created layer.
Return type MeshColorLayer

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set

2.4. Types ([Link]) 1001


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Mesh.vertex_colors

2.4.605 VertexGroup(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Group of vertices, used for armature deform and other purposes
index
Index number of the vertex group
Type int in [0, inf], default 0, (readonly)
name
Vertex group name
Type string, default “”
add(index, weight, type)
Add vertices to the group.
Parameters
• index (int array of 1 items in [-inf, inf]) – Index List.
• weight (float in [0, 1]) – Vertex weight.
• type (enum in [’REPLACE’, ‘ADD’, ‘SUBTRACT’]) – Vertex assign mode.
remove(index)
Remove a vertex from the group.
Parameters index (int array of 1 items in [-inf, inf]) – Index List.
weight(index)
Get a vertex weight from the group.
Parameters index (int in [0, inf]) – Index, The index of the vertex.
Returns Vertex weight.
Return type float in [0, 1]

Inherited Properties

• bpy_struct.id_data

1002 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.vertex_groups
• [Link]
• [Link]
• [Link]

2.4.606 VertexGroupElement(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Weight value of a vertex in a vertex group
group
Type int in [0, inf], default 0, (readonly)
weight
Vertex Weight
Type float in [0, 1], default 0.0

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add

2.4. Types ([Link]) 1003


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• [Link]

2.4.607 VertexGroups(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of vertex groups
active
Vertex groups of the object
Type VertexGroup, (readonly)
active_index
Active index in vertex group array
Type int in [-32768, 32767], default 0
new(name=”Group”)
Add vertex group to object.
Parameters name (string, (optional)) – Vertex group name.
Returns New vertex group.
Return type VertexGroup
remove(group)
Delete vertex group from object.
Parameters group (VertexGroup, (never None)) – Vertex group to remove.

Inherited Properties

• bpy_struct.id_data

1004 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• Object.vertex_groups

2.4.608 VertexPaint(Paint)

base classes — bpy_struct, Paint


class [Link](Paint)
Properties of vertex and weight paint mode
use_all_faces
Paint on all faces inside brush
Type boolean, default False
use_normal
Applies the vertex normal before painting
Type boolean, default False
use_spray
Keep applying paint effect while holding mouse
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Paint.show_low_resolution
• Paint.show_brush
• Paint.show_brush_on_surface

2.4. Types ([Link]) 1005


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• ToolSettings.vertex_paint
• ToolSettings.weight_paint

2.4.609 VisibilityActuator(Actuator)

base classes — bpy_struct, Actuator


class [Link](Actuator)
Actuator to set visibility and occlusion of the object
apply_to_children
Set all the children of this object to the same visibility/occlusion recursively
Type boolean, default False
use_occlusion
Set the object to occlude objects behind it. Initialized from the object type in physics button
Type boolean, default False
use_visible
Set the objects visible. Initialized from the object render restriction toggle in physics button
Type boolean, default False

Inherited Properties

• bpy_struct.id_data
• [Link]
• Actuator.show_expanded
• [Link]
• [Link]

1006 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.610 VoronoiTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural voronoi texture
color_mode
Type enum in [’INTENSITY’, ‘POSITION’, ‘POSITION_OUTLINE’, ‘POSI-
TION_OUTLINE_INTENSITY’], default ‘INTENSITY’
distance_metric
Type enum in [’DISTANCE’, ‘DISTANCE_SQUARED’, ‘MANHATTAN’, ‘CHEBYCHEV’,
‘MINKOVSKY_HALF’, ‘MINKOVSKY_FOUR’, ‘MINKOVSKY’], default ‘DISTANCE’
minkovsky_exponent
Minkovsky exponent
Type float in [0.01, 10], default 0.0
nabla
Size of derivative offset used for calculating normal
Type float in [0.001, 0.1], default 0.0
noise_intensity
Type float in [0.01, 10], default 0.0
noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
weight_1
Voronoi feature weight 1

2.4. Types ([Link]) 1007


Blender Index, Release 2.57.0 r36138 - API

Type float in [-2, 2], default 0.0


weight_2
Voronoi feature weight 2
Type float in [-2, 2], default 0.0
weight_3
Voronoi feature weight 3
Type float in [-2, 2], default 0.0
weight_4
Voronoi feature weight 4
Type float in [-2, 2], default 0.0
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove

1008 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.611 VoxelData(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Voxel data settings
domain_object
Object used as the smoke simulation domain
Type Object
extension
Sets how the texture is extrapolated past its original bounds
Type enum in [’EXTEND’, ‘CLIP’, ‘REPEAT’], default ‘EXTEND’
file_format
Format of the source data set to render
Type enum in [’BLENDER_VOXEL’, ‘RAW_8BIT’, ‘IMAGE_SEQUENCE’, ‘SMOKE’], de-
fault ‘BLENDER_VOXEL’
filepath
The external source data file to use
Type string, default “”
intensity
Multiplier for intensity values
Type float in [0.01, inf], default 0.0
interpolation
Method to interpolate/smooth values between voxel cells
Type enum in [’NEREASTNEIGHBOR’, ‘TRILINEAR’, ‘QUADRATIC’, ‘TRICU-
BIC_CATROM’, ‘TRICUBIC_BSPLINE’], default ‘NEREASTNEIGHBOR’
resolution
Resolution of the voxel grid
Type int array of 3 items in [-inf, inf], default (0, 0, 0)

2.4. Types ([Link]) 1009


Blender Index, Release 2.57.0 r36138 - API

smoke_data_type
Simulation value to be used as a texture
Type enum in [’SMOKEDENSITY’, ‘SMOKEHEAT’, ‘SMOKEVEL’], default ‘SMOKE-
DENSITY’
still_frame
The frame number to always use
Type int in [-300000, 300000], default 0
use_still_frame
Always render a still frame from the voxel data sequence
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• VoxelDataTexture.voxel_data

2.4.612 VoxelDataTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Settings for the Voxel Data texture
image
Type Image

1010 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

image_user
Parameters defining which layer, pass and frame of the image is displayed
Type ImageUser, (readonly)
voxel_data
The voxel data associated with this texture
Type VoxelData, (readonly)
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier
• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

2.4. Types ([Link]) 1011


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.613 WaveModifier(Modifier)

base classes — bpy_struct, Modifier


class [Link](Modifier)
Wave effect modifier
damping_time
Type float in [-300000, 300000], default 0.0
falloff_radius
Type float in [0, inf], default 0.0
height
Type float in [-inf, inf], default 0.0
lifetime
Type float in [-300000, 300000], default 0.0
narrowness
Type float in [0, inf], default 0.0
speed
Type float in [-inf, inf], default 0.0
start_position_object
Type Object
start_position_x
Type float in [-inf, inf], default 0.0
start_position_y
Type float in [-inf, inf], default 0.0
texture
Texture for modulating the wave
Type Texture
texture_coords
Texture coordinates used for modulating input
Type enum in [’LOCAL’, ‘GLOBAL’, ‘OBJECT’, ‘MAP_UV’], default ‘LOCAL’
texture_coords_object

1012 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type Object
time_offset
Either the starting frame (for positive speed) or ending frame (for negative speed.)
Type float in [-300000, 300000], default 0.0
use_cyclic
Cyclic wave effect
Type boolean, default False
use_normal
Displace along normals
Type boolean, default False
use_normal_x
Enable displacement along the X normal
Type boolean, default False
use_normal_y
Enable displacement along the Y normal
Type boolean, default False
use_normal_z
Enable displacement along the Z normal
Type boolean, default False
use_x
X axis motion
Type boolean, default False
use_y
Y axis motion
Type boolean, default False
uv_layer
UV layer name
Type string, default “”
vertex_group
Vertex group name for modulating the wave
Type string, default “”
width
Type float in [0, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• Modifier.use_apply_on_spline
• Modifier.show_in_editmode
• Modifier.show_expanded
• Modifier.show_on_cage

2.4. Types ([Link]) 1013


Blender Index, Release 2.57.0 r36138 - API

• Modifier.show_viewport
• Modifier.show_render
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

2.4.614 Window(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Open window
screen
Active screen showing in the window
Type Screen, (never None)

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert

1014 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• [Link]
• WindowManager.event_timer_add
• [Link]

2.4.615 WindowManager(ID)

base classes — bpy_struct, ID


class [Link](ID)
Window manager datablock defining open windows and other user interface data
addon_filter
Filter add-ons by category
Type enum in [’All’, ‘Enabled’, ‘Disabled’, ‘3D View’, ‘Add Curve’, ‘Add Mesh’, ‘Anima-
tion’, ‘Development’, ‘Game Engine’, ‘Import-Export’, ‘Mesh’, ‘Object’, ‘Render’, ‘Rig-
ging’, ‘Text Editor’, ‘System’], default ‘All’
addon_search
Search within the selected filter
Type string, default “”
addon_support
Display support level
Type enum set in {‘OFFICIAL’, ‘COMMUNITY’}, default {‘OFFICIAL’, ‘COMMUNITY’}
clipboard
Type string, default “”
keyconfigs
Registered key configurations
Type KeyConfigurations bpy_prop_collection of KeyConfig, (readonly)
operators
Operator registry
Type bpy_prop_collection of Operator, (readonly)
windows
Open windows
Type bpy_prop_collection of Window, (readonly)
classmethod fileselect_add(operator)
Show up the file selector.
Parameters operator (Operator) – Operator to call.

2.4. Types ([Link]) 1015


Blender Index, Release 2.57.0 r36138 - API

classmethod modal_handler_add(operator)
modal_handler_add
Parameters operator (Operator) – Operator to call.
Return type boolean
event_timer_add(time_step, window=None)
event_timer_add
Parameters
• time_step (float in [0, inf]) – Time Step, Interval in seconds between timer events
• window (Window, (optional)) – Window to attach the timer to or None.
Return type Timer
event_timer_remove(timer)
event_timer_remove

classmethod invoke_props_popup(operator, event)


Operator popup invoke.
Parameters
• operator (Operator) – Operator to call.
• event (Event) – Event.
Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}
classmethod invoke_props_dialog(operator, width=300, height=20)
Operator dialog (non-autoexec popup) invoke.
Parameters
• operator (Operator) – Operator to call.
• width (int in [0, inf], (optional)) – Width of the popup.
• height (int in [0, inf], (optional)) – Height of the popup.
Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}
classmethod invoke_search_popup(operator)
invoke_search_popup
Parameters operator (Operator) – Operator to call.
classmethod invoke_popup(operator, width=300, height=20)
Operator popup invoke.
Parameters
• operator (Operator) – Operator to call.
• width (int in [0, inf], (optional)) – Width of the popup.
• height (int in [0, inf], (optional)) – Height of the popup.

1016 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}
classmethod invoke_confirm(operator, event)
Operator confirmation.
Parameters
• operator (Operator) – Operator to call.
• event (Event) – Event.
Returns result
Return type enum set in {‘RUNNING_MODAL’, ‘CANCELLED’, ‘FINISHED’,
‘PASS_THROUGH’}

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• BlendData.window_managers

2.4. Types ([Link]) 1017


Blender Index, Release 2.57.0 r36138 - API

• Context.window_manager

2.4.616 WipeSequence(EffectSequence)

base classes — bpy_struct, Sequence, EffectSequence


class [Link](EffectSequence)
Sequence strip creating a wipe transition
angle
Edge angle
Type float in [-90, 90], default 0.0
blur_width
Width of the blur edge, in percentage relative to the image size
Type float in [0, 1], default 0.0
direction
Wipe direction
Type enum in [’OUT’, ‘IN’], default ‘OUT’
transition_type
Type enum in [’SINGLE’, ‘DOUBLE’, ‘IRIS’, ‘CLOCK’], default ‘SINGLE’

Inherited Properties

• bpy_struct.id_data
• [Link]
• Sequence.blend_type
• Sequence.blend_alpha
• [Link]
• Sequence.effect_fader
• Sequence.frame_final_end
• Sequence.frame_offset_end
• Sequence.frame_still_end
• Sequence.input_1
• Sequence.input_2
• Sequence.input_3
• Sequence.select_left_handle
• Sequence.frame_final_duration
• Sequence.frame_duration
• [Link]
• [Link]
• Sequence.select_right_handle
• [Link]
• Sequence.speed_factor
• Sequence.frame_start
• Sequence.frame_final_start
• Sequence.frame_offset_start
• Sequence.frame_still_start
• [Link]
• Sequence.use_default_fade
• Sequence.input_count

1018 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• EffectSequence.color_balance
• EffectSequence.use_float
• [Link]
• EffectSequence.use_deinterlace
• EffectSequence.use_reverse_frames
• EffectSequence.use_flip_x
• EffectSequence.use_flip_y
• EffectSequence.color_multiply
• EffectSequence.use_premultiply
• [Link]
• EffectSequence.use_proxy_custom_directory
• EffectSequence.use_proxy_custom_file
• EffectSequence.color_saturation
• [Link]
• [Link]
• EffectSequence.use_color_balance
• EffectSequence.use_crop
• EffectSequence.use_proxy
• EffectSequence.use_translation

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.617 WoodTexture(Texture)

base classes — bpy_struct, ID, Texture


class [Link](Texture)
Procedural noise texture
nabla
Size of derivative offset used for calculating normal
Type float in [0.001, 0.1], default 0.0

2.4. Types ([Link]) 1019


Blender Index, Release 2.57.0 r36138 - API

noise_basis
Sets the noise basis used for turbulence
Type enum in [’BLENDER_ORIGINAL’, ‘ORIGINAL_PERLIN’, ‘IMPROVED_PERLIN’,
‘VORONOI_F1’, ‘VORONOI_F2’, ‘VORONOI_F3’, ‘VORONOI_F4’,
‘VORONOI_F2_F1’, ‘VORONOI_CRACKLE’, ‘CELL_NOISE’], default
‘BLENDER_ORIGINAL’
noise_basis_2
Type enum in [’SIN’, ‘SAW’, ‘TRI’], default ‘SIN’
noise_scale
Sets scaling for noise input
Type float in [0.0001, inf], default 0.0
noise_type
Type enum in [’SOFT_NOISE’, ‘HARD_NOISE’], default ‘SOFT_NOISE’
turbulence
Sets the turbulence of the bandnoise and ringnoise types
Type float in [0.0001, inf], default 0.0
wood_type
Type enum in [’BANDS’, ‘RINGS’, ‘BANDNOISE’, ‘RINGNOISE’], default ‘BANDS’
users_material
Materials that use this texture (readonly)
users_object_modifier
Object modifiers that use this texture (readonly)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]
• Texture.animation_data
• [Link]
• Texture.color_ramp
• [Link]
• Texture.factor_blue
• Texture.factor_green
• Texture.factor_red
• Texture.node_tree
• [Link]
• Texture.use_preview_alpha
• [Link]
• Texture.use_color_ramp
• Texture.use_nodes
• Texture.users_material
• Texture.users_object_modifier

1020 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

• Texture.users_material
• Texture.users_object_modifier

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

2.4.618 World(ID)

base classes — bpy_struct, ID


class [Link](ID)
World datablock describing the environment and ambient lighting of a scene
active_texture
Active texture slot being displayed
Type Texture
active_texture_index
Index of active texture slot
Type int in [0, 17], default 0
ambient_color
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
animation_data
Animation data for this datablock
Type AnimData, (readonly)
color_range
The color range that will be mapped to 0-1
Type float in [0.2, 5], default 0.0

2.4. Types ([Link]) 1021


Blender Index, Release 2.57.0 r36138 - API

exposure
Amount of exponential color correction for light
Type float in [0, 1], default 0.0
horizon_color
Color at the horizon
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
light_settings
World lighting settings
Type WorldLighting, (readonly, never None)
mist_settings
World mist settings
Type WorldMistSettings, (readonly, never None)
star_settings
World stars settings
Type WorldStarsSettings, (readonly, never None)
texture_slots
Texture slots defining the mapping and influence of textures
Type WorldTextureSlots bpy_prop_collection of WorldTextureSlot, (read-
only)
use_sky_blend
Render background with natural progression from horizon to zenith
Type boolean, default False
use_sky_paper
Flatten blend or texture coordinates
Type boolean, default False
use_sky_real
Render background with a real horizon, relative to the camera angle
Type boolean, default False
zenith_color
Color at the zenith
Type float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

Inherited Properties

• bpy_struct.id_data
• [Link]
• ID.use_fake_user
• [Link]
• [Link]
• [Link]

1022 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• ID.user_clear
• ID.animation_data_create
• ID.animation_data_clear
• ID.update_tag

References

• [Link]
• [Link]
• [Link]
• [Link]

2.4.619 WorldLighting(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Lighting for a World datablock
adapt_to_speed
Use the speed vector pass to reduce AO samples in fast moving pixels. Higher values result in more
aggressive sample reduction. Requires Vec pass enabled (for Raytrace Adaptive QMC)
Type float in [0, 1], default 0.0
ao_blend_type
Defines how AO mixes with material shading
Type enum in [’MULTIPLY’, ‘ADD’], default ‘ADD’
ao_factor
Factor for ambient occlusion blending
Type float in [0, inf], default 0.0
bias
Bias (in radians) to prevent smoothed faces from showing banding (for Raytrace Constant Jittered)

2.4. Types ([Link]) 1023


Blender Index, Release 2.57.0 r36138 - API

Type float in [0, 0.5], default 0.0


correction
Ad-hoc correction for over-occlusion due to the approximation
Type float in [0, 1], default 0.0
distance
Length of rays, defines how far away other faces give occlusion effect
Type float in [-inf, inf], default 0.0
environment_color
Defines where the color of the environment light comes from
Type enum in [’PLAIN’, ‘SKY_COLOR’, ‘SKY_TEXTURE’], default ‘PLAIN’
environment_energy
Defines the strength of environment light
Type float in [-inf, inf], default 0.0
error_threshold
Low values are slower and higher quality
Type float in [0.0001, 10], default 0.0
falloff_strength
Distance attenuation factor, the higher, the less influence farther away objects have influence
Type float in [-inf, inf], default 0.0
gather_method
Type enum in [’RAYTRACE’, ‘APPROXIMATE’], default ‘RAYTRACE’
indirect_bounces
Number of indirect diffuse light bounces
Type int in [1, 32767], default 0
indirect_factor
Factor for how much surrounding objects contribute to light
Type float in [0, inf], default 0.0
passes
Number of preprocessing passes to reduce overocclusion
Type int in [0, 10], default 0
sample_method
Method for generating shadow samples (for Raytrace)
Type enum in [’CONSTANT_JITTERED’, ‘ADAPTIVE_QMC’, ‘CONSTANT_QMC’], de-
fault ‘CONSTANT_JITTERED’
samples
Amount of ray samples. Higher values give smoother results and longer rendering times
Type int in [1, 32], default 0
threshold
Samples below this threshold will be considered fully shadowed/unshadowed and skipped (for Raytrace
Adaptive QMC)
Type float in [0, 1], default 0.0

1024 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

use_ambient_occlusion
Use Ambient Occlusion to add shadowing based on distance between objects
Type boolean, default False
use_cache
Cache AO results in pixels and interpolate over neighbouring pixels for speedup
Type boolean, default False
use_environment_light
Add light coming from the environment
Type boolean, default False
use_falloff
Type boolean, default False
use_indirect_light
Add indirect light bouncing of surrounding objects
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• World.light_settings

2.4.620 WorldMistSettings(bpy_struct)

base class — bpy_struct

2.4. Types ([Link]) 1025


Blender Index, Release 2.57.0 r36138 - API

class [Link](bpy_struct)
Mist settings for a World data-block
depth
The distance over which the mist effect fades in
Type float in [0, inf], default 0.0
falloff
Type of transition used to fade mist
Type enum in [’QUADRATIC’, ‘LINEAR’, ‘INVERSE_QUADRATIC’], default
‘QUADRATIC’
height
Control how much mist density decreases with height
Type float in [0, 100], default 0.0
intensity
Intensity of the mist effect
Type float in [0, 1], default 0.0
start
Starting distance of the mist, measured from the camera
Type float in [0, inf], default 0.0
use_mist
Occlude objects with the environment color as they are further away
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

1026 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

References

• World.mist_settings

2.4.621 WorldStarsSettings(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Stars setting for a World data-block
average_separation
Average distance between any two stars
Type float in [2, 1000], default 0.0
color_random
Randomize star colors
Type float in [0, 1], default 0.0
distance_min
Minimum distance to the camera for stars
Type float in [0, 1000], default 0.0
size
Average screen dimension of stars
Type float in [0, 10], default 0.0
use_stars
Enable starfield generation
Type boolean, default False

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve

2.4. Types ([Link]) 1027


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.type_recast
• bpy_struct.values

References

• World.star_settings

2.4.622 WorldTextureSlot(TextureSlot)

base classes — bpy_struct, TextureSlot


class [Link](TextureSlot)
Texture slot for textures in a World datablock
blend_factor
Amount texture affects color progression of the background
Type float in [-inf, inf], default 0.0
horizon_factor
Amount texture affects color of the horizon
Type float in [-inf, inf], default 0.0
object
Object to use for mapping with Object texture coordinates
Type Object
texture_coords
Texture coordinates used to map the texture onto the background
Type enum in [’VIEW’, ‘GLOBAL’, ‘ANGMAP’, ‘SPHERE’, ‘TUBE’, ‘OBJECT’], default
‘VIEW’
use_map_blend
Affect the color progression of the background
Type boolean, default False
use_map_horizon
Affect the color of the horizon
Type boolean, default False
use_map_zenith_down
Affect the color of the zenith below
Type boolean, default False
use_map_zenith_up
Affect the color of the zenith above
Type boolean, default False
zenith_down_factor
Amount texture affects color of the zenith below
Type float in [-inf, inf], default 0.0
zenith_up_factor
Amount texture affects color of the zenith above

1028 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Type float in [-inf, inf], default 0.0

Inherited Properties

• bpy_struct.id_data
• [Link]
• TextureSlot.blend_type
• [Link]
• TextureSlot.default_value
• [Link]
• [Link]
• TextureSlot.output_node
• TextureSlot.use_rgb_to_intensity
• [Link]
• TextureSlot.use_stencil
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• World.texture_slots
• [Link]
• [Link]

2.4.623 WorldTextureSlots(bpy_struct)

base class — bpy_struct


class [Link](bpy_struct)
Collection of texture slots
classmethod add()
add

2.4. Types ([Link]) 1029


Blender Index, Release 2.57.0 r36138 - API

Returns The newly initialized mtex.


Return type WorldTextureSlot
classmethod create(index)
create
Parameters index (int in [0, inf]) – Index, Slot index to initialize.
Returns The newly initialized mtex.
Return type WorldTextureSlot
classmethod clear(index)
clear
Parameters index (int in [0, inf]) – Index, Slot index to clear.

Inherited Properties

• bpy_struct.id_data

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values

References

• World.texture_slots

2.4.624 XnorController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller passing on events based on a logical XNOR operation

1030 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove
• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.625 XorController(Controller)

base classes — bpy_struct, Controller


class [Link](Controller)
Controller passing on events based on a logical XOR operation

Inherited Properties

• bpy_struct.id_data
• [Link]
• [Link]
• Controller.show_expanded
• Controller.use_priority
• [Link]

Inherited Functions

• bpy_struct.as_pointer
• bpy_struct.callback_add
• bpy_struct.callback_remove

2.4. Types ([Link]) 1031


Blender Index, Release 2.57.0 r36138 - API

• bpy_struct.driver_add
• bpy_struct.driver_remove
• bpy_struct.get
• bpy_struct.is_property_hidden
• bpy_struct.is_property_set
• bpy_struct.items
• bpy_struct.keyframe_delete
• bpy_struct.keyframe_insert
• bpy_struct.keys
• bpy_struct.path_from_id
• bpy_struct.path_resolve
• bpy_struct.type_recast
• bpy_struct.values
• [Link]
• [Link]

2.4.626 bpy_prop_collection

class [Link].bpy_prop_collection
built-in class used for all collections.

Note: Note that [Link].bpy_prop_collection is not actually available from within blender, it only exists for
the purpose of documentation.

foreach_get(attr, seq)
This is a function to give fast access to attribites within a collection.
collection.foreach_get(someseq, attr)

# Python equivelent
for i in range(len(seq)): someseq[i]= getattr(collection, attr)

foreach_set(attr, seq)
This is a function to give fast access to attribites within a collection.
collection.foreach_set(seq, attr)

# Python equivelent
for i in range(len(seq)): setattr(collection[i], attr, seq[i])

get(key, default=None)
Returns the value of the item assigned to key or default when not found (matches pythons dictionary
function of the same name).
Parameters
• key (string) – The identifier for the collection member.
• default (Undefined) – Optional argument for the value to return if key is not found.
items()
Return the identifiers of collection members (matching pythons [Link]() functionality).
Returns (key, value) pairs for each member of this collection.
Return type list of tuples

1032 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

keys()
Return the identifiers of collection members (matching pythons [Link]() functionality).
Returns the identifiers for each member of this collection.
Return type list of stings
values()
Return the values of collection (matching pythons [Link]() functionality).
Returns the members of this collection.
Return type list

2.4.627 bpy_struct

subclasses — ActionFCurves, ActionGroup, ActionGroups, ActionPoseMarkers, Actuator,


Addon, Addons, AnimData, AnimViz, AnimVizMotionPaths, AnimVizOnionSkinning, AnyType,
Area, ArmatureBones, ArmatureEditBones, BackgroundImage, BezierSplinePoint,
BlendData, BlendDataActions, BlendDataArmatures, BlendDataBrushes,
BlendDataCameras, BlendDataCurves, BlendDataFonts, BlendDataGreasePencils,
BlendDataGroups, BlendDataImages, BlendDataLamps, BlendDataLattices,
BlendDataLibraries, BlendDataMaterials, BlendDataMeshes, BlendDataMetaBalls,
BlendDataNodeTrees, BlendDataObjects, BlendDataParticles, BlendDataScenes,
BlendDataScreens, BlendDataSounds, BlendDataTexts, BlendDataTextures,
BlendDataWindowManagers, BlendDataWorlds, BlenderRNA, BoidRule, BoidSettings,
BoidState, Bone, BoneGroup, BoneGroups, ChannelDriverVariables, ChildParticle,
ClothCollisionSettings, ClothSettings, CollisionSettings, ColorRamp,
ColorRampElement, ColorRampElements, CompositorNodes, ConsoleLine, Constraint,
ConstraintTarget, Context, Controller, CurveMap, CurveMapPoint, CurveMapping,
CurveSplines, DopeSheet, Driver, DriverTarget, DriverVariable, DupliObject,
EditBone, EffectorWeights, EnumPropertyItem, EnvironmentMap, Event,
FCurve, FCurveKeyframePoints, FCurveModifiers, FCurveSample, FModifier,
FModifierEnvelopeControlPoint, FieldSettings, FileSelectParams, FluidSettings,
Function, GPencilFrame, GPencilLayer, GPencilStroke, GPencilStrokePoint,
GameObjectSettings, GameProperty, GameSoftBodySettings, GreasePencilLayers,
GroupInputs, GroupObjects, GroupOutputs, Header, Histogram, ID, IDMaterials, IKParam,
ImageUser, KeyConfig, KeyConfigurations, KeyMap, KeyMapItem, KeyMapItems, KeyMaps,
Keyframe, KeyingSet, KeyingSetInfo, KeyingSetPath, KeyingSetPaths, KeyingSets,
KeyingSetsAll, LampSkySettings, LampTextureSlots, LatticePoint, Macro, MaterialHalo,
MaterialPhysics, MaterialRaytraceMirror, MaterialRaytraceTransparency,
MaterialSlot, MaterialStrand, MaterialSubsurfaceScattering, MaterialTextureSlots,
MaterialVolume, Menu, MeshColor, MeshColorLayer, MeshEdge, MeshEdges, MeshFace,
MeshFaces, MeshFloatProperty, MeshFloatPropertyLayer, MeshIntProperty,
MeshIntPropertyLayer, MeshSticky, MeshStringProperty, MeshStringPropertyLayer,
MeshTextureFace, MeshTextureFaceLayer, MeshVertex, MeshVertices, MetaBallElements,
MetaElement, Modifier, MotionPath, MotionPathVert, NlaStrip, NlaStrips, NlaTrack,
NlaTracks, Node, NodeLink, NodeLinks, NodeSocket, ObjectBase, ObjectConstraints,
ObjectModifiers, Operator, OperatorProperties, OperatorTypeMacro, PackedFile,
Paint, Panel, Particle, ParticleBrush, ParticleDupliWeight, ParticleEdit,
ParticleHairKey, ParticleKey, ParticleSettingsTextureSlots, ParticleSystem,
ParticleSystems, ParticleTarget, PointCache, PointCaches, PointDensity, Pose,
PoseBone, PoseBoneConstraints, Property, PropertyGroup, PropertyGroupItem,
Region, RegionView3D, RenderEngine, RenderLayer, RenderLayers, RenderPass,
RenderResult, RenderSettings, SPHFluidSettings, SceneBases, SceneGameData,
SceneObjects, SceneRenderLayer, Scopes, Sensor, Sequence, SequenceColorBalance,

2.4. Types ([Link]) 1033


Blender Index, Release 2.57.0 r36138 - API

SequenceCrop, SequenceEditor, SequenceElement, SequenceProxy, SequenceTransform,


ShaderNodes, ShapeKey, ShapeKeyBezierPoint, ShapeKeyCurvePoint, ShapeKeyPoint,
SmokeCollSettings, SmokeDomainSettings, SmokeFlowSettings, SoftBodySettings,
Space, SpaceUVEditor, Spline, SplineBezierPoints, SplinePoint, SplinePoints,
Struct, TexMapping, TextBox, TextCharacterFormat, TextLine, TextMarker,
TextureNodes, TextureSlot, Theme, ThemeAudioWindow, ThemeBoneColorSet,
ThemeConsole, ThemeDopeSheet, ThemeFileBrowser, ThemeFontStyle, ThemeGraphEditor,
ThemeImageEditor, ThemeInfo, ThemeLogicEditor, ThemeNLAEditor, ThemeNodeEditor,
ThemeOutliner, ThemeProperties, ThemeSequenceEditor, ThemeStyle, ThemeTextEditor,
ThemeTimeline, ThemeUserInterface, ThemeUserPreferences, ThemeView3D,
ThemeWidgetColors, ThemeWidgetStateColors, TimelineMarker, TimelineMarkers, Timer,
ToolSettings, TransformOrientation, UILayout, UVProjector, UVTextures, UnitSettings,
UnknownType, UserPreferences, UserPreferencesEdit, UserPreferencesFilePaths,
UserPreferencesInput, UserPreferencesSystem, UserPreferencesView, UserSolidLight,
VertexColors, VertexGroup, VertexGroupElement, VertexGroups, VoxelData, Window,
WorldLighting, WorldMistSettings, WorldStarsSettings, WorldTextureSlots
class [Link].bpy_struct
built-in base class for all classes in [Link].

Note: Note that [Link].bpy_struct is not actually available from within blender, it only exists for the purpose
of documentation.

as_pointer()
Returns the memory address which holds a pointer to blenders internal data
Returns int (memory address).
Return type int

Note: This is intended only for advanced script writers who need to pass blender data to their own
C/Python modules.

Undocumented (contribute)
Undocumented (contribute)
driver_add(path, index=-1)
Adds driver(s) to the given property
Parameters
• path (string) – path to the property to drive, analogous to the fcurve’s data path.
• index (int) – array index of the property drive. Defaults to -1 for all indices or a single
channel if the property is not an array.
Returns The driver(s) added.
Return type FCurve or list if index is -1 with an array property.
driver_remove(path, index=-1)
Remove driver(s) from the given property
Parameters
• path (string) – path to the property to drive, analogous to the fcurve’s data path.
• index (int) – array index of the property drive. Defaults to -1 for all indices or a single
channel if the property is not an array.

1034 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Returns Success of driver removal.


Return type boolean
get(key, default=None)
Returns the value of the custom property assigned to key or default when not found (matches pythons
dictionary function of the same name).
Parameters
• key (string) – The key assosiated with the custom property.
• default (Undefined) – Optional argument for the value to return if key is not found.

Note: Only ID, Bone and PoseBone classes support custom properties.

is_property_hidden(property)
Check if a property is hidden.
Returns True when the property is hidden.
Return type boolean
is_property_set(property)
Check if a property is set, use for testing operator properties.
Returns True when the property has been set.
Return type boolean
items()
Returns the items of this objects custom properties (matches pythons dictionary function of the same
name).
Returns custom property key, value pairs.
Return type list of key, value tuples

Note: Only ID, Bone and PoseBone classes support custom properties.

keyframe_delete(data_path, index=-1, frame=[Link].frame_current, group=”“)


Remove a keyframe from this properties fcurve.
Parameters
• data_path (string) – path to the property to remove a key, analogous to the fcurve’s data
path.
• index (int) – array index of the property to remove a key. Defaults to -1 removing all
indices or a single channel if the property is not an array.
• frame (float) – The frame on which the keyframe is deleted, defaulting to the current
frame.
• group (str) – The name of the group the F-Curve should be added to if it doesn’t exist yet.
Returns Success of keyframe deleation.
Return type boolean
keyframe_insert(data_path, index=-1, frame=[Link].frame_current, group=”“)
Insert a keyframe on the property given, adding fcurves and animation data when necessary.
Parameters

2.4. Types ([Link]) 1035


Blender Index, Release 2.57.0 r36138 - API

• data_path (string) – path to the property to key, analogous to the fcurve’s data path.
• index (int) – array index of the property to key. Defaults to -1 which will key all indices
or a single channel if the property is not an array.
• frame (float) – The frame on which the keyframe is inserted, defaulting to the current
frame.
• group (str) – The name of the group the F-Curve should be added to if it doesn’t exist yet.
Returns Success of keyframe insertion.
Return type boolean
This is the most simple example of inserting a keyframe from python.
import bpy

obj = [Link]

# set the keyframe at frame 1


[Link] = 3.0, 4.0, 10.0
obj.keyframe_insert(data_path="location", frame=1)

Note that when keying data paths which contain nested properties this must be done from the ID subclass,
in this case the Armature rather then the bone.
import bpy
from [Link] import PointerProperty

# define a nested property


class MyPropGroup([Link]):
nested = [Link](name="Nested", default=0.0)

# register it so its available for all bones


[Link].register_class(MyPropGroup)
[Link].my_prop = PointerProperty(type=MyPropGroup,
name="MyProp")

# get a bone
obj = [Link]["Armature"]
arm = [Link]

# set the keyframe at frame 1


[Link]["Bone"].my_prop_group.nested = 10
arm.keyframe_insert(data_path=’bones["Bone"].my_prop.nested’,
frame=1,
group="Nested Group")

keys()
Returns the keys of this objects custom properties (matches pythons dictionary function of the same name).
Returns custom property keys.
Return type list of strings

Note: Only ID, Bone and PoseBone classes support custom properties.

path_from_id(property=”“)
Returns the data path from the ID to this object (string).

1036 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters property (string) – Optional property name which can be used if the path is to a
property of this object.
Returns The path from bpy_struct.id_data to this struct and property (when given).
Return type str
path_resolve(path, coerce=True)
Returns the property from the path, raise an exception when not found.
Parameters
• path (string) – path which this property resolves.
• coerce (boolean) – optional argument, when True, the property will be converted into its
python representation.
type_recast()
Return a new instance, this is needed because types such as textures can be changed at runtime.
Returns a new instance of this object with the type initialized again.
Return type subclass of bpy_struct
values()
Returns the values of this objects custom properties (matches pythons dictionary function of the same
name).
Returns custom property values.
Return type list

Note: Only ID, Bone and PoseBone classes support custom properties.

id_data
The ID object this datablock is from or None, (not available for all data types)

2.5 Utilities ([Link])

This module contains utility functions specific to blender but not assosiated with blenders internal data.
[Link].blend_paths(absolute=False)
Returns a list of paths to external files referenced by the loaded .blend file.
Parameters absolute (boolean) – When true the paths returned are made absolute.
Returns path list.
Return type list of strings
[Link].keyconfig_set(filepath)
[Link].load_scripts(reload_scripts=False, refresh_scripts=False)
Load scripts and run each modules register function.
Parameters
• reload_scripts (bool) – Causes all scripts to have their unregister method called before
loading.
• refresh_scripts (bool) – only load scripts which are not already loaded as modules.

2.5. Utilities ([Link]) 1037


Blender Index, Release 2.57.0 r36138 - API

[Link].modules_from_path(path, loaded_modules)
Load all modules in a path and return them as a list.
Parameters
• path (string) – this path is scanned for scripts and packages.
• loaded_modules (set) – already loaded module names, files matching these names will be
ignored.
Returns all loaded modules.
Return type list
[Link].preset_find(name, preset_path, display_name=False)
[Link].preset_paths(subdir)
Returns a list of paths for a specific preset.
[Link].register_class(cls)
Register a subclass of a blender type in (Panel, Menu, Header, Operator, KeyingSetInfo,
RenderEngine).
If the class has a register class method it will be called before registration.

Note: ValueError exception is raised if the class is not a subclass of a registerable blender class.

[Link].register_module(module, verbose=False)
[Link].resource_path(type, major=2, minor=57)
Return the base path for storing system files.
Parameters
• type (string) – string in [’USER’, ‘LOCAL’, ‘SYSTEM’].
• major (int) – major version, defaults to current.
• minor (string) – minor version, defaults to current.
Returns the resource path (not necessarily existing).
Return type string
[Link].script_paths(subdir=None, user=True)
Returns a list of valid script paths from the home directory and user preferences.
Accepts any number of string arguments which are joined to make a path.
[Link].smpte_from_frame(frame, fps=None, fps_base=None)
Returns an SMPTE formatted string from the frame: “HH:MM:SS:FF”.
If fps and fps_base are not given the current scene is used.
[Link].smpte_from_seconds(time, fps=None)
Returns an SMPTE formatted string from the time in seconds: “HH:MM:SS:FF”.
If the fps is not given the current scene is used.
[Link].unregister_class(cls)
Unload the python class from blender.
If the class has an unregister class method it will be called before unregistering.
[Link].unregister_module(module, verbose=False)

1038 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].user_resource(type, path=’‘, create=False)


Return a user resource path (normally from the users home directory).
Parameters
• type (string) – Resource type in [’DATAFILES’, ‘CONFIG’, ‘SCRIPTS’, ‘AUTOSAVE’].
• subdir (string) – Optional subdirectory.
• create (boolean) – Treat the path as a directory and create it if its not existing.
Returns a path.
Return type string
[Link].user_script_path()

2.6 Path Utilities ([Link])

This module has a similar scope to [Link], containing utility functions for dealing with paths in Blender.
[Link](path, start=None)
Returns the absolute path relative to the current blend file using the “//” prefix.
Parameters start (string) – Relative to this path, when not set the current filename is used.
[Link].clean_name(name, replace=’_’)
Returns a name with characters replaced that may cause problems under various circumstances, such as writing
to a file. All characters besides A-Z/a-z, 0-9 are replaced with “_” or the replace argument if defined.
[Link].display_name(name)
Creates a display string from name to be used menus and the user interface. Capitalize the first letter in all
lowercase names, mixed case names are kept as is. Intended for use with filenames and module names.
[Link].display_name_from_filepath(name)
Returns the path stripped of directort and extension, ensured to be utf8 compatible.
[Link].ensure_ext(filepath, ext, case_sensitive=False)
Return the path with the extension added its its not alredy set.
Parameters
• ext (string) – The extension to check for.
• case_sensitive (bool) – Check for matching case when comparing extensions.
[Link].is_subdir(path, directory)
Returns true if path in a subdirectory of directory. Both paths must be absolute.
[Link].module_names(path, recursive=False)
Return a list of modules which can be imported from path.
Parameters
• path (string) – a directory to scan.
• recursive (bool) – Also return submodule names for packages.
Returns a list of string pairs (module_name, module_file).
Return type list
[Link](path, start=None)
Returns the path relative to the current blend file using the “//” prefix.

2.6. Path Utilities ([Link]) 1039


Blender Index, Release 2.57.0 r36138 - API

Parameters start (string) – Relative to this path, when not set the current filename is used.
[Link].resolve_ncase(path)
Resolve a case insensitive path on a case sensitive system, returning a string with the path if found else return
the original path.

2.7 Application Data ([Link])

This module contains application values that remain unchanged during runtime.
[Link]
Boolean, set when blender is running in debug mode (started with -d)
[Link].debug_value
Int, number which can be set to non-zero values for testing purposes.
[Link].driver_namespace
Dictionary for drivers namespace, editable in-place, reset on file load (read-only)
[Link]
String, the temp directory used by blender (read-only)
[Link]
Boolean, True when blender is running without a user interface (started with -b)
[Link].binary_path
The location of blenders executable, useful for utilities that spawn new instances
[Link].build_cflags
C compiler flags
[Link].build_cxxflags
C++ compiler flags
[Link].build_date
The date this blender instance was built
[Link].build_linkflags
Binary linking flags
[Link].build_platform
The platform this blender instance was built for
[Link].build_revision
The subversion revision this blender instance was built with
[Link].build_system
Build system used
[Link].build_time
The time this blender instance was built
[Link].build_type
The type of build (Release, Debug)
[Link]
The Blender version as a tuple of 3 numbers. eg. (2, 50, 11)
[Link].version_char
The Blender version character (for minor releases)

1040 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].version_cycle
The release status of this build alpha/beta/rc/release
[Link].version_string
The Blender version formatted as a string
[Link](value) -> integer – return number of occurrences of value
[Link](value, [start, [stop]]) -> integer – return first index of value. Raises ValueError if the value is not present.

2.8 Property Definitions ([Link])

This module defines properties to extend blenders internal data, the result of these functions is used to assign properties
to classes registered with blender and can’t be used directly.

2.8.1 Assigning to Existing Classes

Custom properties can be added to any subclass of an ID, Bone and PoseBone.
These properties can be animated, accessed by the user interface and python like blenders existing properties.
import bpy

# Assign a custom property to an existing type.


[Link].custom_float = [Link](name="Test Prob")

# Test the property is there.


[Link][0].custom_float = 5.0

2.8.2 Operator Example

A common use of custom properties is for python based Operator classes.


import bpy

class DialogOperator([Link]):
bl_idname = "object.dialog_operator"
bl_label = "Property Example"

my_float = [Link](name="Some Floating Point")


my_bool = [Link](name="Toggle Option")
my_string = [Link](name="String Value")

def execute(self, context):


print("Dialog Runs")
return {’FINISHED’}

def invoke(self, context, event):


wm = context.window_manager
return wm.invoke_props_dialog(self)

[Link].register_class(DialogOperator)

2.8. Property Definitions ([Link]) 1041


Blender Index, Release 2.57.0 r36138 - API

# test call
[Link].dialog_operator(’INVOKE_DEFAULT’)

2.8.3 PropertyGroup Example

PropertyGroups can be used for collecting custom settings into one value to avoid many indervidual settings mixed in
together.
import bpy

class MaterialSettings([Link]):
my_int = [Link]()
my_float = [Link]()
my_string = [Link]()

[Link].register_class(MaterialSettings)

[Link].my_settings = \
[Link](type=MaterialSettings)

# test the new settings work


material = [Link][0]

material.my_settings.my_int = 5
material.my_settings.my_float = 3.0
material.my_settings.my_string = "Foo"

2.8.4 Collection Example

Custom properties can be added to any subclass of an ID, Bone and PoseBone.
import bpy

# Assign a collection
class SceneSettingItem([Link]):
name = [Link](name="Test Prop", default="Unknown")
value = [Link](name="Test Prop", default=22)

[Link].register_class(SceneSettingItem)

[Link].my_settings = \
[Link](type=SceneSettingItem)

# Assume an armature object selected


print("Adding 3 values!")

my_item = [Link].my_settings.add()
my_item.name = "Spam"
my_item.value = 1000

my_item = [Link].my_settings.add()
my_item.name = "Eggs"
my_item.value = 30

1042 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

for my_item in [Link].my_settings:


print(my_item.name, my_item.value)

[Link](name=”“, description=”“, default=False, options={‘ANIMATABLE’}, sub-


type=’NONE’)
Returns a new boolean property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’UNSIGNED’, ‘PERCENTAGE’, ‘FACTOR’, ‘ANGLE’,
‘TIME’, ‘DISTANCE’, ‘NONE’].
[Link](name=”“, description=”“, default=(False, False, False), op-
tions={‘ANIMATABLE’}, subtype=’NONE’, size=3)
Returns a new vector boolean property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• default (sequence) – sequence of booleans the length of size.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’COLOR’, ‘TRANSLATION’, ‘DIRECTION’, ‘VE-
LOCITY’, ‘ACCELERATION’, ‘MATRIX’, ‘EULER’, ‘QUATERNION’, ‘AXISANGLE’,
‘XYZ’, ‘COLOR_GAMMA’, ‘LAYER’, ‘NONE’].
• size (int) – Vector dimensions in [1, and 32].
[Link](items, type=”“, description=”“, default=”“, op-
tions={‘ANIMATABLE’})
Returns a new collection property definition.
Parameters
• type (class) – A subclass of [Link].
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
[Link](items, name=”“, description=”“, default=”“, options={‘ANIMATABLE’})
Returns a new enumerator property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• default (string or set) – The default value for this enum, A string when ENUM_FLAG is
disabled otherwise a set which may only contain string identifiers used in items.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’, ‘ENUM_FLAG’].

2.8. Property Definitions ([Link]) 1043


Blender Index, Release 2.57.0 r36138 - API

• items (sequence of string triplets) – sequence of enum items formatted: [(identifier, name,
description), ...] where the identifier is used for python access and other values are used for
the interface.
[Link](name=”“, description=”“, default=0.0, min=sys.float_info.min,
max=sys.float_info.max, soft_min=sys.float_info.min,
soft_max=sys.float_info.max, step=3, precision=2, op-
tions={‘ANIMATABLE’}, subtype=’NONE’, unit=’NONE’)
Returns a new float property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’UNSIGNED’, ‘PERCENTAGE’, ‘FACTOR’, ‘ANGLE’,
‘TIME’, ‘DISTANCE’, ‘NONE’].
• unit (string) – Enumerator in [’NONE’, ‘LENGTH’, ‘AREA’, ‘VOLUME’, ‘ROTATION’,
‘TIME’, ‘VELOCITY’, ‘ACCELERATION’].
[Link](name=”“, description=”“, default=(0.0, 0.0, 0.0),
min=sys.float_info.min, max=sys.float_info.max,
soft_min=sys.float_info.min, soft_max=sys.float_info.max,
step=3, precision=2, options={‘ANIMATABLE’}, sub-
type=’NONE’, size=3)
Returns a new vector float property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• default (sequence) – sequence of floats the length of size.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’COLOR’, ‘TRANSLATION’, ‘DIRECTION’, ‘VE-
LOCITY’, ‘ACCELERATION’, ‘MATRIX’, ‘EULER’, ‘QUATERNION’, ‘AXISANGLE’,
‘XYZ’, ‘COLOR_GAMMA’, ‘LAYER’, ‘NONE’].
• size (int) – Vector dimensions in [1, and 32].
[Link](name=”“, description=”“, default=0, min=-[Link], max=[Link],
soft_min=-[Link], soft_max=[Link], step=1, op-
tions={‘ANIMATABLE’}, subtype=’NONE’)
Returns a new int property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’UNSIGNED’, ‘PERCENTAGE’, ‘FACTOR’, ‘ANGLE’,
‘TIME’, ‘DISTANCE’, ‘NONE’].

1044 Chapter 2. Application Modules


Blender Index, Release 2.57.0 r36138 - API

[Link](name=”“, description=”“, default=(0, 0, 0), min=-[Link],


max=[Link], soft_min=-[Link], soft_max=[Link], op-
tions={‘ANIMATABLE’}, subtype=’NONE’, size=3)
Returns a new vector int property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• default (sequence) – sequence of ints the length of size.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’COLOR’, ‘TRANSLATION’, ‘DIRECTION’, ‘VE-
LOCITY’, ‘ACCELERATION’, ‘MATRIX’, ‘EULER’, ‘QUATERNION’, ‘AXISANGLE’,
‘XYZ’, ‘COLOR_GAMMA’, ‘LAYER’, ‘NONE’].
• size (int) – Vector dimensions in [1, and 32].
[Link](type=”“, description=”“, options={‘ANIMATABLE’})
Returns a new pointer property definition.
Parameters
• type (class) – A subclass of [Link].
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
[Link](attr)
Removes a dynamically defined property.
Parameters attr (string) – Property name.
[Link](name=”“, description=”“, default=”“, maxlen=0, op-
tions={‘ANIMATABLE’}, subtype=’NONE’)
Returns a new string property definition.
Parameters
• name (string) – Name used in the user interface.
• description (string) – Text used for the tooltip and api documentation.
• options (set) – Enumerator in [’HIDDEN’, ‘ANIMATABLE’].
• subtype (string) – Enumerator in [’FILE_PATH’, ‘DIR_PATH’, ‘FILENAME’, ‘NONE’].

2.8. Property Definitions ([Link]) 1045


Blender Index, Release 2.57.0 r36138 - API

1046 Chapter 2. Application Modules


CHAPTER

THREE

STANDALONE MODULES

3.1 Math Types & Utilities (mathutils)

This module provides access to matrices, eulers, quaternions and vectors.


import mathutils
from math import radians

vec = [Link]((1.0, 2.0, 3.0))

mat_rot = [Link](radians(90.0), 4, ’X’)


mat_trans = [Link](vec)

mat = mat_trans * mat_rot


[Link]()

mat3 = mat.to_3x3()
quat1 = mat.to_quaternion()
quat2 = mat3.to_quaternion()

quat_diff = quat1.rotation_difference(quat2)

print(quat_diff.angle)

class [Link]
This object gives access to Colors in Blender.
copy()
Returns a copy of this color.
Returns A copy of the color.
Return type Color

Note: use this to get a copy of a wrapped color with no reference to the original data.

b
Blue color channel.
Type float
g
Green color channel.

1047
Blender Index, Release 2.57.0 r36138 - API

Type float
h
HSV Hue component in [0, 1].
Type float
hsv
HSV Values in [0, 1].
Type float triplet
is_wrapped
True when this object wraps external data (readonly).
Type boolean
owner
The item this is wrapping or None (readonly).
r
Red color channel.
Type float
s
HSV Saturation component in [0, 1].
Type float
v
HSV Value component in [0, 1].
Type float
class [Link]
This object gives access to Eulers in Blender.
import mathutils

# todo

copy()
Returns a copy of this euler.
Returns A copy of the euler.
Return type Euler

Note: use this to get a copy of a wrapped euler with no reference to the original data.

make_compatible(other)
Make this euler compatible with another, so interpolating between them works as intended.

Note: the rotation order is not taken into account for this function.

rotate(other)
Rotates the euler a by another mathutils value.
Parameters other (Euler, Quaternion or Matrix) – rotation component of mathutils
value

1048 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

rotate_axis(axis, angle)
Rotates the euler a certain amount and returning a unique euler rotation (no 720 degree pitches).
Parameters
• axis (string) – single character in [’X, ‘Y’, ‘Z’].
• angle (float) – angle in radians.
to_matrix()
Return a matrix representation of the euler.
Returns A 3x3 roation matrix representation of the euler.
Return type Matrix
to_quaternion()
Return a quaternion representation of the euler.
Returns Quaternion representation of the euler.
Return type Quaternion
zero()
Set all values to zero.
is_wrapped
True when this object wraps external data (readonly).
Type boolean
order
Euler rotation order.
Type string in [’XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’, ‘ZYX’]
owner
The item this is wrapping or None (readonly).
x
Euler X axis in radians.
Type float
y
Euler Y axis in radians.
Type float
z
Euler Z axis in radians.
Type float
class [Link]
This object gives access to Matrices in Blender.
import mathutils

# todo

classmethod OrthoProjection(axis, size)


Create a matrix to represent an orthographic projection.
Parameters

3.1. Math Types & Utilities (mathutils) 1049


Blender Index, Release 2.57.0 r36138 - API

• axis (string or Vector) – Can be any of the following: [’X’, ‘Y’, ‘XY’, ‘XZ’, ‘YZ’],
where a single axis is for a 2D matrix. Or a vector for an arbitrary axis
• size (int) – The size of the projection matrix to construct [2, 4].
Returns A new projection matrix.
Return type Matrix
classmethod Rotation(angle, size, axis)
Create a matrix representing a rotation.
Parameters
• angle (float) – The angle of rotation desired, in radians.
• size (int) – The size of the rotation matrix to construct [2, 4].
• axis (string or Vector) – a string in [’X’, ‘Y’, ‘Z’] or a 3D Vector Object (optional when
size is 2).
Returns A new rotation matrix.
Return type Matrix
classmethod Scale(factor, size, axis)
Create a matrix representing a scaling.
Parameters
• factor (float) – The factor of scaling to apply.
• size (int) – The size of the scale matrix to construct [2, 4].
• axis (Vector) – Direction to influence scale. (optional).
Returns A new scale matrix.
Return type Matrix
classmethod Shear(plane, size, factor)
Create a matrix to represent an shear transformation.
Parameters
• plane (string) – Can be any of the following: [’X’, ‘Y’, ‘XY’, ‘XZ’, ‘YZ’], where a single
axis is for a 2D matrix only.
• size (int) – The size of the shear matrix to construct [2, 4].
• factor (float or float pair) – The factor of shear to apply. For a 3 or 4 size matrix pass a
pair of floats corrasponding with the plane axis.
Returns A new shear matrix.
Return type Matrix
classmethod Translation(vector)
Create a matrix representing a translation.
Parameters vector (Vector) – The translation vector.
Returns An identity matrix with a translation.
Return type Matrix
copy()
Returns a copy of this matrix.

1050 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Returns an instance of itself


Return type Matrix
decompose()
Return the location, rotaion and scale components of this matrix.
Returns loc, rot, scale triple.
Return type (Vector, Quaternion, Vector)
determinant()
Return the determinant of a matrix.
Returns Return a the determinant of a matrix.
Return type float
See Also:
<[Link]
identity()
Set the matrix to the identity matrix.

Note: An object with zero location and rotation, a scale of one, will have an identity matrix.

See Also:
<[Link]
invert()
Set the matrix to its inverse.

Note: ValueError exception is raised.

See Also:
<[Link]
inverted()
Return an inverted copy of the matrix.
Returns the inverted matrix.
Return type Matrix

Note: ValueError exception is raised.

lerp(other, factor)
Returns the interpolation of two matricies.
Parameters
• other (Matrix) – value to interpolate with.
• factor (float) – The interpolation value in [0.0, 1.0].
Returns The interpolated rotation.
Return type Matrix

3.1. Math Types & Utilities (mathutils) 1051


Blender Index, Release 2.57.0 r36138 - API

resize_4x4()
Resize the matrix to 4x4.
rotate(other)
Rotates the matrix a by another mathutils value.
Parameters other (Euler, Quaternion or Matrix) – rotation component of mathutils
value

Note: If any of the columns are not unit length this may not have desired results.

to_3x3()
Return a 3x3 copy of this matrix.
Returns a new matrix.
Return type Matrix
to_4x4()
Return a 4x4 copy of this matrix.
Returns a new matrix.
Return type Matrix
to_euler(order, euler_compat)
Return an Euler representation of the rotation matrix (3x3 or 4x4 matrix only).
Parameters
• order (string) – Optional rotation order argument in [’XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’,
‘ZXY’, ‘ZYX’].
• euler_compat (Euler) – Optional euler argument the new euler will be made compat-
ible with (no axis flipping between them). Useful for converting a series of matrices to
animation curves.
Returns Euler representation of the matrix.
Return type Euler
to_quaternion()
Return a quaternion representation of the rotation matrix.
Returns Quaternion representation of the rotation matrix.
Return type Quaternion
to_scale()
Return a the scale part of a 3x3 or 4x4 matrix.
Returns Return a the scale of a matrix.
Return type Vector

Note: This method does not return negative a scale on any axis because it is not possible to obtain this
data from the matrix alone.

to_translation()
Return a the translation part of a 4 row matrix.
Returns Return a the translation of a matrix.

1052 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Return type Vector


transpose()
Set the matrix to its transpose.
See Also:
<[Link]
transposed()
Return a new, transposed matrix.
Returns a transposed matrix
Return type Matrix
zero()
Set all the matrix values to zero.
Returns an instance of itself
Return type Matrix
col_size
The column size of the matrix (readonly).
Type int
is_negative
True if this matrix results in a negative scale, 3x3 and 4x4 only, (readonly).
Type bool
is_wrapped
True when this object wraps external data (readonly).
Type boolean
median_scale
The average scale applied to each axis (readonly).
Type float
owner
The item this is wrapping or None (readonly).
row_size
The row size of the matrix (readonly).
Type int
class [Link]
This object gives access to Quaternions in Blender.
import mathutils

# todo

conjugate()
Set the quaternion to its conjugate (negate x, y, z).
conjugated()
Return a new conjugated quaternion.
Returns a new quaternion.
Return type Quaternion

3.1. Math Types & Utilities (mathutils) 1053


Blender Index, Release 2.57.0 r36138 - API

copy()
Returns a copy of this quaternion.
Returns A copy of the quaternion.
Return type Quaternion

Note: use this to get a copy of a wrapped quaternion with no reference to the original data.

cross(other)
Return the cross product of this quaternion and another.
Parameters other (Quaternion) – The other quaternion to perform the cross product with.
Returns The cross product.
Return type Quaternion
dot(other)
Return the dot product of this quaternion and another.
Parameters other (Quaternion) – The other quaternion to perform the dot product with.
Returns The dot product.
Return type Quaternion
identity()
Set the quaternion to an identity quaternion.
Returns an instance of itself.
Return type Quaternion
invert()
Set the quaternion to its inverse.
inverted()
Return a new, inverted quaternion.
Returns the inverted value.
Return type Quaternion
negate()
Set the quaternion to its negative.
Returns an instance of itself.
Return type Quaternion
normalize()
Normalize the quaternion.
normalized()
Return a new normalized quaternion.
Returns a normalized copy.
Return type Quaternion
rotate(other)
Rotates the quaternion a by another mathutils value.
Parameters other (Euler, Quaternion or Matrix) – rotation component of mathutils
value

1054 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

difference(other)
Returns a quaternion representing the rotational difference.
Parameters other (Quaternion) – second quaternion.
Returns the rotational difference between the two quat rotations.
Return type Quaternion
slerp(other, factor)
Returns the interpolation of two quaternions.
Parameters
• other (Quaternion) – value to interpolate with.
• factor (float) – The interpolation value in [0.0, 1.0].
Returns The interpolated rotation.
Return type Quaternion
to_euler(order, euler_compat)
Return Euler representation of the quaternion.
Parameters
• order (string) – Optional rotation order argument in [’XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’,
‘ZXY’, ‘ZYX’].
• euler_compat (Euler) – Optional euler argument the new euler will be made compat-
ible with (no axis flipping between them). Useful for converting a series of matrices to
animation curves.
Returns Euler representation of the quaternion.
Return type Euler
to_matrix()
Return a matrix representation of the quaternion.
Returns A 3x3 rotation matrix representation of the quaternion.
Return type Matrix
angle
angle of the quaternion.
Type float
axis
quaternion axis as a vector.
Type Vector
is_wrapped
True when this object wraps external data (readonly).
Type boolean
magnitude
Size of the quaternion (readonly).
Type float
owner
The item this is wrapping or None (readonly).

3.1. Math Types & Utilities (mathutils) 1055


Blender Index, Release 2.57.0 r36138 - API

w
Quaternion W value.
Type float
x
Quaternion X axis.
Type float
y
Quaternion Y axis.
Type float
z
Quaternion Z axis.
Type float
class [Link]
This object gives access to Vectors in Blender.
import mathutils

# zero length vector


vec = [Link]((0, 0, 1))

# unit length vector


vec_a = [Link]().normalize()

vec_b = [Link]((0, 1, 2))

vec2d = [Link]((1, 2))


vec3d = [Link]((1, 0, 0))
vec4d = vec_a.to_4d()

# other mathutuls types


quat = [Link]()
matrix = [Link]()

# Comparison operators can be done on Vector classes:

# greater and less then test vector length.


vec_a > vec_b
vec_a >= vec_b
vec_a < vec_b
vec_a <= vec_b

# ==, != test vector values e.g. 1,2,3 != 3,2,1 even if they are the same length
vec_a == vec_b
vec_a != vec_b

# Math can be performed on Vector classes


vec_a + vec_b
vec_a - vec_b
vec_a * vec_b
vec_a * 10.0
vec_a * matrix
vec_a * vec_b

1056 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

vec_a * quat
-vec_a

# You can access a vector object like a sequence


x = vec_a[0]
len(vec)
vec_a[:] = vec_b
vec2d[:] = vec3d[:2]

# Vectors support ’swizzle’ operations


# See [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]
[Link] = [Link]

angle(other, fallback)
Return the angle between two vectors.
Parameters
• other (Vector) – another vector to compare the angle with
• fallback (any) – return this value when the angle cant be calculated (zero length vector)
Returns angle in radians or fallback when given
Return type float

Note: Zero length vectors raise an AttributeError.

copy()
Returns a copy of this vector.
Returns A copy of the vector.
Return type Vector

Note: use this to get a copy of a wrapped vector with no reference to the original data.

cross(other)
Return the cross product of this vector and another.
Parameters other (Vector) – The other vector to perform the cross product with.
Returns The cross product.
Return type Vector

Note: both vectors must be 3D

dot(other)
Return the dot product of this vector and another.
Parameters other (Vector) – The other vector to perform the dot product with.
Returns The dot product.

3.1. Math Types & Utilities (mathutils) 1057


Blender Index, Release 2.57.0 r36138 - API

Return type Vector


lerp(other, factor)
Returns the interpolation of two vectors.
Parameters
• other (Vector) – value to interpolate with.
• factor (float) – The interpolation value in [0.0, 1.0].
Returns The interpolated rotation.
Return type Vector
negate()
Set all values to their negative.
Returns an instance of itself
Return type Vector
normalize()
Normalize the vector, making the length of the vector always 1.0.

Warning: Normalizing a vector where all values are zero results in all axis having a nan value (not a
number).

Note: Normalize works for vectors of all sizes, however 4D Vectors w axis is left untouched.

normalized()
Return a new, normalized vector.
Returns a normalized copy of the vector
Return type Vector
project(other)
Return the projection of this vector onto the other.
Parameters other (Vector) – second vector.
Returns the parallel projection vector
Return type Vector
reflect(mirror)
Return the reflection vector from the mirror argument.
Parameters mirror (Vector) – This vector could be a normal from the reflecting surface.
Returns The reflected vector matching the size of this vector.
Return type Vector
resize_2d()
Resize the vector to 2D (x, y).
Returns an instance of itself
Return type Vector
resize_3d()
Resize the vector to 3D (x, y, z).

1058 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Returns an instance of itself


Return type Vector
resize_4d()
Resize the vector to 4D (x, y, z, w).
Returns an instance of itself
Return type Vector
rotate(other)
Return vector by a rotation value.
Parameters other (Euler, Quaternion or Matrix) – rotation component of mathutils
value
difference(other)
Returns a quaternion representing the rotational difference between this vector and another.
Parameters other (Vector) – second vector.
Returns the rotational difference between the two vectors.
Return type Quaternion

Note: 2D vectors raise an AttributeError.

to_2d()
Return a 2d copy of the vector.
Returns a new vector
Return type Vector
to_3d()
Return a 3d copy of the vector.
Returns a new vector
Return type Vector
to_4d()
Return a 4d copy of the vector.
Returns a new vector
Return type Vector
to_track_quat(track, up)
Return a quaternion rotation from the vector and the track and up axis.
Parameters
• track (string) – Track axis in [’X’, ‘Y’, ‘Z’, ‘-X’, ‘-Y’, ‘-Z’].
• up (string) – Up axis in [’X’, ‘Y’, ‘Z’].
Returns rotation from the vector and the track and up axis.
Return type Quaternion
to_tuple(precision=-1)
Return this vector as a tuple with.
Parameters precision (int) – The number to round the value to in [-1, 21].

3.1. Math Types & Utilities (mathutils) 1059


Blender Index, Release 2.57.0 r36138 - API

Returns the values of the vector rounded by precision


Return type tuple
zero()
Set all values to zero.
is_wrapped
True when this object wraps external data (readonly).
Type boolean
length
Vector Length.
Type float
magnitude
Vector Length.
Type float
owner
The item this is wrapping or None (readonly).
w
Vector W axis (4D Vectors only).
Type float
ww
Undocumented (contribute)
www
Undocumented (contribute)
wwww
Undocumented (contribute)
wwwx
Undocumented (contribute)
wwwy
Undocumented (contribute)
wwwz
Undocumented (contribute)
wwx
Undocumented (contribute)
wwxw
Undocumented (contribute)
wwxx
Undocumented (contribute)
wwxy
Undocumented (contribute)
wwxz
Undocumented (contribute)
wwy
Undocumented (contribute)

1060 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

wwyw
Undocumented (contribute)
wwyx
Undocumented (contribute)
wwyy
Undocumented (contribute)
wwyz
Undocumented (contribute)
wwz
Undocumented (contribute)
wwzw
Undocumented (contribute)
wwzx
Undocumented (contribute)
wwzy
Undocumented (contribute)
wwzz
Undocumented (contribute)
wx
Undocumented (contribute)
wxw
Undocumented (contribute)
wxww
Undocumented (contribute)
wxwx
Undocumented (contribute)
wxwy
Undocumented (contribute)
wxwz
Undocumented (contribute)
wxx
Undocumented (contribute)
wxxw
Undocumented (contribute)
wxxx
Undocumented (contribute)
wxxy
Undocumented (contribute)
wxxz
Undocumented (contribute)
wxy
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1061


Blender Index, Release 2.57.0 r36138 - API

wxyw
Undocumented (contribute)
wxyx
Undocumented (contribute)
wxyy
Undocumented (contribute)
wxyz
Undocumented (contribute)
wxz
Undocumented (contribute)
wxzw
Undocumented (contribute)
wxzx
Undocumented (contribute)
wxzy
Undocumented (contribute)
wxzz
Undocumented (contribute)
wy
Undocumented (contribute)
wyw
Undocumented (contribute)
wyww
Undocumented (contribute)
wywx
Undocumented (contribute)
wywy
Undocumented (contribute)
wywz
Undocumented (contribute)
wyx
Undocumented (contribute)
wyxw
Undocumented (contribute)
wyxx
Undocumented (contribute)
wyxy
Undocumented (contribute)
wyxz
Undocumented (contribute)
wyy
Undocumented (contribute)

1062 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

wyyw
Undocumented (contribute)
wyyx
Undocumented (contribute)
wyyy
Undocumented (contribute)
wyyz
Undocumented (contribute)
wyz
Undocumented (contribute)
wyzw
Undocumented (contribute)
wyzx
Undocumented (contribute)
wyzy
Undocumented (contribute)
wyzz
Undocumented (contribute)
wz
Undocumented (contribute)
wzw
Undocumented (contribute)
wzww
Undocumented (contribute)
wzwx
Undocumented (contribute)
wzwy
Undocumented (contribute)
wzwz
Undocumented (contribute)
wzx
Undocumented (contribute)
wzxw
Undocumented (contribute)
wzxx
Undocumented (contribute)
wzxy
Undocumented (contribute)
wzxz
Undocumented (contribute)
wzy
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1063


Blender Index, Release 2.57.0 r36138 - API

wzyw
Undocumented (contribute)
wzyx
Undocumented (contribute)
wzyy
Undocumented (contribute)
wzyz
Undocumented (contribute)
wzz
Undocumented (contribute)
wzzw
Undocumented (contribute)
wzzx
Undocumented (contribute)
wzzy
Undocumented (contribute)
wzzz
Undocumented (contribute)
x
Vector X axis.
Type float
xw
Undocumented (contribute)
xww
Undocumented (contribute)
xwww
Undocumented (contribute)
xwwx
Undocumented (contribute)
xwwy
Undocumented (contribute)
xwwz
Undocumented (contribute)
xwx
Undocumented (contribute)
xwxw
Undocumented (contribute)
xwxx
Undocumented (contribute)
xwxy
Undocumented (contribute)
xwxz
Undocumented (contribute)

1064 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

xwy
Undocumented (contribute)
xwyw
Undocumented (contribute)
xwyx
Undocumented (contribute)
xwyy
Undocumented (contribute)
xwyz
Undocumented (contribute)
xwz
Undocumented (contribute)
xwzw
Undocumented (contribute)
xwzx
Undocumented (contribute)
xwzy
Undocumented (contribute)
xwzz
Undocumented (contribute)
xx
Undocumented (contribute)
xxw
Undocumented (contribute)
xxww
Undocumented (contribute)
xxwx
Undocumented (contribute)
xxwy
Undocumented (contribute)
xxwz
Undocumented (contribute)
xxx
Undocumented (contribute)
xxxw
Undocumented (contribute)
xxxx
Undocumented (contribute)
xxxy
Undocumented (contribute)
xxxz
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1065


Blender Index, Release 2.57.0 r36138 - API

xxy
Undocumented (contribute)
xxyw
Undocumented (contribute)
xxyx
Undocumented (contribute)
xxyy
Undocumented (contribute)
xxyz
Undocumented (contribute)
xxz
Undocumented (contribute)
xxzw
Undocumented (contribute)
xxzx
Undocumented (contribute)
xxzy
Undocumented (contribute)
xxzz
Undocumented (contribute)
xy
Undocumented (contribute)
xyw
Undocumented (contribute)
xyww
Undocumented (contribute)
xywx
Undocumented (contribute)
xywy
Undocumented (contribute)
xywz
Undocumented (contribute)
xyx
Undocumented (contribute)
xyxw
Undocumented (contribute)
xyxx
Undocumented (contribute)
xyxy
Undocumented (contribute)
xyxz
Undocumented (contribute)

1066 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

xyy
Undocumented (contribute)
xyyw
Undocumented (contribute)
xyyx
Undocumented (contribute)
xyyy
Undocumented (contribute)
xyyz
Undocumented (contribute)
xyz
Undocumented (contribute)
xyzw
Undocumented (contribute)
xyzx
Undocumented (contribute)
xyzy
Undocumented (contribute)
xyzz
Undocumented (contribute)
xz
Undocumented (contribute)
xzw
Undocumented (contribute)
xzww
Undocumented (contribute)
xzwx
Undocumented (contribute)
xzwy
Undocumented (contribute)
xzwz
Undocumented (contribute)
xzx
Undocumented (contribute)
xzxw
Undocumented (contribute)
xzxx
Undocumented (contribute)
xzxy
Undocumented (contribute)
xzxz
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1067


Blender Index, Release 2.57.0 r36138 - API

xzy
Undocumented (contribute)
xzyw
Undocumented (contribute)
xzyx
Undocumented (contribute)
xzyy
Undocumented (contribute)
xzyz
Undocumented (contribute)
xzz
Undocumented (contribute)
xzzw
Undocumented (contribute)
xzzx
Undocumented (contribute)
xzzy
Undocumented (contribute)
xzzz
Undocumented (contribute)
y
Vector Y axis.
Type float
yw
Undocumented (contribute)
yww
Undocumented (contribute)
ywww
Undocumented (contribute)
ywwx
Undocumented (contribute)
ywwy
Undocumented (contribute)
ywwz
Undocumented (contribute)
ywx
Undocumented (contribute)
ywxw
Undocumented (contribute)
ywxx
Undocumented (contribute)
ywxy
Undocumented (contribute)

1068 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

ywxz
Undocumented (contribute)
ywy
Undocumented (contribute)
ywyw
Undocumented (contribute)
ywyx
Undocumented (contribute)
ywyy
Undocumented (contribute)
ywyz
Undocumented (contribute)
ywz
Undocumented (contribute)
ywzw
Undocumented (contribute)
ywzx
Undocumented (contribute)
ywzy
Undocumented (contribute)
ywzz
Undocumented (contribute)
yx
Undocumented (contribute)
yxw
Undocumented (contribute)
yxww
Undocumented (contribute)
yxwx
Undocumented (contribute)
yxwy
Undocumented (contribute)
yxwz
Undocumented (contribute)
yxx
Undocumented (contribute)
yxxw
Undocumented (contribute)
yxxx
Undocumented (contribute)
yxxy
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1069


Blender Index, Release 2.57.0 r36138 - API

yxxz
Undocumented (contribute)
yxy
Undocumented (contribute)
yxyw
Undocumented (contribute)
yxyx
Undocumented (contribute)
yxyy
Undocumented (contribute)
yxyz
Undocumented (contribute)
yxz
Undocumented (contribute)
yxzw
Undocumented (contribute)
yxzx
Undocumented (contribute)
yxzy
Undocumented (contribute)
yxzz
Undocumented (contribute)
yy
Undocumented (contribute)
yyw
Undocumented (contribute)
yyww
Undocumented (contribute)
yywx
Undocumented (contribute)
yywy
Undocumented (contribute)
yywz
Undocumented (contribute)
yyx
Undocumented (contribute)
yyxw
Undocumented (contribute)
yyxx
Undocumented (contribute)
yyxy
Undocumented (contribute)

1070 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

yyxz
Undocumented (contribute)
yyy
Undocumented (contribute)
yyyw
Undocumented (contribute)
yyyx
Undocumented (contribute)
yyyy
Undocumented (contribute)
yyyz
Undocumented (contribute)
yyz
Undocumented (contribute)
yyzw
Undocumented (contribute)
yyzx
Undocumented (contribute)
yyzy
Undocumented (contribute)
yyzz
Undocumented (contribute)
yz
Undocumented (contribute)
yzw
Undocumented (contribute)
yzww
Undocumented (contribute)
yzwx
Undocumented (contribute)
yzwy
Undocumented (contribute)
yzwz
Undocumented (contribute)
yzx
Undocumented (contribute)
yzxw
Undocumented (contribute)
yzxx
Undocumented (contribute)
yzxy
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1071


Blender Index, Release 2.57.0 r36138 - API

yzxz
Undocumented (contribute)
yzy
Undocumented (contribute)
yzyw
Undocumented (contribute)
yzyx
Undocumented (contribute)
yzyy
Undocumented (contribute)
yzyz
Undocumented (contribute)
yzz
Undocumented (contribute)
yzzw
Undocumented (contribute)
yzzx
Undocumented (contribute)
yzzy
Undocumented (contribute)
yzzz
Undocumented (contribute)
z
Vector Z axis (3D Vectors only).
Type float
zw
Undocumented (contribute)
zww
Undocumented (contribute)
zwww
Undocumented (contribute)
zwwx
Undocumented (contribute)
zwwy
Undocumented (contribute)
zwwz
Undocumented (contribute)
zwx
Undocumented (contribute)
zwxw
Undocumented (contribute)
zwxx
Undocumented (contribute)

1072 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

zwxy
Undocumented (contribute)
zwxz
Undocumented (contribute)
zwy
Undocumented (contribute)
zwyw
Undocumented (contribute)
zwyx
Undocumented (contribute)
zwyy
Undocumented (contribute)
zwyz
Undocumented (contribute)
zwz
Undocumented (contribute)
zwzw
Undocumented (contribute)
zwzx
Undocumented (contribute)
zwzy
Undocumented (contribute)
zwzz
Undocumented (contribute)
zx
Undocumented (contribute)
zxw
Undocumented (contribute)
zxww
Undocumented (contribute)
zxwx
Undocumented (contribute)
zxwy
Undocumented (contribute)
zxwz
Undocumented (contribute)
zxx
Undocumented (contribute)
zxxw
Undocumented (contribute)
zxxx
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1073


Blender Index, Release 2.57.0 r36138 - API

zxxy
Undocumented (contribute)
zxxz
Undocumented (contribute)
zxy
Undocumented (contribute)
zxyw
Undocumented (contribute)
zxyx
Undocumented (contribute)
zxyy
Undocumented (contribute)
zxyz
Undocumented (contribute)
zxz
Undocumented (contribute)
zxzw
Undocumented (contribute)
zxzx
Undocumented (contribute)
zxzy
Undocumented (contribute)
zxzz
Undocumented (contribute)
zy
Undocumented (contribute)
zyw
Undocumented (contribute)
zyww
Undocumented (contribute)
zywx
Undocumented (contribute)
zywy
Undocumented (contribute)
zywz
Undocumented (contribute)
zyx
Undocumented (contribute)
zyxw
Undocumented (contribute)
zyxx
Undocumented (contribute)

1074 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

zyxy
Undocumented (contribute)
zyxz
Undocumented (contribute)
zyy
Undocumented (contribute)
zyyw
Undocumented (contribute)
zyyx
Undocumented (contribute)
zyyy
Undocumented (contribute)
zyyz
Undocumented (contribute)
zyz
Undocumented (contribute)
zyzw
Undocumented (contribute)
zyzx
Undocumented (contribute)
zyzy
Undocumented (contribute)
zyzz
Undocumented (contribute)
zz
Undocumented (contribute)
zzw
Undocumented (contribute)
zzww
Undocumented (contribute)
zzwx
Undocumented (contribute)
zzwy
Undocumented (contribute)
zzwz
Undocumented (contribute)
zzx
Undocumented (contribute)
zzxw
Undocumented (contribute)
zzxx
Undocumented (contribute)

3.1. Math Types & Utilities (mathutils) 1075


Blender Index, Release 2.57.0 r36138 - API

zzxy
Undocumented (contribute)
zzxz
Undocumented (contribute)
zzy
Undocumented (contribute)
zzyw
Undocumented (contribute)
zzyx
Undocumented (contribute)
zzyy
Undocumented (contribute)
zzyz
Undocumented (contribute)
zzz
Undocumented (contribute)
zzzw
Undocumented (contribute)
zzzx
Undocumented (contribute)
zzzy
Undocumented (contribute)
zzzz
Undocumented (contribute)

3.2 Geometry Utilities ([Link])

The Blender geometry module


[Link].area_tri(v1, v2, v3)
Returns the area size of the 2D or 3D triangle defined.
Parameters
• v1 ([Link]) – Point1
• v2 ([Link]) – Point2
• v3 ([Link]) – Point3
Return type float
[Link].barycentric_transform(point, tri_a1, tri_a2, tri_a3, tri_b1, tri_b2,
tri_b3)
Return a transformed point, the transformation is defined by 2 triangles.
Parameters
• point ([Link]) – The point to transform.
• tri_a1 ([Link]) – source triangle vertex.

1076 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

• tri_a2 ([Link]) – source triangle vertex.


• tri_a3 ([Link]) – source triangle vertex.
• tri_a1 – target triangle vertex.
• tri_a2 – target triangle vertex.
• tri_a3 – target triangle vertex.
Returns The transformed point
Return type [Link]‘s
[Link].box_pack_2d(boxes)
Returns the normal of the 3D tri or quad.
Parameters boxes (list) – list of boxes, each box is a list where the first 4 items are [x, y, width,
height, ...] other items are ignored.
Returns the width and height of the packed bounding box
Return type tuple, pair of floats
[Link].interpolate_bezier(knot1, handle1, handle2, knot2, resolution)
Interpolate a bezier spline segment.
Parameters
• knot1 ([Link]) – First bezier spline point.
• handle1 ([Link]) – First bezier spline handle.
• handle2 ([Link]) – Second bezier spline handle.
• knot2 ([Link]) – Second bezier spline point.
• resolution (int) – Number of points to return.
Returns The interpolated points
Return type list of [Link]‘s
[Link].intersect_line_line(v1, v2, v3, v4)
Returns a tuple with the points on each line respectively closest to the other.
Parameters
• v1 ([Link]) – First point of the first line
• v2 ([Link]) – Second point of the first line
• v3 ([Link]) – First point of the second line
• v4 ([Link]) – Second point of the second line
Return type tuple of [Link]‘s
[Link].intersect_line_line_2d(lineA_p1, lineA_p2, lineB_p1, lineB_p2)
Takes 2 lines (as 4 vectors) and returns a vector for their point of intersection or None.
Parameters
• lineA_p1 ([Link]) – First point of the first line
• lineA_p2 ([Link]) – Second point of the first line
• lineB_p1 ([Link]) – First point of the second line
• lineB_p2 ([Link]) – Second point of the second line

3.2. Geometry Utilities ([Link]) 1077


Blender Index, Release 2.57.0 r36138 - API

Returns The point of intersection or None when not found


Return type [Link] or None
[Link].intersect_point_line(pt, line_p1, line_p2)
Takes a point and a line and returns a tuple with the closest point on the line and its distance from the first point
of the line as a percentage of the length of the line.
Parameters
• pt ([Link]) – Point
• line_p1 ([Link]) – First point of the line
• line_p1 – Second point of the line
Return type ([Link], float)
[Link].intersect_point_quad_2d(pt, quad_p1, quad_p2, quad_p3, quad_p4)
Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, only the x
and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0.
Parameters
• pt – Point
• quad_p1 ([Link]) – First point of the quad
• quad_p2 ([Link]) – Second point of the quad
• quad_p3 ([Link]) – Third point of the quad
• quad_p4 ([Link]) – Forth point of the quad
Return type int
[Link].intersect_point_tri_2d(pt, tri_p1, tri_p2, tri_p3)
Takes 4 vectors (using only the x and y coordinates): one is the point and the next 3 define the triangle. Returns
1 if the point is within the triangle, otherwise 0.
Parameters
• pt – Point
• tri_p1 ([Link]) – First point of the triangle
• tri_p2 ([Link]) – Second point of the triangle
• tri_p3 ([Link]) – Third point of the triangle
Return type int
[Link].intersect_ray_tri(v1, v2, v3, ray, orig, clip=True)
Returns the intersection between a ray and a triangle, if possible, returns None otherwise.
Parameters
• v1 ([Link]) – Point1
• v2 ([Link]) – Point2
• v3 ([Link]) – Point3
• ray ([Link]) – Direction of the projection
• orig ([Link]) – Origin
• clip (boolean) – Clip by the ray length

1078 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Returns The point of intersection or None if no intersection is found


Return type [Link] or None
[Link](v1, v2, v3, v4=None)
Returns the normal of the 3D tri or quad.
Parameters
• v1 ([Link]) – Point1
• v2 ([Link]) – Point2
• v3 ([Link]) – Point3
• v4 ([Link]) – Point4 (optional)
Return type [Link]
[Link].tesselate_polygon(veclist_list)
Takes a list of polylines (each point a vector) and returns the point indices for a polyline filled with triangles.
Parameters veclist_list – list of polylines
Return type list

3.3 Font Drawing (blf)

This module provides access to blenders text drawing functions.


[Link]
constant value 2
blf.KERNING_DEFAULT
constant value 8
[Link]
constant value 1
[Link]
constant value 4
[Link](fontid, aspect)
Set the aspect for drawing text.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• aspect (float) – The aspect ratio for text drawing to use.
[Link](fontid, radius)
Set the blur radius for drawing text.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• radius (int) – The radius for blurring text (in pixels).
[Link](fontid, xmin, ymin, xmax, ymax)
Set the clipping, enable/disable using CLIPPING.
Parameters

3.3. Font Drawing (blf) 1079


Blender Index, Release 2.57.0 r36138 - API

• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• xmin (float) – Clip the drawing area by these bounds.
• ymin (float) – Clip the drawing area by these bounds.
• xmax (float) – Clip the drawing area by these bounds.
• ymax (float) – Clip the drawing area by these bounds.
[Link](fontid, text)
Return the width and height of the text.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• text (string) – the text to draw.
Returns the width and height of the text.
Return type tuple of 2 floats
[Link](fontid, option)
Disable option.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• option (int) – One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
[Link](fontid, text)
Draw text in the current context.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• text (string) – the text to draw.
[Link](fontid, option)
Enable option.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• option (int) – One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
[Link](filename)
Load a new font.
Parameters filename (string) – the filename of the font.
Returns the new font’s fontid or -1 if there was an error.
Return type integer
[Link](fontid, x, y, z)
Set the position for drawing text.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• x (float) – X axis position to draw the text.
• y (float) – Y axis position to draw the text.

1080 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

• z (float) – Z axis position to draw the text.


[Link](fontid, angle)
Set the text rotation angle, enable/disable using ROTATION.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• angle (float) – The angle for text drawing to use.
[Link](fontid, level, r, g, b, a)
Shadow options, enable/disable using SHADOW .
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• level (int) – The blur level, can be 3, 5 or 0.
• r (float) – Shadow color (red channel 0.0 - 1.0).
• g (float) – Shadow color (green channel 0.0 - 1.0).
• b (float) – Shadow color (blue channel 0.0 - 1.0).
• a (float) – Shadow color (alpha channel 0.0 - 1.0).
blf.shadow_offset(fontid, x, y)
Set the offset for shadow text.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• x (float) – Vertical shadow offset value in pixels.
• y (float) – Horizontal shadow offset value in pixels.
[Link](fontid, size, dpi)
Set the size and dpi for drawing text.
Parameters
• fontid (int) – The id of the typeface as returned by [Link](), for default font use 0.
• size (int) – Point size of the font.
• dpi (int) – dots per inch value to use for drawing.

3.4 Audio System (aud)

This module provides access to the audaspace audio library.


aud.AUD_DEVICE_JACK
constant value 3
aud.AUD_DEVICE_NULL
constant value 0
aud.AUD_DEVICE_OPENAL
constant value 1
aud.AUD_DEVICE_SDL
constant value 2

3.4. Audio System (aud) 1081


Blender Index, Release 2.57.0 r36138 - API

aud.AUD_DISTANCE_MODEL_EXPONENT
constant value 5
aud.AUD_DISTANCE_MODEL_EXPONENT_CLAMPED
constant value 6
aud.AUD_DISTANCE_MODEL_INVALID
constant value 0
aud.AUD_DISTANCE_MODEL_INVERSE
constant value 1
aud.AUD_DISTANCE_MODEL_INVERSE_CLAMPED
constant value 2
aud.AUD_DISTANCE_MODEL_LINEAR
constant value 3
aud.AUD_DISTANCE_MODEL_LINEAR_CLAMPED
constant value 4
aud.AUD_FORMAT_FLOAT32
constant value 36
aud.AUD_FORMAT_FLOAT64
constant value 40
aud.AUD_FORMAT_INVALID
constant value 0
aud.AUD_FORMAT_S16
constant value 18
aud.AUD_FORMAT_S24
constant value 19
aud.AUD_FORMAT_S32
constant value 20
aud.AUD_FORMAT_U8
constant value 1
aud.AUD_STATUS_INVALID
constant value 0
aud.AUD_STATUS_PAUSED
constant value 2
aud.AUD_STATUS_PLAYING
constant value 1
device()
Returns the application’s Device.
return The application’s Device.
rtype Device
class [Link]
Device objects represent an audio output backend like OpenAL or SDL, but might also represent a file output or
RAM buffer output.
lock()

1082 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Locks the device so that it’s guaranteed, that no samples are read from the streams until unlock() is called.
This is useful if you want to do start/stop/pause/resume some sounds at the same time.

Note: The device has to be unlocked as often as locked to be able to continue playback.

Warning: Make sure the time between locking and unlocking is as short as possible to avoid clicks.

play(factory, keep=False)
Plays a factory.
Parameters
• factory (Factory) – The factory to play.
• keep (bool) – See [Link].
Returns The playback handle with which playback can be controlled with.
Return type Handle
unlock()
Unlocks the device after a lock call, see lock() for details.
channels
The channel count of the device.
distance_model
The distance model of the device.
See Also:
[Link]
doppler_factor
The doppler factor of the device. This factor is a scaling factor for the velocity vectors in doppler calcula-
tion. So a value bigger than 1 will exaggerate the effect as it raises the velocity.
format
The native sample format of the device.
listener_location
The listeners’s location in 3D space, a 3D tuple of floats.
listener_orientation
The listener’s orientation in 3D space as quaternion, a 4 float tuple.
listener_velocity
The listener’s velocity in 3D space, a 3D tuple of floats.
rate
The sampling rate of the device in Hz.
speed_of_sound
The speed of sound of the device. The speed of sound in air is typically 343 m/s.
volume
The overall volume of the device.
class [Link]
Factory objects are immutable and represent a sound that can be played simultaneously multiple times. They
are called factories because they create reader objects internally that are used for playback.

3.4. Audio System (aud) 1083


Blender Index, Release 2.57.0 r36138 - API

file(filename)
Creates a factory object of a sound file.
Parameters filename (string) – Path of the file.
Returns The created Factory object.
Return type Factory

Warning: If the file doesn’t exist or can’t be read you will not get an exception immediately, but when you
try to start playback of that factory.

sine(frequency, rate=44100)
Creates a sine factory which plays a sine wave.
Parameters
• frequency (float) – The frequency of the sine wave in Hz.
• rate (int) – The sampling rate in Hz. It’s recommended to set this value to the playback
device’s samling rate to avoid resamping.
Returns The created Factory object.
Return type Factory
buffer()
Buffers a factory into RAM. This saves CPU usage needed for decoding and file access if the underlying factory
reads from a file on the harddisk, but it consumes a lot of memory.
Returns The created Factory object.
Return type Factory

Note: Only known-length factories can be buffered.

Warning: Raw PCM data needs a lot of space, only buffer short factories.

delay(time)
Delays by playing adding silence in front of the other factory’s data.
Parameters time (float) – How many seconds of silence should be added before the factory.
Returns The created Factory object.
Return type Factory
fadein(start, length)
Fades a factory in by raising the volume linearly in the given time interval.
Parameters
• start (float) – Time in seconds when the fading should start.
• length (float) – Time in seconds how long the fading should last.
Returns The created Factory object.
Return type Factory

1084 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Note: Before the fade starts it plays silence.

fadeout(start, length)
Fades a factory in by lowering the volume linearly in the given time interval.
Parameters
• start (float) – Time in seconds when the fading should start.
• length (float) – Time in seconds how long the fading should last.
Returns The created Factory object.
Return type Factory

Note: After the fade this factory plays silence, so that the length of the factory is not altered.

filter(b, a = (1))
Filters a factory with the supplied IIR filter coefficients. Without the second parameter you’ll get a FIR filter.
If the first value of the a sequence is 0 it will be set to 1 automatically. If the first value of the a sequence is
neither 0 nor 1, all filter coefficients will be scaled by this value so that it is 1 in the end, you don’t have to scale
yourself.
Parameters
• b (sequence of float) – The nominator filter coefficients.
• a (sequence of float) – The denominator filter coefficients.
Returns The created Factory object.
Return type Factory
highpass(frequency, Q=0.5)
Creates a second order highpass filter based on the transfer function H(s) = s^2 / (s^2 + s/Q + 1)
Parameters
• frequency (float) – The cut off trequency of the highpass.
• Q (float) – Q factor of the lowpass.
Returns The created Factory object.
Return type Factory
join(factory)
Plays two factories in sequence.
Parameters factory (Factory) – The factory to play second.
Returns The created Factory object.
Return type Factory

Note: The two factories have to have the same specifications (channels and samplerate).

limit(start, end)

3.4. Audio System (aud) 1085


Blender Index, Release 2.57.0 r36138 - API

Limits a factory within a specific start and end time.


Parameters
• start (float) – Start time in seconds.
• end (float) – End time in seconds.
Returns The created Factory object.
Return type Factory
loop(count)
Loops a factory.
Parameters count (integer) – How often the factory should be looped. Negative values mean end-
lessly.
Returns The created Factory object.
Return type Factory

Note: This is a filter function, you might consider using Handle.loop_count instead.

lowpass(frequency, Q=0.5)
Creates a second order lowpass filter based on the transfer function H(s) = 1 / (s^2 + s/Q + 1)
Parameters
• frequency (float) – The cut off trequency of the lowpass.
• Q (float) – Q factor of the lowpass.
Returns The created Factory object.
Return type Factory
mix(factory)
Mixes two factories.
Parameters factory (Factory) – The factory to mix over the other.
Returns The created Factory object.
Return type Factory

Note: The two factories have to have the same specifications (channels and samplerate).

pingpong()
Plays a factory forward and then backward. This is like joining a factory with its reverse.
Returns The created Factory object.
Return type Factory
pitch(factor)
Changes the pitch of a factory with a specific factor.
Parameters factor (float) – The factor to change the pitch with.
Returns The created Factory object.

1086 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Return type Factory

Note: This is done by changing the sample rate of the underlying factory, which has to be an integer, so the
factor value rounded and the factor may not be 100 % accurate.

Note: This is a filter function, you might consider using [Link] instead.

reverse()
Plays a factory reversed.
Returns The created Factory object.
Return type Factory

Note: The factory has to have a finite length and has to be seekable. It’s recommended to use this only with
factories with fast and accurate seeking, which is not true for encoded audio files, such ones should be buffered
using buffer() before being played reversed.

Warning: If seeking is not accurate in the underlying factory you’ll likely hear skips/jumps/cracks.

square(threshold = 0)
Makes a square wave out of an audio wave by setting all samples with a amplitude >= threshold to 1, all <=
-threshold to -1 and all between to 0.
Parameters threshold (float) – Threshold value over which an amplitude counts non-zero.
Returns The created Factory object.
Return type Factory
volume(volume)
Changes the volume of a factory.
Parameters volume (float) – The new volume..
Returns The created Factory object.
Return type Factory

Note: Should be in the range [0, 1] to avoid clipping.

Note: This is a filter function, you might consider using [Link] instead.

class [Link]
Handle objects are playback handles that can be used to control playback of a sound. If a sound is played back
multiple times then there are as many handles.
pause()
Pauses playback.
Returns Whether the action succeeded.
Return type bool

3.4. Audio System (aud) 1087


Blender Index, Release 2.57.0 r36138 - API

resume()
Resumes playback.
Returns Whether the action succeeded.
Return type bool
stop()
Stops playback.
Returns Whether the action succeeded.
Return type bool

Note: This makes the handle invalid.

attenuation
This factor is used for distance based attenuation of the source.
See Also:
Device.distance_model
cone_angle_inner
The opening angle of the inner cone of the source. If the cone values of a source are set there are two
(audible) cones with the apex at the location of the source and with infinite height, heading in the
direction of the source’s orientation. In the inner cone the volume is normal. Outside the outer
cone the volume will be cone_volume_outer and in the area between the volume will be interpolated
linearly.
cone_angle_outer
The opening angle of the outer cone of the source.
See Also:
cone_angle_inner
cone_volume_outer
The volume outside the outer cone of the source.
See Also:
cone_angle_inner
distance_maximum
The maximum distance of the source. If the listener is further away the source volume will be 0.
See Also:
Device.distance_model
distance_reference
The reference distance of the source. At this distance the volume will be exactly volume.
See Also:
Device.distance_model
keep
Whether the sound should be kept paused in the device when its end is reached. This can be used to seek
the sound to some position and start playback again.

1088 Chapter 3. Standalone Modules


Blender Index, Release 2.57.0 r36138 - API

Warning: If this is set to true and you forget stopping this equals a memory leak as the handle exists
until the device is destroyed.

location
The source’s location in 3D space, a 3D tuple of floats.
loop_count
The (remaining) loop count of the sound. A negative value indicates infinity.
orientation
The source’s orientation in 3D space as quaternion, a 4 float tuple.
pitch
The pitch of the sound.
position
The playback position of the sound in seconds.
relative
Whether the source’s location, velocity and orientation is relative or absolute to the listener.
status
Whether the sound is playing, paused or stopped (=invalid).
velocity
The source’s velocity in 3D space, a 3D tuple of floats.
volume
The volume of the sound.
volume_maximum
The maximum volume of the source.
See Also:
Device.distance_model
volume_minimum
The minimum volume of the source.
See Also:
Device.distance_model
class [Link]

3.4. Audio System (aud) 1089


Blender Index, Release 2.57.0 r36138 - API

1090 Chapter 3. Standalone Modules


CHAPTER

FOUR

GAME ENGINE MODULES

4.1 Game Engine [Link] Module

class [Link]
PyObjectPlus base class of most other types in the Game Engine.
invalid
Test if the object has been freed by the game engine and is no longer valid.
Normally this is not a problem but when storing game engine data in the GameLogic module, KX_Scenes
or other KX_GameObjects its possible to hold a reference to invalid data. Calling an attribute or method
on an invalid object will raise a SystemError.
The invalid attribute allows testing for this case without exception handling.
Type boolean
class [Link](PyObjectPlus)
This class is a basis for other classes.
name
The name of this CValue derived object (read-only).
Type string
class [Link](CValue)
This class has no python functions
class [Link].SCA_ILogicBrick(CValue)
Base class for all logic bricks.
executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed
first).
Type executePriority: int
owner
The game object this logic brick is attached to (read-only).
Type KX_GameObject or None in exceptional cases.
name
The name of this logic brick (read-only).
Type string

1091
Blender Index, Release 2.57.0 r36138 - API

class [Link].SCA_PythonKeyboard(PyObjectPlus)
The current keyboard.
events
A dictionary containing the status of each keyboard event or key. (read-only).
Type dictionary {keycode:status, ...}
class [Link].SCA_PythonMouse(PyObjectPlus)
The current mouse.
events
a dictionary containing the status of each mouse event. (read-only).
Type dictionary {keycode:status, ...}
position
The normalized x and y position of the mouse cursor.
Type list [x, y]
visible
The visibility of the mouse cursor.
Type boolean
class [Link].SCA_IObject(CValue)
This class has no python functions
class [Link].SCA_ISensor(SCA_ILogicBrick)
Base class for all sensor logic bricks.
usePosPulseMode
Flag to turn positive pulse mode on and off.
Type boolean
useNegPulseMode
Flag to turn negative pulse mode on and off.
Type boolean
frequency
The frequency for pulse mode sensors.
Type integer
level
level Option whether to detect level or edge transition when entering a state. It makes a difference only in
case of logic state transition (state actuator). A level detector will immediately generate a pulse, negative
or positive depending on the sensor condition, as soon as the state is activated. A edge detector will wait
for a state change before generating a pulse. note: mutually exclusive with tap, enabling will disable
tap.
Type boolean
tap
When enabled only sensors that are just activated will send a positive event, after this they will be detected
as negative by the controllers. This will make a key thats held act as if its only tapped for an instant. note:
mutually exclusive with level, enabling will disable level.
Type boolean
invert
Flag to set if this sensor activates on positive or negative events.

1092 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean
triggered
True if this sensor brick is in a positive state. (read-only).
Type boolean
positive
True if this sensor brick is in a positive state. (read-only).
Type boolean
status
The status of the sensor (read-only): can be one of these constants.
Type int

Note: This convenient attribute combines the values of triggered and positive attributes.

reset()
Reset sensor internal state, effect depends on the type of sensor and settings.
The sensor is put in its initial state as if it was just activated.
class [Link].SCA_IController(SCA_ILogicBrick)
Base class for all controller logic bricks.
state
The controllers state bitmask. This can be used with the GameObject’s state to test if the controller is
active.
Type int bitmask
sensors
A list of sensors linked to this controller.
Type sequence supporting index/string lookups and iteration.

Note: The sensors are not necessarily owned by the same object.

Note: When objects are instanced in dupligroups links may be lost from objects outside the dupligroup.

actuators
A list of actuators linked to this controller.
Type sequence supporting index/string lookups and iteration.

Note: The sensors are not necessarily owned by the same object.

Note: When objects are instanced in dupligroups links may be lost from objects outside the dupligroup.

useHighPriority
When set the controller executes always before all other controllers that dont have this set.
Type boolen

4.1. Game Engine [Link] Module 1093


Blender Index, Release 2.57.0 r36138 - API

Note: Order of execution between high priority controllers is not guaranteed.

class [Link].SCA_IActuator(SCA_ILogicBrick)
Base class for all actuator logic bricks.
class [Link].BL_ActionActuator(SCA_IActuator)
Action Actuators apply an action to an actor.
action
The name of the action to set as the current action.
Type string
channelNames
A list of channel names that may be used with setChannel and getChannel.
Type list of strings
frameStart
Specifies the starting frame of the animation.
Type float
frameEnd
Specifies the ending frame of the animation.
Type float
blendIn
Specifies the number of frames of animation to generate when making transitions between actions.
Type float
priority
Sets the priority of this actuator. Actuators will lower priority numbers will override actuators with higher
numbers.
Type integer
frame
Sets the current frame for the animation.
Type float
propName
Sets the property to be used in FromProp playback mode.
Type string
blendTime
Sets the internal frame timer. This property must be in the range from 0.0 to blendIn.
Type float
mode
The operation mode of the actuator. Can be one of these constants.
Type integer
useContinue
The actions continue option, True or False. When True, the action will always play from where last left
off, otherwise negative events to this actuator will reset it to its start frame.
Type boolean

1094 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

framePropName
The name of the property that is set to the current frame number.
Type string
setChannel(channel, matrix)
Alternative to the 2 arguments, 4 arguments (channel, matrix, loc, size, quat) are also supported.
Parameters
• channel (string) – A string specifying the name of the bone channel, error raised if not in
channelNames.
• matrix – A 4x4 matrix specifying the overriding transformation as an offset from the
bone’s rest position.
• matrix – list [[float]]

Note: These values are relative to the bones rest position, currently the api has no way to get this info
(which is annoying), but can be worked around by using bones with a rest pose that has no translation.

getChannel(channel)
Parameters channel (string) – A string specifying the name of the bone channel. error raised if
not in channelNames.
Returns (loc, size, quat)
Return type tuple
class [Link].BL_Shader(PyObjectPlus)
BL_Shader GLSL shaders.
TODO - Description
setUniformfv(name, fList)
Set a uniform with a list of float values
Parameters
• name (string) – the uniform name
• fList (list[float]) – a list (2, 3 or 4 elements) of float values
delSource()
Clear the shader. Use this method before the source is changed with setSource.
getFragmentProg()
Returns the fragment program.
Returns The fragment program.
Return type string
getVertexProg()
Get the vertex program.
Returns The vertex program.
Return type string
isValid()
Check if the shader is valid.
Returns True if the shader is valid

4.1. Game Engine [Link] Module 1095


Blender Index, Release 2.57.0 r36138 - API

Return type boolean


setAttrib(enum)
Set attribute location. (The parameter is ignored a.t.m. and the value of “tangent” is always used.)
Parameters enum (integer) – attribute location value
setNumberOfPasses(max_pass)
Set the maximum number of passes. Not used a.t.m.
Parameters max_pass (integer) – the maximum number of passes
setSampler(name, index)
Set uniform texture sample index.
Parameters
• name (string) – Uniform name
• index (integer) – Texture sample index.
setSource(vertexProgram, fragmentProgram)
Set the vertex and fragment programs
Parameters
• vertexProgram (string) – Vertex program
• fragmentProgram (string) – Fragment program
setUniform1f(name, fx)
Set a uniform with 1 float value.
Parameters
• name (string) – the uniform name
• fx (float) – Uniform value
setUniform1i(name, ix)
Set a uniform with an integer value.
Parameters
• name (string) – the uniform name
• ix (integer) – the uniform value
setUniform2f(name, fx, fy)
Set a uniform with 2 float values
Parameters
• name (string) – the uniform name
• fx (float) – first float value
• fy (float) – second float value
setUniform2i(name, ix, iy)
Set a uniform with 2 integer values
Parameters
• name (string) – the uniform name
• ix (integer) – first integer value
• iy (integer) – second integer value

1096 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

setUniform3f(name, fx, fy, fz)


Set a uniform with 3 float values.
Parameters
• name (string) – the uniform name
• fx (float) – first float value
• fy (float) – second float value
• fz (float) – third float value
setUniform3i(name, ix, iy, iz)
Set a uniform with 3 integer values
Parameters
• name (string) – the uniform name
• ix (integer) – first integer value
• iy (integer) – second integer value
• iz (integer) – third integer value
setUniform4f(name, fx, fy, fz, fw)
Set a uniform with 4 float values.
Parameters
• name (string) – the uniform name
• fx (float) – first float value
• fy (float) – second float value
• fz (float) – third float value
• fw (float) – fourth float value
setUniform4i(name, ix, iy, iz, iw)
Set a uniform with 4 integer values
Parameters
• name (string) – the uniform name
• ix (integer) – first integer value
• iy (integer) – second integer value
• iz (integer) – third integer value
• iw (integer) – fourth integer value
setUniformDef(name, type)
Define a new uniform
Parameters
• name (string) – the uniform name
• type (UNI_NONE, UNI_INT, UNI_FLOAT, UNI_INT2, UNI_FLOAT2, UNI_INT3,
UNI_FLOAT3, UNI_INT4, UNI_FLOAT4, UNI_MAT3, UNI_MAT4, UNI_MAX) – uni-
form type
setUniformMatrix3(name, mat, transpose)
Set a uniform with a 3x3 matrix value

4.1. Game Engine [Link] Module 1097


Blender Index, Release 2.57.0 r36138 - API

Parameters
• name (string) – the uniform name
• mat (3x3 matrix) – A 3x3 matrix [[f, f, f], [f, f, f], [f, f, f]]
• transpose (boolean) – set to True to transpose the matrix
setUniformMatrix4(name, mat, transpose)
Set a uniform with a 4x4 matrix value
Parameters
• name (string) – the uniform name
• mat (4x4 matrix) – A 4x4 matrix [[f, f, f, f], [f, f, f, f], [f, f, f, f], [f, f, f, f]]
• transpose (boolean) – set to True to transpose the matrix
setUniformiv(name, iList)
Set a uniform with a list of integer values
Parameters
• name (string) – the uniform name
• iList (list[integer]) – a list (2, 3 or 4 elements) of integer values
validate()
Validate the shader object.
class [Link].BL_ShapeActionActuator(SCA_IActuator)
ShapeAction Actuators apply an shape action to an mesh object.
action
The name of the action to set as the current shape action.
Type string
frameStart
Specifies the starting frame of the shape animation.
Type float
frameEnd
Specifies the ending frame of the shape animation.
Type float
blendIn
Specifies the number of frames of animation to generate when making transitions between actions.
Type float
priority
Sets the priority of this actuator. Actuators will lower priority numbers will override actuators with higher
numbers.
Type integer
frame
Sets the current frame for the animation.
Type float
propName
Sets the property to be used in FromProp playback mode.

1098 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Type string
blendTime
Sets the internal frame timer. This property must be in the range from 0.0 to blendin.
Type float
mode
The operation mode of the actuator. Can be one of these constants.
Type integer
framePropName
The name of the property that is set to the current frame number.
Type string
class [Link](CPropValue)
This is a list like object used in the game engine internally that behaves similar to a python list in most ways.
As well as the normal index lookup (val= clist[i]), CListValue supports string lookups (val=
[Link]["Cube"])
Other operations such as len(clist), list(clist), clist[0:10] are also supported.
append(val)
Add an item to the list (like pythons append)

Warning: Appending values to the list can cause crashes when the list is used internally by the game
engine.

count(val)
Count the number of instances of a value in the list.
Returns number of instances
Return type integer
index(val)
Return the index of a value in the list.
Returns The index of the value in the list.
Return type integer
reverse()
Reverse the order of the list.
get(key, default=None)
Return the value matching key, or the default value if its not found.
Returns The key value or a default.
from_id(id)
This is a funtion especially for the game engine to return a value with a spesific id.
Since object names are not always unique, the id of an object can be used to get an object from the
CValueList.
Example:
myObID=id(gameObject)
ob= [Link].from_id(myObID)

4.1. Game Engine [Link] Module 1099


Blender Index, Release 2.57.0 r36138 - API

Where myObID is an int or long from the id function.


This has the advantage that you can store the id in places you could not store a gameObject.

Warning: The id is derived from a memory location and will be different each time the game engine
starts.

class [Link].KX_BlenderMaterial(PyObjectPlus)
KX_BlenderMaterial
getShader()
Returns the material’s shader.
Returns the material’s shader
Return type BL_Shader
setBlending(src, dest)
Set the pixel color arithmetic functions.
Parameters
• src – Specifies how the red, green, blue, and alpha source blending factors are computed.
• dest – Specifies how the red, green, blue, and alpha destination blending factors are com-
puted.
getMaterialIndex()
Returns the material’s index.
Returns the material’s index
Return type integer
class [Link].KX_CameraActuator(SCA_IActuator)
Applies changes to a camera.
min
minimum distance to the target object maintained by the actuator.
Type float
max
maximum distance to stay from the target object.
Type float
height
height to stay above the target object.
Type float
useXY
axis this actuator is tracking, True=X, False=Y.
Type boolean
object
the object this actuator tracks.
Type KX_GameObject or None
class [Link].KX_ConstraintActuator(SCA_IActuator)
A constraint actuator limits the position, rotation, distance or orientation of an object.

1100 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

damp
Time constant of the constraint expressed in frame (not use by Force field constraint).
Type integer
rotDamp
Time constant for the rotation expressed in frame (only for the distance constraint), 0 = use damp for
rotation as well.
Type integer
direction
The reference direction in world coordinate for the orientation constraint.
Type 3-tuple of float: (x, y, z)
option
Binary combination of these constants
Type integer
time
activation time of the actuator. The actuator disables itself after this many frame. If set to 0, the actuator is
not limited in time.
Type integer
propName
the name of the property or material for the ray detection of the distance constraint.
Type string
min
The lower bound of the constraint. For the rotation and orientation constraint, it represents radiant.
Type float
distance
the target distance of the distance constraint.
Type float
max
the upper bound of the constraint. For rotation and orientation constraints, it represents radiant.
Type float
rayLength
the length of the ray of the distance constraint.
Type float
limit
type of constraint. Use one of the these constants
Type integer.
class [Link].KX_ConstraintWrapper(PyObjectPlus)
KX_ConstraintWrapper
getConstraintId(val)
Returns the contraint’s ID
Returns the constraint’s ID
Return type integer

4.1. Game Engine [Link] Module 1101


Blender Index, Release 2.57.0 r36138 - API

class [Link].KX_GameActuator(SCA_IActuator)
The game actuator loads a new .blend file, restarts the current .blend file or quits the game.
fileName
the new .blend file to load.
Type string
mode
The mode of this actuator. Can be on of these constants
Type Int
class [Link].KX_GameObject(SCA_IObject)
All game objects are derived from this class.
Properties assigned to game objects are accessible as attributes of this class.

Note: Calling ANY method or attribute on an object that has been removed from a scene will raise a Syste-
mError, if an object may have been removed since last accessing it use the invalid attribute to check.

name
The object’s name. (read-only).
Type string
mass
The object’s mass
Type float

Note: The object must have a physics controller for the mass to be applied, otherwise the mass value will
be returned as 0.0.

linVelocityMin
Enforces the object keeps moving at a minimum velocity.
Type float

Note: Applies to dynamic and rigid body objects only.

Note: A value of 0.0 disables this option.

Note: While objects are stationary the minimum velocity will not be applied.

linVelocityMax
Clamp the maximum linear velocity to prevent objects moving beyond a set speed.
Type float

Note: Applies to dynamic and rigid body objects only.

Note: A value of 0.0 disables this option (rather then setting it stationary).

1102 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

localInertia
the object’s inertia vector in local coordinates. Read only.
Type list [ix, iy, iz]
parent
The object’s parent object. (read-only).
Type KX_GameObject or None
visible
visibility flag.
Type boolean

Note: Game logic will still run for invisible objects.

color
The object color of the object. [r, g, b, a]
Type [Link]
occlusion
occlusion capability flag.
Type boolean
position
The object’s position. [x, y, z] On write: local position, on read: world position Deprecated since version
use: localPosition and worldPosition.
Type [Link]
orientation
The object’s orientation. 3x3 Matrix. You can also write a Quaternion or Euler vector. On write: lo-
cal orientation, on read: world orientation Deprecated since version use: localOrientation and
worldOrientation.
Type [Link]
scaling
The object’s scaling factor. [sx, sy, sz] On write: local scaling, on read: world scaling Deprecated since
version use: localScale and worldScale.
Type [Link]
localOrientation
The object’s local orientation. 3x3 Matrix. You can also write a Quaternion or Euler vector.
Type [Link]
worldOrientation
The object’s world orientation. 3x3 Matrix.
Type [Link]
localScale
The object’s local scaling factor. [sx, sy, sz]
Type [Link]
worldScale
The object’s world scaling factor. Read-only. [sx, sy, sz]

4.1. Game Engine [Link] Module 1103


Blender Index, Release 2.57.0 r36138 - API

Type [Link]
localPosition
The object’s local position. [x, y, z]
Type [Link]
worldPosition
The object’s world position. [x, y, z]
Type [Link]
localLinearVelocity
The object’s local linear velocity. [x, y, z]
Type [Link]
worldLinearVelocity
The object’s world linear velocity. [x, y, z]
type [Link]
localAngularVelocity
The object’s local angular velocity. [x, y, z]
type [Link]
worldAngularVelocity
The object’s world angular velocity. [x, y, z]
type [Link]
timeOffset
adjust the slowparent delay at runtime.
Type float
state
the game object’s state bitmask, using the first 30 bits, one bit must always be set.
Type int
meshes
a list meshes for this object.
Type list of KX_MeshProxy

Note: Most objects use only 1 mesh.

Note: Changes to this list will not update the KX_GameObject.

sensors
a sequence of SCA_ISensor objects with string/index lookups and iterator support.
Type list

Note: This attribute is experemental and may be removed (but probably wont be).

Note: Changes to this list will not update the KX_GameObject.

1104 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

controllers
a sequence of SCA_IController objects with string/index lookups and iterator support.
Type list of SCA_ISensor

Note: This attribute is experemental and may be removed (but probably wont be).

Note: Changes to this list will not update the KX_GameObject.

actuators
a list of SCA_IActuator with string/index lookups and iterator support.
Type list

Note: This attribute is experemental and may be removed (but probably wont be).

Note: Changes to this list will not update the KX_GameObject.

attrDict
get the objects internal python attribute dictionary for direct (faster) access.
Type dict
children
direct children of this object, (read-only).
Type CListValue of KX_GameObject‘s
childrenRecursive
all children of this object including childrens children, (read-only).
Type CListValue of KX_GameObject‘s
endObject()
Delete this object, can be used in place of the EndObject Actuator.
The actual removal of the object from the scene is delayed.
replaceMesh(mesh, useDisplayMesh=True, usePhysicsMesh=False)
Replace the mesh of this object with a new mesh. This works the same was as the actuator.
Parameters
• mesh (MeshProxy or string) – mesh to replace or the meshes name.
• useDisplayMesh (boolean) – when enabled the display mesh will be replaced (optional
argument).
• usePhysicsMesh (boolean) – when enabled the physics mesh will be replaced (optional
argument).
setVisible(visible, recursive)
Sets the game object’s visible flag.
Parameters
• visible (boolean) – the visible state to set.
• recursive (boolean) – optional argument to set all childrens visibility flag too.

4.1. Game Engine [Link] Module 1105


Blender Index, Release 2.57.0 r36138 - API

setOcclusion(occlusion, recursive)
Sets the game object’s occlusion capability.
Parameters
• occlusion (boolean) – the state to set the occlusion to.
• recursive (boolean) – optional argument to set all childrens occlusion flag too.
alignAxisToVect(vect, axis=2, factor=1.0)
Aligns any of the game object’s axis along the given vector.
Parameters
• vect (3D vector) – a vector to align the axis.
• axis (integer) – The axis you want to align
– 0: X axis
– 1: Y axis
– 2: Z axis
• factor (float) – Only rotate a feaction of the distance to the target vector (0.0 - 1.0)
getAxisVect(vect)
Returns the axis vector rotates by the objects worldspace orientation. This is the equivalent of multiplying
the vector by the orientation matrix.
Parameters vect (3D Vector) – a vector to align the axis.
Returns The vector in relation to the objects rotation.
Return type 3d vector.
applyMovement(movement, local=False)
Sets the game object’s movement.
Parameters
• movement (3D Vector) – movement vector.
• local –
– False: you get the “global” movement ie: relative to world orientation.
– True: you get the “local” movement ie: relative to object orientation.
• local – boolean
applyRotation(rotation, local=False)
Sets the game object’s rotation.
Parameters
• rotation (3D Vector) – rotation vector.
• local –
– False: you get the “global” rotation ie: relative to world orientation.
– True: you get the “local” rotation ie: relative to object orientation.
• local – boolean

1106 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

applyForce(force, local=False)
Sets the game object’s force.
This requires a dynamic object.
Parameters
• force (3D Vector) – force vector.
• local (boolean) –
– False: you get the “global” force ie: relative to world orientation.
– True: you get the “local” force ie: relative to object orientation.
applyTorque(torque, local=False)
Sets the game object’s torque.
This requires a dynamic object.
Parameters
• torque (3D Vector) – torque vector.
• local (boolean) –
– False: you get the “global” torque ie: relative to world orientation.
– True: you get the “local” torque ie: relative to object orientation.
getLinearVelocity(local=False)
Gets the game object’s linear velocity.
This method returns the game object’s velocity through it’s centre of mass, ie no angular velocity compo-
nent.
Parameters local (boolean) –
• False: you get the “global” velocity ie: relative to world orientation.
• True: you get the “local” velocity ie: relative to object orientation.
Returns the object’s linear velocity.
Return type list [vx, vy, vz]
setLinearVelocity(velocity, local=False)
Sets the game object’s linear velocity.
This method sets game object’s velocity through it’s centre of mass, ie no angular velocity component.
This requires a dynamic object.
Parameters
• velocity (3D Vector) – linear velocity vector.
• local (boolean) –
– False: you get the “global” velocity ie: relative to world orientation.
– True: you get the “local” velocity ie: relative to object orientation.
getAngularVelocity(local=False)
Gets the game object’s angular velocity.
Parameters local (boolean) –
• False: you get the “global” velocity ie: relative to world orientation.

4.1. Game Engine [Link] Module 1107


Blender Index, Release 2.57.0 r36138 - API

• True: you get the “local” velocity ie: relative to object orientation.
Returns the object’s angular velocity.
Return type list [vx, vy, vz]
setAngularVelocity(velocity, local=False)
Sets the game object’s angular velocity.
This requires a dynamic object.
Parameters
• velocity (boolean) – angular velocity vector.
• local –
– False: you get the “global” velocity ie: relative to world orientation.
– True: you get the “local” velocity ie: relative to object orientation.
getVelocity(point=(0, 0, 0))
Gets the game object’s velocity at the specified point.
Gets the game object’s velocity at the specified point, including angular components.
Parameters point (3D Vector) – optional point to return the velocity for, in local coordinates.
Returns the velocity at the specified point.
Return type list [vx, vy, vz]
getReactionForce()
Gets the game object’s reaction force.
The reaction force is the force applied to this object over the last simulation timestep. This also includes
impulses, eg from collisions.
Returns the reaction force of this object.
Return type list [fx, fy, fz]

Note: This is not implimented at the moment.

applyImpulse(point, impulse)
Applies an impulse to the game object.
This will apply the specified impulse to the game object at the specified point. If point != position, apply-
Impulse will also change the object’s angular momentum. Otherwise, only linear momentum will change.
Parameters point (the point to apply the impulse to (in world coordinates)) – the point to apply
the impulse to (in world coordinates)
suspendDynamics()
Suspends physics for this object.
restoreDynamics()
Resumes physics for this object.

Note: The objects linear velocity will be applied from when the dynamics were suspended.

enableRigidBody()
Enables rigid body physics for this object.

1108 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Rigid body physics allows the object to roll on collisions.

Note: This is not working with bullet physics yet.

disableRigidBody()
Disables rigid body physics for this object.

Note: This is not working with bullet physics yet. The angular is removed but rigid body physics can still
rotate it later.

setParent(parent, compound=True, ghost=True)


Sets this object’s parent. Control the shape status with the optional compound and ghost parameters:
In that case you can control if it should be ghost or not:
Parameters
• parent (KX_GameObject) – new parent object.
• compound (boolean) – whether the shape should be added to the parent compound shape.
– True: the object shape should be added to the parent compound shape.
– False: the object should keep its individual shape.
• ghost (boolean) – whether the object should be ghost while parented.
– True: if the object should be made ghost while parented.
– False: if the object should be solid while parented.

Note: If the object type is sensor, it stays ghost regardless of ghost parameter

removeParent()
Removes this objects parent.
getPhysicsId()
Returns the user data object associated with this game object’s physics controller.
getPropertyNames()
Gets a list of all property names.
Returns All property names for this object.
Return type list
getDistanceTo(other)
Parameters other (KX_GameObject or list [x, y, z]) – a point or another KX_GameObject
to measure the distance to.
Returns distance to another object or point.
Return type float
getVectTo(other)
Returns the vector and the distance to another object or point. The vector is normalized unless the distance
is 0, in which a zero length vector is returned.
Parameters other (KX_GameObject or list [x, y, z]) – a point or another KX_GameObject
to get the vector and distance to.

4.1. Game Engine [Link] Module 1109


Blender Index, Release 2.57.0 r36138 - API

Returns (distance, globalVector(3), localVector(3))


Return type 3-tuple (float, 3-tuple (x, y, z), 3-tuple (x, y, z))
rayCastTo(other, dist, prop)
Look towards another point/object and find first object hit within dist that matches prop.
The ray is always casted from the center of the object, ignoring the object itself. The ray is casted towards
the center of another object or an explicit [x, y, z] point. Use rayCast() if you need to retrieve the hit point
Parameters
• other (KX_GameObject or 3-tuple) – [x, y, z] or object towards which the ray is casted
• dist (float) – max distance to look (can be negative => look behind); 0 or omitted => detect
up to other
• prop (string) – property name that object must have; can be omitted => detect any object
Returns the first object hit or None if no object or object does not match prop
Return type KX_GameObject
rayCast(objto, objfrom, dist, prop, face, xray, poly)
Look from a point/object to another point/object and find first object hit within dist that matches prop. if
poly is 0, returns a 3-tuple with object reference, hit point and hit normal or (None, None, None) if no hit.
if poly is 1, returns a 4-tuple with in addition a KX_PolyProxy as 4th element. if poly is 2, returns a
5-tuple with in addition a 2D vector with the UV mapping of the hit point as 5th element.
# shoot along the axis gun-gunAim (gunAim should be collision-free)
obj, point, normal = [Link](gunAim, None, 50)
if obj:
# do something
pass

The face paremeter determines the orientation of the normal.


•0 => hit normal is always oriented towards the ray origin (as if you casted the ray from outside)
•1 => hit normal is the real face normal (only for mesh object, otherwise face has no effect)
The ray has X-Ray capability if xray parameter is 1, otherwise the first object hit (other than self object)
stops the ray. The prop and xray parameters interact as follow.
•prop off, xray off: return closest hit or no hit if there is no object on the full extend of the ray.
•prop off, xray on : idem.
•prop on, xray off: return closest hit if it matches prop, no hit otherwise.
•prop on, xray on : return closest hit matching prop or no hit if there is no object matching prop on the
full extend of the ray.
The KX_PolyProxy 4th element of the return tuple when poly=1 allows to retrieve information on the
polygon hit by the ray. If there is no hit or the hit object is not a static mesh, None is returned as 4th
element.
The ray ignores collision-free objects and faces that dont have the collision flag enabled, you can however
use ghost objects.
Parameters
• objto (KX_GameObject or 3-tuple) – [x, y, z] or object to which the ray is casted
• objfrom (KX_GameObject or 3-tuple or None) – [x, y, z] or object from which the ray
is casted; None or omitted => use self object center

1110 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

• dist (float) – max distance to look (can be negative => look behind); 0 or omitted => detect
up to to
• prop (string) – property name that object must have; can be omitted or “” => detect any
object
• face (integer) – normal option: 1=>return face normal; 0 or omitted => normal is oriented
towards origin
• xray (integer) – X-ray option: 1=>skip objects that don’t match prop; 0 or omitted => stop
on first object
• poly (integer) – polygon option: 0, 1 or 2 to return a 3-, 4- or 5-tuple with information on
the face hit.
– 0 or omitted: return value is a 3-tuple (object, hitpoint, hitnormal) or (None, None,
None) if no hit
– 1: return value is a 4-tuple and the 4th element is a KX_PolyProxy or None if no hit
or the object doesn’t use a mesh collision shape.
– 2: return value is a 5-tuple and the 5th element is a 2-tuple (u, v) with the UV mapping
of the hit point or None if no hit, or the object doesn’t use a mesh collision shape, or
doesn’t have a UV mapping.
Returns
(object, hitpoint, hitnormal) or (object, hitpoint, hitnormal, polygon) or (object, hitpoint,
hitnormal, polygon, hituv).
• object, hitpoint and hitnormal are None if no hit.
• polygon is valid only if the object is valid and is a static object, a dynamic object using
mesh collision shape or a soft body object, otherwise it is None
• hituv is valid only if polygon is valid and the object has a UV mapping, otherwise it is
None
Return type
• 3-tuple (KX_GameObject, 3-tuple (x, y, z), 3-tuple (nx, ny, nz))
• or 4-tuple (KX_GameObject, 3-tuple (x, y, z), 3-tuple (nx, ny, nz), PolyProxy)
• or 5-tuple (KX_GameObject, 3-tuple (x, y, z), 3-tuple (nx, ny, nz), PolyProxy, 2-tuple
(u, v))

Note: The ray ignores the object on which the method is called. It is casted from/to object center or
explicit [x, y, z] points.

setCollisionMargin(margin)
Set the objects collision margin.
Parameters margin (float) – the collision margin distance in blender units.

Note: If this object has no physics controller (a physics ID of zero), this function will raise RuntimeError.

sendMessage(subject, body=”“, to=”“)


Sends a message.
Parameters

4.1. Game Engine [Link] Module 1111


Blender Index, Release 2.57.0 r36138 - API

• subject (string) – The subject of the message


• body (string) – The body of the message (optional)
• to (string) – The name of the object to send the message to (optional)
reinstancePhysicsMesh(gameObject, meshObject)
Updates the physics system with the changed mesh.
If no arguments are given the physics mesh will be re-created from the first mesh assigned to the game
object.
Parameters
• gameObject (string, KX_GameObject or None) – optional argument, set the physics
shape from this gameObjets mesh.
• meshObject (string, MeshProxy or None) – optional argument, set the physics shape
from this mesh.
Returns True if reinstance succeeded, False if it failed.
Return type boolean

Note: If this object has instances the other instances will be updated too.

Note: The gameObject argument has an advantage that it can convert from a mesh with modifiers applied
(such as subsurf).

Warning: Only triangle mesh type objects are supported currently (not convex hull)

Warning: If the object is a part of a combound object it will fail (parent or child)

Warning: Rebuilding the physics mesh can be slow, running many times per second will give a
performance hit.

get(key, default=None)
Return the value matching key, or the default value if its not found. :return: The key value or a default.
class [Link].KX_IpoActuator(SCA_IActuator)
IPO actuator activates an animation.
frameStart
Start frame.
Type float
frameEnd
End frame.
Type float
propName
Use this property to define the Ipo position.
Type string
framePropName
Assign this property this action current frame number.

1112 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Type string
mode
Play mode for the ipo. Can be on of these constants
Type integer
useIpoAsForce
Apply Ipo as a global or local force depending on the local option (dynamic objects only).
Type boolean
useIpoAdd
Ipo is added to the current loc/rot/scale in global or local coordinate according to Local flag.
Type boolean
useIpoLocal
Let the ipo acts in local coordinates, used in Force and Add mode.
Type boolean
useChildren
Update IPO on all children Objects as well.
Type boolean
class [Link].KX_LightObject(KX_GameObject)
A Light object.
# Turn on a red alert light.
import bge

co = [Link]()
light = [Link]

[Link] = 1.0
[Link] = [1.0, 0.0, 0.0]

SPOT
A spot light source. See attribute type
SUN
A point light source with no attenuation. See attribute type
NORMAL
A point light source. See attribute type
type
The type of light - must be SPOT, SUN or NORMAL
layer
The layer mask that this light affects object on.
Type bitfield
energy
The brightness of this light.
Type float
distance
The maximum distance this light can illuminate. (SPOT and NORMAL lights only).
Type float

4.1. Game Engine [Link] Module 1113


Blender Index, Release 2.57.0 r36138 - API

colour
The colour of this light. Black = [0.0, 0.0, 0.0], White = [1.0, 1.0, 1.0].
Type list [r, g, b]
color
Synonym for colour.
lin_attenuation
The linear component of this light’s attenuation. (SPOT and NORMAL lights only).
Type float
quad_attenuation
The quadratic component of this light’s attenuation (SPOT and NORMAL lights only).
Type float
spotsize
The cone angle of the spot light, in degrees (SPOT lights only).
Type float in [0 - 180].
spotblend
Specifies the intensity distribution of the spot light (SPOT lights only).
Type float in [0 - 1]

Note: Higher values result in a more focused light source.

class [Link].KX_MeshProxy(SCA_IObject)
A mesh object.
You can only change the vertex properties of a mesh object, not the mesh topology.
To use mesh objects effectively, you should know a bit about how the game engine handles them.
[Link] Objects are converted from Blender at scene load.
[Link] Converter groups polygons by Material. This means they can be sent to the renderer efficiently. A
material holds:
(a)The texture.
(b)The Blender material.
(c)The Tile properties
(d)The face properties - (From the “Texture Face” panel)
(e)Transparency & z sorting
(f)Light layer
(g)Polygon shape (triangle/quad)
(h)Game Object
[Link] will be split by face if necessary. Verticies can only be shared between faces if:
(a)They are at the same position
(b)UV coordinates are the same
(c)Their normals are the same (both polygons are “Set Smooth”)
(d)They are the same colour, for example: a cube has 24 verticies: 6 faces with 4 verticies per face.

1114 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

The correct method of iterating over every KX_VertexProxy in a game object


import GameLogic

co = [Link]()
obj = [Link]

m_i = 0
mesh = [Link](m_i) # There can be more than one mesh...
while mesh != None:
for mat in range([Link]()):
for v_index in range([Link](mat)):
vertex = [Link](mat, v_index)
# Do something with vertex here...
# ... eg: colour the vertex red.
[Link] = [1.0, 0.0, 0.0, 1.0]
m_i += 1
mesh = [Link](m_i)

materials
Type list of KX_BlenderMaterial or KX_PolygonMaterial types
numPolygons
Type integer
numMaterials
Type integer
getNumMaterials()
Returns number of materials associated with this object
Return type integer
getMaterialName(matid)
Gets the name of the specified material.
Parameters matid (integer) – the specified material.
Returns the attached material name.
Return type string
getTextureName(matid)
Gets the name of the specified material’s texture.
Parameters matid (integer) – the specified material
Returns the attached material’s texture name.
Return type string
getVertexArrayLength(matid)
Gets the length of the vertex array associated with the specified material.
There is one vertex array for each material.
Parameters matid (integer) – the specified material
Returns the number of verticies in the vertex array.
Return type integer

4.1. Game Engine [Link] Module 1115


Blender Index, Release 2.57.0 r36138 - API

getVertex(matid, index)
Gets the specified vertex from the mesh object.
Parameters
• matid (integer) – the specified material
• index (integer) – the index into the vertex array.
Returns a vertex object.
Return type KX_VertexProxy
getNumPolygons()
Returns The number of polygon in the mesh.
Return type integer
getPolygon(index)
Gets the specified polygon from the mesh.
Parameters index (integer) – polygon number
Returns a polygon object.
Return type PolyProxy
class [Link].SCA_MouseSensor(SCA_ISensor)
Mouse Sensor logic brick.
position
current [x, y] coordinates of the mouse, in frame coordinates (pixels).
Type [integer, interger]
mode
sensor mode.
Type integer
• KX_MOUSESENSORMODE_LEFTBUTTON(1)
• KX_MOUSESENSORMODE_MIDDLEBUTTON(2)
• KX_MOUSESENSORMODE_RIGHTBUTTON(3)
• KX_MOUSESENSORMODE_WHEELUP(4)
• KX_MOUSESENSORMODE_WHEELDOWN(5)
• KX_MOUSESENSORMODE_MOVEMENT(6)
getButtonStatus(button)
Get the mouse button status.
Parameters button (int) – The code that represents the key you want to get the state of, use one
of these constants
Returns The state of the given key, can be one of these constants
Return type int
class [Link].KX_MouseFocusSensor(SCA_MouseSensor)
The mouse focus sensor detects when the mouse is over the current game object.
The mouse focus sensor works by transforming the mouse coordinates from 2d device space to 3d space then
raycasting away from the camera.

1116 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

raySource
The worldspace source of the ray (the view position).
Type list (vector of 3 floats)
rayTarget
The worldspace target of the ray.
Type list (vector of 3 floats)
rayDirection
The rayTarget - raySource normalized.
Type list (normalized vector of 3 floats)
hitObject
the last object the mouse was over.
Type KX_GameObject or None
hitPosition
The worldspace position of the ray intersecton.
Type list (vector of 3 floats)
hitNormal
the worldspace normal from the face at point of intersection.
Type list (normalized vector of 3 floats)
hitUV
the UV coordinates at the point of intersection.
Type list (vector of 2 floats)
If the object has no UV mapping, it returns [0, 0].
The UV coordinates are not normalized, they can be < 0 or > 1 depending on the UV mapping.
usePulseFocus
When enabled, moving the mouse over a different object generates a pulse. (only used when the ‘Mouse
Over Any’ sensor option is set).
Type boolean
class [Link].KX_TouchSensor(SCA_ISensor)
Touch sensor detects collisions between objects.
propName
The property or material to collide with.
Type string
useMaterial
Determines if the sensor is looking for a property or material. KX_True = Find material; KX_False = Find
property.
Type boolean
usePulseCollision
When enabled, changes to the set of colliding objects generate a pulse.
Type boolean
hitObject
The last collided object. (read-only).

4.1. Game Engine [Link] Module 1117


Blender Index, Release 2.57.0 r36138 - API

Type KX_GameObject or None


hitObjectList
A list of colliding objects. (read-only).
Type CListValue of KX_GameObject
class [Link].KX_NearSensor(KX_TouchSensor)
A near sensor is a specialised form of touch sensor.
distance
The near sensor activates when an object is within this distance.
Type float
resetDistance
The near sensor deactivates when the object exceeds this distance.
Type float
class [Link].KX_NetworkMessageActuator(SCA_IActuator)
Message Actuator
propName
Messages will only be sent to objects with the given property name.
Type string
subject
The subject field of the message.
Type string
body
The body of the message.
Type string
usePropBody
Send a property instead of a regular body message.
Type boolean
class [Link].KX_NetworkMessageSensor(SCA_ISensor)
The Message Sensor logic brick.
Currently only loopback (local) networks are supported.
subject
The subject the sensor is looking for.
Type string
frameMessageCount
The number of messages received since the last frame. (read-only).
Type integer
subjects
The list of message subjects received. (read-only).
Type list of strings
bodies
The list of message bodies received. (read-only).
Type list of strings

1118 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

class [Link].KX_ObjectActuator(SCA_IActuator)
The object actuator (“Motion Actuator”) applies force, torque, displacement, angular displacement, velocity, or
angular velocity to an object. Servo control allows to regulate force to achieve a certain speed target.
force
The force applied by the actuator.
Type list [x, y, z]
useLocalForce
A flag specifying if the force is local.
Type boolean
torque
The torque applied by the actuator.
Type list [x, y, z]
useLocalTorque
A flag specifying if the torque is local.
Type boolean
dLoc
The displacement vector applied by the actuator.
Type list [x, y, z]
useLocalDLoc
A flag specifying if the dLoc is local.
Type boolean
dRot
The angular displacement vector applied by the actuator
Type list [x, y, z]

Note: Since the displacement is applied every frame, you must adjust the displacement based on the
frame rate, or you game experience will depend on the player’s computer speed.

useLocalDRot
A flag specifying if the dRot is local.
Type boolean
linV
The linear velocity applied by the actuator.
Type list [x, y, z]
useLocalLinV
A flag specifying if the linear velocity is local.
Type boolean

Note: This is the target speed for servo controllers.

angV
The angular velocity applied by the actuator.
Type list [x, y, z]

4.1. Game Engine [Link] Module 1119


Blender Index, Release 2.57.0 r36138 - API

useLocalAngV
A flag specifying if the angular velocity is local.
Type boolean
damping
The damping parameter of the servo controller.
Type short
forceLimitX
The min/max force limit along the X axis and activates or deactivates the limits in the servo controller.
Type list [min(float), max(float), bool]
forceLimitY
The min/max force limit along the Y axis and activates or deactivates the limits in the servo controller.
Type list [min(float), max(float), bool]
forceLimitZ
The min/max force limit along the Z axis and activates or deactivates the limits in the servo controller.
Type list [min(float), max(float), bool]
pid
The PID coefficients of the servo controller.
Type list of floats [proportional, integral, derivate]
reference
The object that is used as reference to compute the velocity for the servo controller.
Type KX_GameObject or None
class [Link].KX_ParentActuator(SCA_IActuator)
The parent actuator can set or remove an objects parent object.
object
the object this actuator sets the parent too.
Type KX_GameObject or None
mode
The mode of this actuator.
Type integer from 0 to 1.
compound
Whether the object shape should be added to the parent compound shape when parenting.
Effective only if the parent is already a compound shape.
Type boolean
ghost
Whether the object should be made ghost when parenting Effective only if the shape is not added to the
parent compound shape.
Type boolean
class [Link].KX_PhysicsObjectWrapper(PyObjectPlus)
KX_PhysicsObjectWrapper
setActive(active)
Set the object to be active.

1120 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters active (boolean) – set to True to be active


setAngularVelocity(x, y, z, local)
Set the angular velocity of the object.
Parameters
• x (float) – angular velocity for the x-axis
• y (float) – angular velocity for the y-axis
• z (float) – angular velocity for the z-axis
• local (boolean) – set to True for local axis
setLinearVelocity(x, y, z, local)
Set the linear velocity of the object.
Parameters
• x (float) – linear velocity for the x-axis
• y (float) – linear velocity for the y-axis
• z (float) – linear velocity for the z-axis
• local (boolean) – set to True for local axis
class [Link].KX_PolyProxy(SCA_IObject)
A polygon holds the index of the vertex forming the poylgon.
Note: The polygon attributes are read-only, you need to retrieve the vertex proxy if you want to change the
vertex settings.
matname
The name of polygon material, empty if no material.
Type string
material
The material of the polygon.
Type KX_PolygonMaterial or KX_BlenderMaterial
texture
The texture name of the polygon.
Type string
matid
The material index of the polygon, use this to retrieve vertex proxy from mesh proxy.
Type integer
v1
vertex index of the first vertex of the polygon, use this to retrieve vertex proxy from mesh proxy.
Type integer
v2
vertex index of the second vertex of the polygon, use this to retrieve vertex proxy from mesh proxy.
Type integer
v3
vertex index of the third vertex of the polygon, use this to retrieve vertex proxy from mesh proxy.
Type integer

4.1. Game Engine [Link] Module 1121


Blender Index, Release 2.57.0 r36138 - API

v4
Vertex index of the fourth vertex of the polygon, 0 if polygon has only 3 vertex Use this to retrieve vertex
proxy from mesh proxy.
Type integer
visible
visible state of the polygon: 1=visible, 0=invisible.
Type integer
collide
collide state of the polygon: 1=receives collision, 0=collision free.
Type integer
getMaterialName()
Returns the polygon material name with MA prefix
Returns material name
Return type string
getMaterial()
Returns The polygon material
Return type KX_PolygonMaterial or KX_BlenderMaterial
getTextureName()
Returns The texture name
Return type string
getMaterialIndex()
Returns the material bucket index of the polygon. This index and the ones returned by getVertexIndex()
are needed to retrieve the vertex proxy from MeshProxy.
Returns the material index in the mesh
Return type integer
getNumVertex()
Returns the number of vertex of the polygon.
Returns number of vertex, 3 or 4.
Return type integer
isVisible()
Returns whether the polygon is visible or not
Returns 0=invisible, 1=visible
Return type boolean
isCollider()
Returns whether the polygon is receives collision or not
Returns 0=collision free, 1=receives collision
Return type integer
getVertexIndex(vertex)
Returns the mesh vertex index of a polygon vertex This index and the one returned by getMaterialIndex()
are needed to retrieve the vertex proxy from MeshProxy.

1122 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Parameters
• vertex – index of the vertex in the polygon: 0->3
• vertex – integer
Returns mesh vertex index
Return type integer
getMesh()
Returns a mesh proxy
Returns mesh proxy
Return type MeshProxy
class [Link].KX_PolygonMaterial(PyObjectPlus)
This is the interface to materials in the game engine.
Materials define the render state to be applied to mesh objects.

Warning: Some of the methods/variables are CObjects. If you mix these up, you will crash blender.

This example requires PyOpenGL and GLEWPy


import GameLogic
import OpenGL
from [Link] import *
from [Link] import *
import glew
from glew import *

glewInit()

vertex_shader = """

void main(void)
{
gl_Position = ftransform();
}
"""

fragment_shader ="""

void main(void)
{
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}
"""

class MyMaterial:
def __init__(self):
self.pass_no = 0
# Create a shader
self.m_program = glCreateProgramObjectARB()
# Compile the vertex shader
[Link](GL_VERTEX_SHADER_ARB, (vertex_shader))
# Compile the fragment shader
[Link](GL_FRAGMENT_SHADER_ARB, (fragment_shader))
# Link the shaders together

4.1. Game Engine [Link] Module 1123


Blender Index, Release 2.57.0 r36138 - API

[Link]()

def PrintInfoLog(self, tag, object):


"""
PrintInfoLog prints the GLSL compiler log
"""
print "Tag: def PrintGLError(self, tag = ""):

def PrintGLError(self, tag = ""):


"""
Prints the current GL error status
"""
if len(tag):
print tag
err = glGetError()
if err != GL_NO_ERROR:
print "GL Error: %s\\n"%(gluErrorString(err))

def shader(self, type, shaders):


"""
shader compiles a GLSL shader and attaches it to the current
program.

type should be either GL_VERTEX_SHADER_ARB or GL_FRAGMENT_SHADER_ARB


shaders should be a sequence of shader source to compile.
"""
# Create a shader object
shader_object = glCreateShaderObjectARB(type)

# Add the source code


glShaderSourceARB(shader_object, len(shaders), shaders)

# Compile the shader


glCompileShaderARB(shader_object)

# Print the compiler log


[Link]("vertex shader", shader_object)

# Check if compiled, and attach if it did


compiled = glGetObjectParameterivARB(shader_object, GL_OBJECT_COMPILE_STATUS_ARB)
if compiled:
glAttachObjectARB(self.m_program, shader_object)

# Delete the object (glAttachObjectARB makes a copy)


glDeleteObjectARB(shader_object)

# print the gl error log


[Link]()

def link(self):
"""
Links the shaders together.
"""
# clear error indicator
glGetError()

glLinkProgramARB(self.m_program)

1124 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]("link", self.m_program)

linked = glGetObjectParameterivARB(self.m_program, GL_OBJECT_LINK_STATUS_ARB)


if not linked:
print "Shader failed to link"
return

glValidateProgramARB(self.m_program)
valid = glGetObjectParameterivARB(self.m_program, GL_OBJECT_VALIDATE_STATUS_ARB)
if not valid:
print "Shader failed to validate"
return

def activate(self, rasty, cachingInfo, mat):


self.pass_no+=1
if (self.pass_no == 1):
glDisable(GL_COLOR_MATERIAL)
glUseProgramObjectARB(self.m_program)
return True

glEnable(GL_COLOR_MATERIAL)
glUseProgramObjectARB(0)
self.pass_no = 0
return False

obj = [Link]().owner

mesh = [Link][0]

for mat in [Link]:


[Link](MyMaterial())
print [Link]

texture
Texture name.
Type string (read-only)
gl_texture
OpenGL texture handle (eg for glBindTexture(GL_TEXTURE_2D, gl_texture).
Type integer (read-only)
material
Material name.
Type string (read-only)
tface
Texture face properties.
Type CObject (read-only)
tile
Texture is tiling.
Type boolean
tilexrep
Number of tile repetitions in x direction.
Type integer

4.1. Game Engine [Link] Module 1125


Blender Index, Release 2.57.0 r36138 - API

tileyrep
Number of tile repetitions in y direction.
Type integer
drawingmode
Drawing mode for the material. - 2 (drawingmode & 4) Textured - 4 (drawingmode & 16) Light - 14
(drawingmode & 16384) 3d Polygon Text.
Type bitfield
transparent
This material is transparent. All meshes with this material will be rendered after non transparent meshes
from back to front.
Type boolean
zsort
Transparent polygons in meshes with this material will be sorted back to front before rendering. Non-
Transparent polygons will be sorted front to back before rendering.
Type boolean
lightlayer
Light layers this material affects.
Type bitfield.
triangle
Mesh data with this material is triangles. It’s probably not safe to change this.
Type boolean
diffuse
The diffuse colour of the material. black = [0.0, 0.0, 0.0] white = [1.0, 1.0, 1.0].
Type list [r, g, b]
specular
The specular colour of the material. black = [0.0, 0.0, 0.0] white = [1.0, 1.0, 1.0].
Type list [r, g, b]
shininess
The shininess (specular exponent) of the material. 0.0 <= shininess <= 128.0.
Type float
specularity
The amount of specular of the material. 0.0 <= specularity <= 1.0.
Type float
updateTexture(tface, rasty)
Updates a realtime animation.
Parameters
• tface (CObject) – Texture face (eg [Link])
• rasty (CObject) – Rasterizer
setTexture(tface)
Sets texture render state.
Parameters tface (CObject) – Texture face

1126 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]([Link])

activate(rasty, cachingInfo)
Sets material parameters for this object for rendering.
Material Parameters set:
[Link]
[Link] culling
[Link] drawing
[Link] Colour
[Link]
[Link] Colour
[Link] Offset.

Parameters
• rasty (CObject) – Rasterizer instance.
• cachingInfo (CObject) – Material cache instance.

setCustomMaterial(material)
Sets the material state setup object.
Using this method, you can extend or completely replace the gameengine material to do your own advanced
multipass effects.
Use this method to register your material class. Instead of the normal material, your class’s activate method
will be called just before rendering the mesh. This should setup the texture, material, and any other state
you would like. It should return True to render the mesh, or False if you are finished. You should clean up
any state Blender does not set before returning False.
Activate Method Definition:
def activate(self, rasty, cachingInfo, material):

Parameters material (instance) – The material object.

class PyMaterial:
def __init__(self):
self.pass_no = -1

def activate(self, rasty, cachingInfo, material):


# Activate the material here.
#
# The activate method will be called until it returns False.
# Every time the activate method returns True the mesh will
# be rendered.
#
# rasty is a CObject for passing to [Link]()
# and [Link]()
# cachingInfo is a CObject for passing to [Link]()
# material is the KX_PolygonMaterial instance this material
# was added to

4.1. Game Engine [Link] Module 1127


Blender Index, Release 2.57.0 r36138 - API

# default material properties:


self.pass_no += 1
if self.pass_no == 0:
[Link](rasty, cachingInfo)
# Return True to do this pass
return True

# clean up and return False to finish.


self.pass_no = -1
return False

# Create a new Python Material and pass it to the renderer.


[Link](PyMaterial())

class [Link].KX_RadarSensor(KX_NearSensor)
Radar sensor is a near sensor with a conical sensor object.
coneOrigin
The origin of the cone with which to test. The origin is in the middle of the cone. (read-only).
Type list of floats [x, y, z]
coneTarget
The center of the bottom face of the cone with which to test. (read-only).
Type list of floats [x, y, z]
distance
The height of the cone with which to test.
Type float
angle
The angle of the cone (in degrees) with which to test.
Type float from 0 to 360
axis
The axis on which the radar cone is cast.
Type integer from 0 to 5
KX_RADAR_AXIS_POS_X, KX_RADAR_AXIS_POS_Y, KX_RADAR_AXIS_POS_Z,
KX_RADAR_AXIS_NEG_X, KX_RADAR_AXIS_NEG_Y, KX_RADAR_AXIS_NEG_Z
getConeHeight()
Returns The height of the cone with which to test.
Return type float
class [Link].KX_RaySensor(SCA_ISensor)
A ray sensor detects the first object in a given direction.
propName
The property the ray is looking for.
Type string
range
The distance of the ray.
Type float

1128 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

useMaterial
Whether or not to look for a material (false = property).
Type boolean
useXRay
Whether or not to use XRay.
Type boolean
hitObject
The game object that was hit by the ray. (read-only).
Type KX_GameObject
hitPosition
The position (in worldcoordinates) where the object was hit by the ray. (read-only).
Type list [x, y, z]
hitNormal
The normal (in worldcoordinates) of the object at the location where the object was hit by the ray. (read-
only).
Type list [x, y, z]
rayDirection
The direction from the ray (in worldcoordinates). (read-only).
Type list [x, y, z]
axis
The axis the ray is pointing on.
Type integer from 0 to 5

•KX_RAY_AXIS_POS_X
•KX_RAY_AXIS_POS_Y
•KX_RAY_AXIS_POS_Z
•KX_RAY_AXIS_NEG_X
•KX_RAY_AXIS_NEG_Y
•KX_RAY_AXIS_NEG_Z

class [Link].KX_SCA_AddObjectActuator(SCA_IActuator)
Edit Object Actuator (in Add Object Mode)

Warning: An Add Object actuator will be ignored if at game start, the linked object doesn’t exist (or is
empty) or the linked object is in an active layer.

Error: GameObject ’Name’ has a AddObjectActuator ’ActuatorName’ without object (in ’nonactive’

object
the object this actuator adds.
Type KX_GameObject or None
objectLastCreated
the last added object from this actuator (read-only).

4.1. Game Engine [Link] Module 1129


Blender Index, Release 2.57.0 r36138 - API

Type KX_GameObject or None


time
the lifetime of added objects, in frames. Set to 0 to disable automatic deletion.
Type integer
linearVelocity
the initial linear velocity of added objects.
Type list [vx, vy, vz]
angularVelocity
the initial angular velocity of added objects.
Type list [vx, vy, vz]
instantAddObject()
adds the object without needing to calling SCA_PythonController.activate()

Note: Use objectLastCreated to get the newly created object.

class [Link].KX_SCA_DynamicActuator(SCA_IActuator)
Dynamic Actuator.
mode
Type integer
the type of operation of the actuator, 0-4
•KX_DYN_RESTORE_DYNAMICS(0)
•KX_DYN_DISABLE_DYNAMICS(1)
•KX_DYN_ENABLE_RIGID_BODY(2)
•KX_DYN_DISABLE_RIGID_BODY(3)
•KX_DYN_SET_MASS(4)
mass
the mass value for the KX_DYN_SET_MASS operation.
Type float
class [Link].KX_SCA_EndObjectActuator(SCA_IActuator)
Edit Object Actuator (in End Object mode)
This actuator has no python methods.
class [Link].KX_SCA_ReplaceMeshActuator(SCA_IActuator)
Edit Object actuator, in Replace Mesh mode.

Warning: Replace mesh actuators will be ignored if at game start, the named mesh doesn’t exist.
This will generate a warning in the console

Error: GameObject ’Name’ ReplaceMeshActuator ’ActuatorName’ without object

# Level-of-detail
# Switch a game object’s mesh based on its depth in the camera view.
# +----------+ +-----------+ +-------------------------------------+
# | Always +-----+ Python +-----+ Edit Object (Replace Mesh) [Link] |

1130 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

# +----------+ +-----------+ +-------------------------------------+


import GameLogic

# List detail meshes here


# Mesh (name, near, far)
# Meshes overlap so that they don’t ’pop’ when on the edge of the distance.
meshes = ((".Hi", 0.0, -20.0),
(".Med", -15.0, -50.0),
(".Lo", -40.0, -100.0)
)

co = [Link]()
obj = [Link]
act = [Link]["LOD." + [Link]]
cam = [Link]().active_camera

def Depth(pos, plane):


return pos[0]*plane[0] + pos[1]*plane[1] + pos[2]*plane[2] + plane[3]

# Depth is negative and decreasing further from the camera


depth = Depth([Link], cam.world_to_camera[2])

newmesh = None
curmesh = None
# Find the lowest detail mesh for depth
for mesh in meshes:
if depth < mesh[1] and depth > mesh[2]:
newmesh = mesh
if "ME" + [Link] + mesh[0] == [Link]():
curmesh = mesh

if newmesh != None and "ME" + [Link] + newmesh[0] != [Link]():


# The mesh is a different mesh - switch it.
# Check the current mesh is not a better fit.
if curmesh == None or curmesh[1] < depth or curmesh[2] > depth:
[Link] = [Link]() + newmesh[0]
[Link](act, True)

mesh
MeshProxy or the name of the mesh that will replace the current one.
Set to None to disable actuator.
Type MeshProxy or None if no mesh is set
useDisplayMesh
when true the displayed mesh is replaced.
Type boolean
usePhysicsMesh
when true the physics mesh is replaced.
Type boolean
instantReplaceMesh()
Immediately replace mesh without delay.
class [Link].KX_Scene(PyObjectPlus)
An active scene that gives access to objects, cameras, lights and scene attributes.

4.1. Game Engine [Link] Module 1131


Blender Index, Release 2.57.0 r36138 - API

The activity culling stuff is supposed to disable logic bricks when their owner gets too far from the active camera.
It was taken from some code lurking at the back of KX_Scene - who knows what it does!
import GameLogic

# get the scene


scene = [Link]()

# print all the objects in the scene


for obj in [Link]:
print [Link]

# get an object named ’Cube’


obj = [Link]["Cube"]

# get the first object in the scene.


obj = [Link][0]

# Get the depth of an object in the camera view.


import GameLogic

obj = [Link]().owner
cam = [Link]().active_camera

# Depth is negative and decreasing further from the camera


depth = [Link][0]*cam.world_to_camera[2][0] + [Link][1]*cam.world_to_camera[2][1] +

@bug: All attributes are read only at the moment.


name
The scene’s name, (read-only).
Type string
objects
A list of objects in the scene, (read-only).
Type CListValue of KX_GameObject
objectsInactive
A list of objects on background layers (used for the addObject actuator), (read-only).
Type CListValue of KX_GameObject
lights
A list of lights in the scene, (read-only).
Type CListValue of KX_LightObject
cameras
A list of cameras in the scene, (read-only).
Type CListValue of KX_Camera
active_camera
The current active camera.
Type KX_Camera

Note: This can be set directly from python to avoid using the KX_SceneActuator.

1132 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

suspended
True if the scene is suspended, (read-only).
Type boolean
activity_culling
True if the scene is activity culling.
Type boolean
activity_culling_radius
The distance outside which to do activity culling. Measured in manhattan distance.
Type float
dbvt_culling
True when Dynamic Bounding box Volume Tree is set (read-only).
Type boolean
pre_draw
A list of callables to be run before the render step.
Type list
post_draw
A list of callables to be run after the render step.
Type list
addObject(object, other, time=0)
Adds an object to the scene like the Add Object Actuator would.
Parameters
• object (KX_GameObject or string) – The object to add
• other (KX_GameObject or string) – The object’s center to use when adding the object
• time (integer) – The lifetime of the added object, in frames. A time of 0 means the object
will last forever.
Returns The newly added object.
Return type KX_GameObject
end()
Removes the scene from the game.
restart()
Restarts the scene.
replace(scene)
Replaces this scene with another one.
Parameters scene (string) – The name of the scene to replace this scene with.
suspend()
Suspends this scene.
resume()
Resume this scene.
get(key, default=None)
Return the value matching key, or the default value if its not found. :return: The key value or a default.

4.1. Game Engine [Link] Module 1133


Blender Index, Release 2.57.0 r36138 - API

class [Link].KX_SceneActuator(SCA_IActuator)
Scene Actuator logic brick.

Warning: Scene actuators that use a scene name will be ignored if at game start, the named scene doesn’t
exist or is empty
This will generate a warning in the console:

Error: GameObject ’Name’ has a SceneActuator ’ActuatorName’ (SetScene) without scene

scene
the name of the scene to change to/overlay/underlay/remove/suspend/resume.
Type string
camera
the camera to change to.
Type KX_Camera on read, string or KX_Camera on write

Note: When setting the attribute, you can use either a KX_Camera or the name of the camera.

useRestart
Set flag to True to restart the sene.
Type boolean
mode
The mode of the actuator.
Type integer from 0 to 5.
class [Link].KX_SoundActuator(SCA_IActuator)
Sound Actuator.
The startSound, pauseSound and stopSound do not requirethe actuator to be activated - they act in-
stantly provided that the actuator has been activated once at least.
fileName
The filename of the sound this actuator plays.
Type string
volume
The volume (gain) of the sound.
Type float
pitch
The pitch of the sound.
Type float
rollOffFactor
The roll off factor. Rolloff defines the rate of attenuation as the sound gets further away.
Type float
looping
The loop mode of the actuator.
Type integer

1134 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

position
The position of the sound as a list: [x, y, z].
Type float array
velocity
The velocity of the emitter as a list: [x, y, z]. The relative velocity to the observer determines the pitch.
List of 3 floats: [x, y, z].
Type float array
orientation
The orientation of the sound. When setting the orientation you can also use quaternion [float, float, float,
float] or euler angles [float, float, float].
Type 3x3 matrix [[float]]
mode
The operation mode of the actuator. Can be one of these constants
Type integer
class [Link].KX_StateActuator(SCA_IActuator)
State actuator changes the state mask of parent object.
operation
Type of bit operation to be applied on object state mask.
You can use one of these constants
Type integer
mask
Value that defines the bits that will be modified by the operation.
The bits that are 1 in the mask will be updated in the object state.
The bits that are 0 are will be left unmodified expect for the Copy operation which copies the mask to the
object state.
Type integer
class [Link].KX_TrackToActuator(SCA_IActuator)
Edit Object actuator in Track To mode.

Warning: Track To Actuators will be ignored if at game start, the object to track to is invalid.
This will generate a warning in the console:

GameObject ’Name’ no object in EditObjectActuator ’ActuatorName’

object
the object this actuator tracks.
Type KX_GameObject or None
time
the time in frames with which to delay the tracking motion.
Type integer
use3D
the tracking motion to use 3D.
Type boolean

4.1. Game Engine [Link] Module 1135


Blender Index, Release 2.57.0 r36138 - API

class [Link].KX_VehicleWrapper(PyObjectPlus)
KX_VehicleWrapper
TODO - description
addWheel(wheel, attachPos, attachDir, axleDir, suspensionRestLength, wheelRadius, hasSteering)
Add a wheel to the vehicle
Parameters
• wheel (KX_GameObject or a KX_GameObject name) – The object to use as a wheel.
• attachPos (vector of 3 floats) – The position that this wheel will attach to.
• attachDir (vector of 3 floats) – The direction this wheel points.
• axleDir (vector of 3 floats) – The direction of this wheels axle.
• suspensionRestLength (float) – TODO - Description
• wheelRadius (float) – The size of the wheel.
applyBraking(force, wheelIndex)
Apply a braking force to the specified wheel
Parameters
• force (float) – the brake force
• wheelIndex (integer) – index of the wheel where the force needs to be applied
applyEngineForce(force, wheelIndex)
Apply an engine force to the specified wheel
Parameters
• force (float) – the engine force
• wheelIndex (integer) – index of the wheel where the force needs to be applied
getConstraintId()
Get the constraint ID
Returns the constraint id
Return type integer
getConstraintType()
Returns the constraint type.
Returns constraint type
Return type integer
getNumWheels()
Returns the number of wheels.
Returns the number of wheels for this vehicle
Return type integer
getWheelOrientationQuaternion(wheelIndex)
Returns the wheel orientation as a quaternion.
Parameters wheelIndex (integer) – the wheel index
Returns TODO Description

1136 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Return type TODO - type should be quat as per method name but from the code it looks like a
matrix
getWheelPosition(wheelIndex)
Returns the position of the specified wheel
Parameters wheelIndex (integer) – the wheel index
Returns position vector
Return type list[x, y, z]
getWheelRotation(wheelIndex)
Returns the rotation of the specified wheel
Parameters wheelIndex (integer) – the wheel index
Returns the wheel rotation
Return type float
setRollInfluence(rollInfluece, wheelIndex)
Set the specified wheel’s roll influence. The higher the roll influence the more the vehicle will tend to roll
over in corners.
Parameters
• rollInfluece (float) – the wheel roll influence
• wheelIndex (integer) – the wheel index
setSteeringValue(steering, wheelIndex)
Set the specified wheel’s steering
Parameters
• steering (float) – the wheel steering
• wheelIndex (integer) – the wheel index
setSuspensionCompression(compression, wheelIndex)
Set the specified wheel’s compression
Parameters
• compression (float) – the wheel compression
• wheelIndex (integer) – the wheel index
setSuspensionDamping(damping, wheelIndex)
Set the specified wheel’s damping
Parameters
• damping (float) – the wheel damping
• wheelIndex (integer) – the wheel index
setSuspensionStiffness(stiffness, wheelIndex)
Set the specified wheel’s stiffness
Parameters
• stiffness (float) – the wheel stiffness
• wheelIndex (integer) – the wheel index

4.1. Game Engine [Link] Module 1137


Blender Index, Release 2.57.0 r36138 - API

setTyreFriction(friction, wheelIndex)
Set the specified wheel’s tyre friction
Parameters
• friction (float) – the tyre friction
• wheelIndex (integer) – the wheel index
class [Link].KX_VertexProxy(SCA_IObject)
A vertex holds position, UV, colour and normal information.
Note: The physics simulation is NOT currently updated - physics will not respond to changes in the vertex
position.
XYZ
The position of the vertex.
Type list [x, y, z]
UV
The texture coordinates of the vertex.
Type list [u, v]
normal
The normal of the vertex.
Type list [nx, ny, nz]
colour
The colour of the vertex.
Type list [r, g, b, a]
Black = [0.0, 0.0, 0.0, 1.0], White = [1.0, 1.0, 1.0, 1.0]
color
Synonym for colour.
x
The x coordinate of the vertex.
Type float
y
The y coordinate of the vertex.
Type float
z
The z coordinate of the vertex.
Type float
u
The u texture coordinate of the vertex.
Type float
v
The v texture coordinate of the vertex.
Type float
u2
The second u texture coordinate of the vertex.

1138 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Type float
v2
The second v texture coordinate of the vertex.
Type float
r
The red component of the vertex colour. 0.0 <= r <= 1.0.
Type float
g
The green component of the vertex colour. 0.0 <= g <= 1.0.
Type float
b
The blue component of the vertex colour. 0.0 <= b <= 1.0.
Type float
a
The alpha component of the vertex colour. 0.0 <= a <= 1.0.
Type float
getXYZ()
Gets the position of this vertex.
Returns this vertexes position in local coordinates.
Return type list [x, y, z]
setXYZ(pos)
Sets the position of this vertex.
Type list [x, y, z]
Parameters pos – the new position for this vertex in local coordinates.
getUV()
Gets the UV (texture) coordinates of this vertex.
Returns this vertexes UV (texture) coordinates.
Return type list [u, v]
setUV(uv)
Sets the UV (texture) coordinates of this vertex.
Type list [u, v]
getUV2()
Gets the 2nd UV (texture) coordinates of this vertex.
Returns this vertexes UV (texture) coordinates.
Return type list [u, v]
setUV2(uv, unit)
Sets the 2nd UV (texture) coordinates of this vertex.
Type list [u, v]
Parameters
• unit – optional argument, FLAT==1, SECOND_UV==2, defaults to SECOND_UV

4.1. Game Engine [Link] Module 1139


Blender Index, Release 2.57.0 r36138 - API

• unit – integer
getRGBA()
Gets the colour of this vertex.
The colour is represented as four bytes packed into an integer value. The colour is packed as RGBA.
Since Python offers no way to get each byte without shifting, you must use the struct module to access
colour in an machine independent way.
Because of this, it is suggested you use the r, g, b and a attributes or the colour attribute instead.
import struct;
col = [Link](’4B’, [Link](’I’, [Link]()))
# col = (r, g, b, a)
# black = ( 0, 0, 0, 255)
# white = (255, 255, 255, 255)

Returns packed colour. 4 byte integer with one byte per colour channel in RGBA format.
Return type integer

setRGBA(col)
Sets the colour of this vertex.
See getRGBA() for the format of col, and its relevant problems. Use the r, g, b and a attributes or the
colour attribute instead.
setRGBA() also accepts a four component list as argument col. The list represents the colour as [r, g, b, a]
with black = [0.0, 0.0, 0.0, 1.0] and white = [1.0, 1.0, 1.0, 1.0]
[Link](0xff0000ff) # Red
[Link](0xff00ff00) # Green on little endian, transparent purple on big endian
[Link]([1.0, 0.0, 0.0, 1.0]) # Red
[Link]([0.0, 1.0, 0.0, 1.0]) # Green on all platforms.

Parameters col (integer or list [r, g, b, a]) – the new colour of this vertex in packed RGBA
format.

getNormal()
Gets the normal vector of this vertex.
Returns normalised normal vector.
Return type list [nx, ny, nz]
setNormal(normal)
Sets the normal vector of this vertex.
Type sequence of floats [r, g, b]
Parameters normal – the new normal of this vertex.
class [Link].KX_VisibilityActuator(SCA_IActuator)
Visibility Actuator.
visibility
whether the actuator makes its parent object visible or invisible.
Type boolean
useOcclusion
whether the actuator makes its parent object an occluder or not.

1140 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Type boolean
useRecursion
whether the visibility/occlusion should be propagated to all children of the object.
Type boolean
class [Link].SCA_2DFilterActuator(SCA_IActuator)
Create, enable and disable 2D filters
The following properties don’t have an immediate effect. You must active the actuator to get the result.
The actuator is not persistent: it automatically stops itself after setting up the filter but the filter remains
active. To stop a filter you must activate the actuator with ‘type’ set to RAS_2DFILTER_DISABLED or
RAS_2DFILTER_NOFILTER.
shaderText
shader source code for custom shader.
Type string
disableMotionBlur
action on motion blur: 0=enable, 1=disable.
Type integer
mode
Type of 2D filter, use one of these constants
Type integer
passNumber
order number of filter in the stack of 2D filters. Filters are executed in increasing order of passNb.
Only be one filter can be defined per passNb.
Type integer (0-100)
value
argument for motion blur filter.
Type float (0.0-100.0)
class [Link].SCA_ANDController(SCA_IController)
An AND controller activates only when all linked sensors are activated.
There are no special python methods for this controller.
class [Link].SCA_ActuatorSensor(SCA_ISensor)
Actuator sensor detect change in actuator state of the parent object. It generates a positive pulse if the corre-
sponding actuator is activated and a negative pulse if the actuator is deactivated.
actuator
the name of the actuator that the sensor is monitoring.
Type string
class [Link].SCA_AlwaysSensor(SCA_ISensor)
This sensor is always activated.
class [Link].SCA_DelaySensor(SCA_ISensor)
The Delay sensor generates positive and negative triggers at precise time, expressed in number of frames. The
delay parameter defines the length of the initial OFF period. A positive trigger is generated at the end of this
period.

4.1. Game Engine [Link] Module 1141


Blender Index, Release 2.57.0 r36138 - API

The duration parameter defines the length of the ON period following the OFF period. There is a negative trigger
at the end of the ON period. If duration is 0, the sensor stays ON and there is no negative trigger.
The sensor runs the OFF-ON cycle once unless the repeat option is set: the OFF-ON cycle repeats indefinately
(or the OFF cycle if duration is 0).
Use SCA_ISensor.reset at any time to restart sensor.
delay
length of the initial OFF period as number of frame, 0 for immediate trigger.
Type integer.
duration
length of the ON period in number of frame after the initial OFF period.
If duration is greater than 0, a negative trigger is sent at the end of the ON pulse.
Type integer
repeat
1 if the OFF-ON cycle should be repeated indefinately, 0 if it should run once.
Type integer
class [Link].SCA_JoystickSensor(SCA_ISensor)
This sensor detects player joystick events.
axisValues
The state of the joysticks axis as a list of values numAxis long. (read-only).
Type list of ints.
Each spesifying the value of an axis between -32767 and 32767 depending on how far the axis is pushed,
0 for nothing. The first 2 values are used by most joysticks and gamepads for directional control. 3rd and
4th values are only on some joysticks and can be used for arbitary controls.
•left:[-32767, 0, ...]
•right:[32767, 0, ...]
•up:[0, -32767, ...]
•down:[0, 32767, ...]
axisSingle
like axisValues but returns a single axis value that is set by the sensor. (read-only).
Type integer

Note: Only use this for “Single Axis” type sensors otherwise it will raise an error.

hatValues
The state of the joysticks hats as a list of values numHats long. (read-only).
Type list of ints
Each spesifying the direction of the hat from 1 to 12, 0 when inactive.
Hat directions are as follows...
•0:None
•1:Up
•2:Right

1142 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

•4:Down
•8:Left
•3:Up - Right
•6:Down - Right
•12:Down - Left
•9:Up - Left
hatSingle
Like hatValues but returns a single hat direction value that is set by the sensor. (read-only).
Type integer
numAxis
The number of axes for the joystick at this index. (read-only).
Type integer
numButtons
The number of buttons for the joystick at this index. (read-only).
Type integer
numHats
The number of hats for the joystick at this index. (read-only).
Type integer
connected
True if a joystick is connected at this joysticks index. (read-only).
Type boolean
index
The joystick index to use (from 0 to 7). The first joystick is always 0.
Type integer
threshold
Axis threshold. Joystick axis motion below this threshold wont trigger an event. Use values between (0
and 32767), lower values are more sensitive.
Type integer
button
The button index the sensor reacts to (first button = 0). When the “All Events” toggle is set, this option has
no effect.
Type integer
axis
The axis this sensor reacts to, as a list of two values [axisIndex, axisDirection]
•axisIndex: the axis index to use when detecting axis movement, 1=primary directional control, 2=sec-
ondary directional control.
•axisDirection: 0=right, 1=up, 2=left, 3=down.

Type [integer, integer]

hat
The hat the sensor reacts to, as a list of two values: [hatIndex, hatDirection]

4.1. Game Engine [Link] Module 1143


Blender Index, Release 2.57.0 r36138 - API

•hatIndex: the hat index to use when detecting hat movement, 1=primary hat, 2=secondary hat (4 max).
•hatDirection: 1-12.

Type [integer, integer]

getButtonActiveList()
Returns A list containing the indicies of the currently pressed buttons.
Return type list
getButtonStatus(buttonIndex)
Parameters buttonIndex (integer) – the button index, 0=first button
Returns The current pressed state of the specified button.
Return type boolean
class [Link].SCA_KeyboardSensor(SCA_ISensor)
A keyboard sensor detects player key presses.
See module [Link] for keycode values.
key
The key code this sensor is looking for.
Type keycode from [Link] module
hold1
The key code for the first modifier this sensor is looking for.
Type keycode from [Link] module
hold2
The key code for the second modifier this sensor is looking for.
Type keycode from [Link] module
toggleProperty
The name of the property that indicates whether or not to log keystrokes as a string.
Type string
targetProperty
The name of the property that receives keystrokes in case in case a string is logged.
Type string
useAllKeys
Flag to determine whether or not to accept all keys.
Type boolean
events
a list of pressed keys that have either been pressed, or just released, or are active this frame. (read-only).
Type list [[keycode, status], ...]
getKeyStatus(keycode)
Get the status of a key.
Parameters keycode (integer) – The code that represents the key you want to get the state of,
use one of these constants
Returns The state of the given key, can be one of these constants

1144 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Return type int


class [Link].SCA_NANDController(SCA_IController)
An NAND controller activates when all linked sensors are not active.
There are no special python methods for this controller.
class [Link].SCA_NORController(SCA_IController)
An NOR controller activates only when all linked sensors are de-activated.
There are no special python methods for this controller.
class [Link].SCA_ORController(SCA_IController)
An OR controller activates when any connected sensor activates.
There are no special python methods for this controller.
class [Link].SCA_PropertyActuator(SCA_IActuator)
Property Actuator
propName
the property on which to operate.
Type string
value
the value with which the actuator operates.
Type string
mode
TODO - add constants to game logic dict!.
Type integer
class [Link].SCA_PropertySensor(SCA_ISensor)
Activates when the game object property matches.
mode
Type of check on the property. Can be one of these constants
Type integer.
propName
the property the sensor operates.
Type string
value
the value with which the sensor compares to the value of the property.
Type string
min
the minimum value of the range used to evaluate the property when in interval mode.
Type string
max
the maximum value of the range used to evaluate the property when in interval mode.
Type string
class [Link].SCA_PythonController(SCA_IController)
A Python controller uses a Python script to activate it’s actuators, based on it’s sensors.

4.1. Game Engine [Link] Module 1145


Blender Index, Release 2.57.0 r36138 - API

script
The value of this variable depends on the execution methid.
•When ‘Script’ execution mode is set this value contains the entire python script as a single string (not
the script name as you might expect) which can be modified to run different scripts.
•When ‘Module’ execution mode is set this value will contain a single line string - module name and
function “[Link]” or “[Link]” where the module names are python textblocks or
external scripts.

Type string

Note: Once this is set the script name given for warnings will remain unchanged.

mode
the execution mode for this controller (read-only).
•Script: 0, Execite the script as a python code.
•Module: 1, Execite the script as a module and function.

Type integer

activate(actuator)
Activates an actuator attached to this controller.
Parameters actuator (actuator or the actuator name as a string) – The actuator to operate on.
deactivate(actuator)
Deactivates an actuator attached to this controller.
Parameters actuator (actuator or the actuator name as a string) – The actuator to operate on.
class [Link].SCA_RandomActuator(SCA_IActuator)
Random Actuator
seed
Seed of the random number generator.
Type integer.
Equal seeds produce equal series. If the seed is 0, the generator will produce the same value on every call.
para1
the first parameter of the active distribution.
Type float, read-only.
Refer to the documentation of the generator types for the meaning of this value.
para2
the second parameter of the active distribution.
Type float, read-only
Refer to the documentation of the generator types for the meaning of this value.
distribution
Distribution type. (read-only). Can be one of these constants
Type integer

1146 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

propName
the name of the property to set with the random value.
Type string
If the generator and property types do not match, the assignment is ignored.
setBoolConst(value)
Sets this generator to produce a constant boolean value.
Parameters value (boolean) – The value to return.
setBoolUniform()
Sets this generator to produce a uniform boolean distribution.
The generator will generate True or False with 50% chance.
setBoolBernouilli(value)
Sets this generator to produce a Bernouilli distribution.
Parameters value (float) – Specifies the proportion of False values to produce.
• 0.0: Always generate True
• 1.0: Always generate False
setIntConst(value)
Sets this generator to always produce the given value.
Parameters value (integer) – the value this generator produces.
setIntUniform(lower_bound, upper_bound)
Sets this generator to produce a random value between the given lower and upper bounds (inclusive).

setIntPoisson(value)
Generate a Poisson-distributed number.
This performs a series of Bernouilli tests with parameter value. It returns the number of tries needed to
achieve succes.

setFloatConst(value)
Always generate the given value.

setFloatUniform(lower_bound, upper_bound)
Generates a random float between lower_bound and upper_bound with a uniform distribution.

setFloatNormal(mean, standard_deviation)
Generates a random float from the given normal distribution.
Parameters
• mean (float) – The mean (average) value of the generated numbers
• standard_deviation (float) – The standard deviation of the generated numbers.
setFloatNegativeExponential(half_life)
Generate negative-exponentially distributed numbers.
The half-life ‘time’ is characterized by half_life.

4.1. Game Engine [Link] Module 1147


Blender Index, Release 2.57.0 r36138 - API

class [Link].SCA_RandomSensor(SCA_ISensor)
This sensor activates randomly.
lastDraw
The seed of the random number generator.
Type integer
seed
The seed of the random number generator.
Type integer
setSeed(seed)
Sets the seed of the random number generator.
If the seed is 0, the generator will produce the same value on every call.

getSeed()
Returns The initial seed of the generator. Equal seeds produce equal random series.
Return type integer
getLastDraw()
Returns The last random number generated.
Return type integer
class [Link].SCA_XNORController(SCA_IController)
An XNOR controller activates when all linked sensors are the same (activated or inative).
There are no special python methods for this controller.
class [Link].SCA_XORController(SCA_IController)
An XOR controller activates when there is the input is mixed, but not when all are on or off.
There are no special python methods for this controller.
class [Link].KX_Camera(KX_GameObject)
A Camera object.
INSIDE
See sphereInsideFrustum and boxInsideFrustum
INTERSECT
See sphereInsideFrustum and boxInsideFrustum
OUTSIDE
See sphereInsideFrustum and boxInsideFrustum
lens
The camera’s lens value.
Type float
ortho_scale
The camera’s view scale when in orthographic mode.
Type float

1148 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

near
The camera’s near clip distance.
Type float
far
The camera’s far clip distance.
Type float
perspective
True if this camera has a perspective transform, False for an orthographic projection.
Type boolean
frustum_culling
True if this camera is frustum culling.
Type boolean
projection_matrix
This camera’s 4x4 projection matrix.
Type 4x4 Matrix [[float]]
modelview_matrix
This camera’s 4x4 model view matrix. (read-only).
Type 4x4 Matrix [[float]]

Note: This matrix is regenerated every frame from the camera’s position and orientation.

camera_to_world
This camera’s camera to world transform. (read-only).
Type 4x4 Matrix [[float]]

Note: This matrix is regenerated every frame from the camera’s position and orientation.

world_to_camera
This camera’s world to camera transform. (read-only).
Type 4x4 Matrix [[float]]

Note: Regenerated every frame from the camera’s position and orientation.

Note: This is camera_to_world inverted.

useViewport
True when the camera is used as a viewport, set True to enable a viewport for this camera.
Type boolean
sphereInsideFrustum(centre, radius)
Tests the given sphere against the view frustum.
Parameters
• centre (list [x, y, z]) – The centre of the sphere (in world coordinates.)

4.1. Game Engine [Link] Module 1149


Blender Index, Release 2.57.0 r36138 - API

• radius (float) – the radius of the sphere


Returns INSIDE, OUTSIDE or INTERSECT
Return type integer

Note: When the camera is first initialized the result will be invalid because the projection matrix has not
been set.

import GameLogic
co = [Link]()
cam = [Link]

# A sphere of radius 4.0 located at [x, y, z] = [1.0, 1.0, 1.0]


if ([Link]([1.0, 1.0, 1.0], 4) != [Link]):
# Sphere is inside frustum !
# Do something useful !
else:
# Sphere is outside frustum

boxInsideFrustum(box)
Tests the given box against the view frustum.
Parameters box (list of lists) – Eight (8) corner points of the box (in world coordinates.)
Returns INSIDE, OUTSIDE or INTERSECT

Note: When the camera is first initialized the result will be invalid because the projection matrix has not
been set.

import GameLogic
co = [Link]()
cam = [Link]

# Box to test...
box = []
[Link]([-1.0, -1.0, -1.0])
[Link]([-1.0, -1.0, 1.0])
[Link]([-1.0, 1.0, -1.0])
[Link]([-1.0, 1.0, 1.0])
[Link]([ 1.0, -1.0, -1.0])
[Link]([ 1.0, -1.0, 1.0])
[Link]([ 1.0, 1.0, -1.0])
[Link]([ 1.0, 1.0, 1.0])

if ([Link](box) != [Link]):
# Box is inside/intersects frustum !
# Do something useful !
else:
# Box is outside the frustum !

pointInsideFrustum(point)
Tests the given point against the view frustum.
Parameters point (3D Vector) – The point to test (in world coordinates.)
Returns True if the given point is inside this camera’s viewing frustum.
Return type boolean

1150 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Note: When the camera is first initialized the result will be invalid because the projection matrix has not
been set.

import GameLogic
co = [Link]()
cam = [Link]

# Test point [0.0, 0.0, 0.0]


if ([Link]([0.0, 0.0, 0.0])):
# Point is inside frustum !
# Do something useful !
else:
# Box is outside the frustum !

getCameraToWorld()
Returns the camera-to-world transform.
Returns the camera-to-world transform matrix.
Return type matrix (4x4 list)
getWorldToCamera()
Returns the world-to-camera transform.
This returns the inverse matrix of getCameraToWorld().
Returns the world-to-camera transform matrix.
Return type matrix (4x4 list)
setOnTop()
Set this cameras viewport ontop of all other viewport.
setViewport(left, bottom, right, top)
Sets the region of this viewport on the screen in pixels.
Use [Link] and [Link] to calculate values
relative to the entire display.
Parameters
• left (integer) – left pixel coordinate of this viewport
• bottom (integer) – bottom pixel coordinate of this viewport
• right (integer) – right pixel coordinate of this viewport
• top (integer) – top pixel coordinate of this viewport
getScreenPosition(object)
Gets the position of an object projected on screen space.
# For an object in the middle of the screen, coord = [0.5, 0.5]
coord = [Link](object)

Parameters object (KX_GameObject or 3D Vector) – object name or list [x, y, z]


Returns the object’s position in screen coordinates.
Return type list [x, y]

4.1. Game Engine [Link] Module 1151


Blender Index, Release 2.57.0 r36138 - API

getScreenVect(x, y)
Gets the vector from the camera position in the screen coordinate direction.
Parameters
• x (float) – X Axis
• y (float) – Y Axis
Return type 3D Vector
Returns The vector from screen coordinate.
# Gets the vector of the camera front direction:
m_vect = [Link](0.5, 0.5)

getScreenRay(x, y, dist=inf, property=None)


Look towards a screen coordinate (x, y) and find first object hit within dist that matches prop. The ray is
similar to KX_GameObject->rayCastTo.
Parameters
• x (float) – X Axis
• y (float) – Y Axis
• dist (float) – max distance to look (can be negative => look behind); 0 or omitted => detect
up to other
• property (string) – property name that object must have; can be omitted => detect any
object
Return type KX_GameObject
Returns the first object hit or None if no object or object does not match prop
# Gets an object with a property "wall" in front of the camera within a distance of 100:
target = [Link](0.5, 0.5, 100, "wall")

class [Link].BL_ArmatureObject(KX_GameObject)
An armature object.
constraints
The list of armature constraint defined on this armature. Elements of the list can be accessed by index or
string. The key format for string access is ‘<bone_name>:<constraint_name>’.
Type list of BL_ArmatureConstraint
channels
The list of armature channels. Elements of the list can be accessed by index or name the bone.
Type list of BL_ArmatureChannel
update()
Ensures that the armature will be updated on next graphic frame.
This action is unecessary if a KX_ArmatureActuator with mode run is active or if an action is playing.
Use this function in other cases. It must be called on each frame to ensure that the armature is updated
continously.
class [Link].BL_ArmatureActuator(SCA_IActuator)
Armature Actuators change constraint condition on armatures. Constants related to type

1152 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

KX_ACT_ARMATURE_RUN
Just make sure the armature will be updated on the next graphic frame. This is the only persistent mode of
the actuator: it executes automatically once per frame until stopped by a controller
Value 0
KX_ACT_ARMATURE_ENABLE
Enable the constraint.
Value 1
KX_ACT_ARMATURE_DISABLE
Disable the constraint (runtime constraint values are not updated).
Value 2
KX_ACT_ARMATURE_SETTARGET
Change target and subtarget of constraint.
Value 3
KX_ACT_ARMATURE_SETWEIGHT
Change weight of (only for IK constraint).
Value 4
type
The type of action that the actuator executes when it is active.
Can be one of these constants
Type integer
constraint
The constraint object this actuator is controlling.
Type BL_ArmatureConstraint
target
The object that this actuator will set as primary target to the constraint it controls.
Type KX_GameObject
subtarget
The object that this actuator will set as secondary target to the constraint it controls.
Type KX_GameObject.

Note: Currently, the only secondary target is the pole target for IK constraint.

weight
The weight this actuator will set on the constraint it controls.
Type float.

Note: Currently only the IK constraint has a weight. It must be a value between 0 and 1.

Note: A weight of 0 disables a constraint while still updating constraint runtime values (see
BL_ArmatureConstraint)

4.1. Game Engine [Link] Module 1153


Blender Index, Release 2.57.0 r36138 - API

class [Link].KX_ArmatureSensor(SCA_ISensor)
Armature sensor detect conditions on armatures. Constants related to type
KX_ARMSENSOR_STATE_CHANGED
Detect that the constraint is changing state (active/inactive)
Value 0
KX_ARMSENSOR_LIN_ERROR_BELOW
Detect that the constraint linear error is above a threshold
Value 1
KX_ARMSENSOR_LIN_ERROR_ABOVE
Detect that the constraint linear error is below a threshold
Value 2
KX_ARMSENSOR_ROT_ERROR_BELOW
Detect that the constraint rotation error is above a threshold
Value 3
KX_ARMSENSOR_ROT_ERROR_ABOVE
Detect that the constraint rotation error is below a threshold
Value 4
type
The type of measurement that the sensor make when it is active.
Can be one of these constants
Type integer.
constraint
The constraint object this sensor is watching.
Type BL_ArmatureConstraint
value
The threshold used in the comparison with the constraint error The linear error is only updated on Copy-
Pose/Distance IK constraint with iTaSC solver The rotation error is only updated on CopyPose+rotation
IK constraint with iTaSC solver The linear error on CopyPose is always >= 0: it is the norm of the distance
between the target and the bone The rotation error on CopyPose is always >= 0: it is the norm of the
equivalent rotation vector between the bone and the target orientations The linear error on Distance can be
positive if the distance between the bone and the target is greater than the desired distance, and negative if
the distance is smaller.
Type float
class [Link].BL_ArmatureConstraint(PyObjectPlus)
Proxy to Armature Constraint. Allows to change constraint on the fly. Obtained through
BL_ArmatureObject.constraints.

Note: Not all armature constraints are supported in the GE.

Constants related to type


CONSTRAINT_TYPE_TRACKTO
CONSTRAINT_TYPE_KINEMATIC
CONSTRAINT_TYPE_ROTLIKE

1154 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

CONSTRAINT_TYPE_LOCLIKE
CONSTRAINT_TYPE_MINMAX
CONSTRAINT_TYPE_SIZELIKE
CONSTRAINT_TYPE_LOCKTRACK
CONSTRAINT_TYPE_STRETCHTO
CONSTRAINT_TYPE_CLAMPTO
CONSTRAINT_TYPE_TRANSFORM
CONSTRAINT_TYPE_DISTLIMIT
Constants related to ik_type
CONSTRAINT_IK_COPYPOSE
constraint is trying to match the position and eventually the rotation of the target.
Value 0
CONSTRAINT_IK_DISTANCE
Constraint is maintaining a certain distance to target subject to ik_mode
Value 1
Constants related to ik_flag
CONSTRAINT_IK_FLAG_TIP
Set when the constraint operates on the head of the bone and not the tail
Value 1
CONSTRAINT_IK_FLAG_ROT
Set when the constraint tries to match the orientation of the target
Value 2
CONSTRAINT_IK_FLAG_STRETCH
Set when the armature is allowed to stretch (only the bones with stretch factor > 0.0)
Value 16
CONSTRAINT_IK_FLAG_POS
Set when the constraint tries to match the position of the target.
Value 32
Constants related to ik_mode
CONSTRAINT_IK_MODE_INSIDE
The constraint tries to keep the bone within ik_dist of target
Value 0
CONSTRAINT_IK_MODE_OUTSIDE
The constraint tries to keep the bone outside ik_dist of the target
Value 1
CONSTRAINT_IK_MODE_ONSURFACE
The constraint tries to keep the bone exactly at ik_dist of the target.
Value 2

4.1. Game Engine [Link] Module 1155


Blender Index, Release 2.57.0 r36138 - API

type
Type of constraint, (read-only).
Use one of these constants.
Type integer, one of CONSTRAINT_TYPE_* constants
name
Name of constraint constructed as <bone_name>:<constraint_name>. constraints list.
Type string
This name is also the key subscript on BL_ArmatureObject.
enforce
fraction of constraint effect that is enforced. Between 0 and 1.
Type float
headtail
Position of target between head and tail of the target bone: 0=head, 1=tail.
Type float.

Note: Only used if the target is a bone (i.e target object is an armature.

lin_error
runtime linear error (in Blender units) on constraint at the current frame.
This is a runtime value updated on each frame by the IK solver. Only available on IK constraint and iTaSC
solver.
Type float
rot_error
Runtime rotation error (in radiant) on constraint at the current frame.
Type float.
This is a runtime value updated on each frame by the IK solver. Only available on IK constraint and iTaSC
solver.
It is only set if the constraint has a rotation part, for example, a CopyPose+Rotation IK constraint.
target
Primary target object for the constraint. The position of this object in the GE will be used as target for the
constraint.
Type KX_GameObject.
subtarget
Secondary target object for the constraint. The position of this object in the GE will be used as secondary
target for the constraint.
Type KX_GameObject.
Currently this is only used for pole target on IK constraint.
active
True if the constraint is active.
Type boolean

1156 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Note: An inactive constraint does not update lin_error and rot_error.

ik_weight
Weight of the IK constraint between 0 and 1.
Only defined for IK constraint.
Type float
ik_type
Type of IK constraint, (read-only).
Use one of these constants.
Type integer.
ik_flag
Combination of IK constraint option flags, read-only.
Use one of these constants.
Type integer
ik_dist
Distance the constraint is trying to maintain with target, only used when
ik_type=CONSTRAINT_IK_DISTANCE.
Type float
ik_mode
Use one of these constants.
Additional mode for IK constraint. Currently only used for Distance constraint:
Type integer
class [Link].BL_ArmatureChannel(PyObjectPlus)
Proxy to armature pose channel. Allows to read and set armature pose. The attributes are identical to RNA
attributes, but mostly in read-only mode.
See rotation_mode
PCHAN_ROT_QUAT
PCHAN_ROT_XYZ
PCHAN_ROT_XZY
PCHAN_ROT_YXZ
PCHAN_ROT_YZX
PCHAN_ROT_ZXY
PCHAN_ROT_ZYX
name
channel name (=bone name), read-only.
Type string
bone
return the bone object corresponding to this pose channel, read-only.
Type BL_ArmatureBone

4.1. Game Engine [Link] Module 1157


Blender Index, Release 2.57.0 r36138 - API

parent
return the parent channel object, None if root channel, read-only.
Type BL_ArmatureChannel
has_ik
true if the bone is part of an active IK chain, read-only. This flag is not set when an IK constraint is defined
but not enabled (miss target information for example).
Type boolean
ik_dof_x
true if the bone is free to rotation in the X axis, read-only.
Type boolean
ik_dof_y
true if the bone is free to rotation in the Y axis, read-only.
Type boolean
ik_dof_z
true if the bone is free to rotation in the Z axis, read-only.
Type boolean
ik_limit_x
true if a limit is imposed on X rotation, read-only.
Type boolean
ik_limit_y
true if a limit is imposed on Y rotation, read-only.
Type boolean
ik_limit_z
true if a limit is imposed on Z rotation, read-only.
Type boolean
ik_rot_control
true if channel rotation should applied as IK constraint, read-only.
Type boolean
ik_lin_control
true if channel size should applied as IK constraint, read-only.
Type boolean
location
displacement of the bone head in armature local space, read-write.
Type vector [X, Y, Z].

Note: You can only move a bone if it is unconnected to its parent. An action playing on the armature may
change the value. An IK chain does not update this value, see joint_rotation.

Note: Changing this field has no immediate effect, the pose is updated when the armature is updated
during the graphic render (see BL_ArmatureObject.update).

1158 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

scale
scale of the bone relative to its parent, read-write.
Type vector [sizeX, sizeY, sizeZ].

Note: An action playing on the armature may change the value. An IK chain does not update this value,
see joint_rotation.

Note: Changing this field has no immediate effect, the pose is updated when the armature is updated
during the graphic render (see BL_ArmatureObject.update)

rotation_quaternion
rotation of the bone relative to its parent expressed as a quaternion, read-write.
Type vector [qr, qi, qj, qk].

Note: This field is only used if rotation_mode is 0. An action playing on the armature may change the
value. An IK chain does not update this value, see joint_rotation.

Note: Changing this field has no immediate effect, the pose is updated when the armature is updated
during the graphic render (see BL_ArmatureObject.update)

rotation_euler
rotation of the bone relative to its parent expressed as a set of euler angles, read-write.
Type vector [X, Y, Z].

Note: This field is only used if rotation_mode is > 0. You must always pass the angles in [X, Y, Z] order;
the order of applying the angles to the bone depends on rotation_mode. An action playing on the armature
may change this field. An IK chain does not update this value, see joint_rotation.

Note: Changing this field has no immediate effect, the pose is updated when the armature is updated
during the graphic render (see BL_ArmatureObject.update)

rotation_mode
Method of updating the bone rotation, read-write.
Type integer
Use the following constants (euler mode are named as in Blender UI but the actual axis order is reversed).
•PCHAN_ROT_QUAT(0) : use quaternioin in rotation attribute to update bone rotation
•PCHAN_ROT_XYZ(1) : use euler_rotation and apply angles on bone’s Z, Y, X axis successively
•PCHAN_ROT_XZY(2) : use euler_rotation and apply angles on bone’s Y, Z, X axis successively
•PCHAN_ROT_YXZ(3) : use euler_rotation and apply angles on bone’s Z, X, Y axis successively
•PCHAN_ROT_YZX(4) : use euler_rotation and apply angles on bone’s X, Z, Y axis successively
•PCHAN_ROT_ZXY(5) : use euler_rotation and apply angles on bone’s Y, X, Z axis successively
•PCHAN_ROT_ZYX(6) : use euler_rotation and apply angles on bone’s X, Y, Z axis successively

4.1. Game Engine [Link] Module 1159


Blender Index, Release 2.57.0 r36138 - API

channel_matrix
pose matrix in bone space (deformation of the bone due to action, constraint, etc), Read-only. This field is
updated after the graphic render, it represents the current pose.
Type matrix [4][4]
pose_matrix
pose matrix in armature space, read-only, This field is updated after the graphic render, it represents the
current pose.
Type matrix [4][4]
pose_head
position of bone head in armature space, read-only.
Type vector [x, y, z]
pose_tail
position of bone tail in armature space, read-only.
Type vector [x, y, z]
ik_min_x
minimum value of X rotation in degree (<= 0) when X rotation is limited (see ik_limit_x), read-only.
Type float
ik_max_x
maximum value of X rotation in degree (>= 0) when X rotation is limited (see ik_limit_x), read-only.
Type float
ik_min_y
minimum value of Y rotation in degree (<= 0) when Y rotation is limited (see ik_limit_y), read-only.
Type float
ik_max_y
maximum value of Y rotation in degree (>= 0) when Y rotation is limited (see ik_limit_y), read-only.
Type float
ik_min_z
minimum value of Z rotation in degree (<= 0) when Z rotation is limited (see ik_limit_z), read-only.
Type float
ik_max_z
maximum value of Z rotation in degree (>= 0) when Z rotation is limited (see ik_limit_z), read-only.
Type float
ik_stiffness_x
bone rotation stiffness in X axis, read-only.
Type float between 0 and 1
ik_stiffness_y
bone rotation stiffness in Y axis, read-only.
Type float between 0 and 1
ik_stiffness_z
bone rotation stiffness in Z axis, read-only.
Type float between 0 and 1

1160 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

ik_stretch
ratio of scale change that is allowed, 0=bone can’t change size, read-only.
Type float
ik_rot_weight
weight of rotation constraint when ik_rot_control is set, read-write.
Type float between 0 and 1
ik_lin_weight
weight of size constraint when ik_lin_control is set, read-write.
Type float between 0 and 1
joint_rotation
Control bone rotation in term of joint angle (for robotic applications), read-write.
When writing to this attribute, you pass a [x, y, z] vector and an appropriate set of euler angles or quaternion
is calculated according to the rotation_mode.
When you read this attribute, the current pose matrix is converted into a [x, y, z] vector representing the
joint angles.
The value and the meaning of the x, y, z depends on the ik_dof_x/ik_dof_y/ik_dof_z attributes:
•1DoF joint X, Y or Z: the corresponding x, y, or z value is used an a joint angle in radiant
•2DoF joint X+Y or Z+Y: treated as 2 successive 1DoF joints: first X or Z, then Y. The x or z value is
used as a joint angle in radiant along the X or Z axis, followed by a rotation along the new Y axis of
y radiants.
•2DoF joint X+Z: treated as a 2DoF joint with rotation axis on the X/Z plane. The x and z values are
used as the coordinates of the rotation vector in the X/Z plane.
•3DoF joint X+Y+Z: treated as a revolute joint. The [x, y, z] vector represents the equivalent rotation
vector to bring the joint from the rest pose to the new pose.

Type vector [x, y, z]

Note: The bone must be part of an IK chain if you want to set the ik_dof_x/ik_dof_y/ik_dof_z attributes
via the UI, but this will interfere with this attribute since the IK solver will overwrite the pose. You can
stay in control of the armature if you create an IK constraint but do not finalize it (e.g. don’t set a target)
the IK solver will not run but the IK panel will show up on the UI for each bone in the chain.

Note: [0, 0, 0] always corresponds to the rest pose.

Note: You must request the armature pose to update and wait for the next graphic frame to see the effect
of setting this attribute (see BL_ArmatureObject.update).

Note: You can read the result of the calculation in rotation or euler_rotation attributes after setting this
attribute.

class [Link].BL_ArmatureBone(PyObjectPlus)
Proxy to Blender bone structure. All fields are read-only and comply to RNA names. All space attribute
correspond to the rest pose.

4.1. Game Engine [Link] Module 1161


Blender Index, Release 2.57.0 r36138 - API

name
bone name.
Type string
connected
true when the bone head is struck to the parent’s tail.
Type boolean
hinge
true when bone doesn’t inherit rotation or scale from parent bone.
Type boolean
inherit_scale
true when bone inherits scaling from parent bone.
Type boolean
bbone_segments
number of B-bone segments.
Type integer
roll
bone rotation around head-tail axis.
Type float
head
location of head end of the bone in parent bone space.
Type vector [x, y, z]
tail
location of head end of the bone in parent bone space.
Type vector [x, y, z]
length
bone length.
Type float
arm_head
location of head end of the bone in armature space.
Type vector [x, y, z]
arm_tail
location of tail end of the bone in armature space.
Type vector [x, y, z]
arm_mat
matrix of the bone head in armature space.
Type matrix [4][4]

Note: This matrix has no scale part.

bone_mat
rotation matrix of the bone in parent bone space.

1162 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Type matrix [3][3]


parent
parent bone, or None for root bone.
Type BL_ArmatureBone
children
list of bone’s children.
Type list of BL_ArmatureBone

4.2 Game Engine [Link] Module

4.2.1 Intro

Module to access logic functions, imported automatically into the python controllers namespace.
# To get the controller thats running this python script:
cont = [Link]() # [Link] is automatically imported

# To get the game object this controller is on:


obj = [Link]

KX_GameObject and KX_Camera or [Link].~KX_LightObject methods are available depending on


the type of object
# To get a sensor linked to this controller.
# "sensorname" is the name of the sensor as defined in the Blender interface.
# +---------------------+ +--------+
# | Sensor "sensorname" +--+ Python +
# +---------------------+ +--------+
sens = [Link]["sensorname"]

# To get a sequence of all sensors:


sensors = [Link]

See the sensor’s reference for available methods:


• KX_MouseFocusSensor
• KX_NearSensor
• KX_NetworkMessageSensor
• KX_RadarSensor
• KX_RaySensor
• KX_TouchSensor
• SCA_DelaySensor
• SCA_JoystickSensor
• SCA_KeyboardSensor
• SCA_MouseSensor
• SCA_PropertySensor
• SCA_RandomSensor
You can also access actuators linked to the controller
# To get an actuator attached to the controller:
# +--------+ +-------------------------+
# + Python +--+ Actuator "actuatorname" |
# +--------+ +-------------------------+

4.2. Game Engine [Link] Module 1163


Blender Index, Release 2.57.0 r36138 - API

actuator = [Link]["actuatorname"]

# Activate an actuator
[Link](actuator)

See the actuator’s reference for available methods


• BL_ActionActuator
• BL_ShapeActionActuator
• KX_CameraActuator
• KX_ConstraintActuator
• KX_GameActuator
• KX_IpoActuator
• KX_NetworkMessageActuator
• KX_ObjectActuator
• KX_ParentActuator
• KX_SCA_AddObjectActuator
• KX_SCA_DynamicActuator
• KX_SCA_EndObjectActuator
• KX_SCA_ReplaceMeshActuator
• KX_SceneActuator
• KX_SoundActuator
• KX_StateActuator
• KX_TrackToActuator
• KX_VisibilityActuator
• SCA_2DFilterActuator
• SCA_PropertyActuator
• SCA_RandomActuator
Most logic brick’s methods are accessors for the properties available in the logic buttons. Consult the logic bricks
documentation for more information on how each logic brick works.
There are also methods to access the current [Link].KX_Scene
# Get the current scene
scene = [Link]()

# Get the current camera


cam = scene.active_camera

Matricies as used by the game engine are row major matrix[row][col] = float
[Link].KX_Camera has some examples using matricies.

4.2.2 Variables

[Link]
A dictionary that is saved between loading blend files so you can use it to store inventory and other variables
you want to store between scenes and blend files. It can also be written to a file and loaded later on with the
game load/save actuators.

Note: only python built in types such as int/string/bool/float/tuples/lists can be saved, GameObjects, Actuators
etc will not work as expected.

[Link]
The current keyboard wrapped in an SCA_PythonKeyboard object.

1164 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]
The current mouse wrapped in an SCA_PythonMouse object.

4.2.3 General functions

[Link]()
Gets the Python controller associated with this Python script.
Return type [Link].SCA_PythonController
[Link]()
Gets the current Scene.
Return type [Link].KX_Scene
[Link]()
Gets a list of the current scenes loaded in the game engine.
Return type list of [Link].KX_Scene

Note: Scenes in your blend file that have not been converted wont be in this list. This list will only contain
scenes such as overlays scenes.

[Link]()
Loads [Link] from a file.
[Link]()
Saves [Link] to a file.
[Link](blend)
Loads the blend file.
Parameters blend (string) – The name of the blend file
[Link]()
Ends the current game.
[Link]()
Restarts the current game by reloading the .blend file (the last saved version, not what is currently running).
[Link](blend, type, data, load_actions=False, verbose=False)
Converts the all of the datablocks of the given type from the given blend.
Parameters
• blend (string) – The path to the blend file (or the name to use for the library if data is
supplied)
• type (string) – The datablock type (currently only “Action”, “Mesh” and “Scene” are sup-
ported)
• data (bytes) – Binary data from a blend file (optional)
• load_actions (bool) – Search for and load all actions in a given Scene and not just the
“active” actions (Scene type only)
• verbose (bool) – Whether or not to print debugging information (e.g., “SceneName: Scene”)
[Link](name, type, data)
Uses existing datablock data and loads in as a new library.
Parameters

4.2. Game Engine [Link] Module 1165


Blender Index, Release 2.57.0 r36138 - API

• name (string) – A unique library name used for removal later


• type (string) – The datablock type (currently only “Mesh” is supported)
• data (list of strings) – A list of names of the datablocks to load
[Link](name)
Frees a library, removing all objects and meshes from the currently active scenes.
Parameters name (string) – The name of the library to free (the name used in LibNew)
[Link]()
Returns a list of currently loaded libraries.
Return type list [str]
[Link](name, overlay=1)
Loads a scene into the game engine.
Parameters
• name (string) – The name of the scene
• overlay (integer) – Overlay or underlay (optional)
[Link](subject, body=”“, to=”“, message_from=”“)
Sends a message to sensors in any active scene.
Parameters
• subject (string) – The subject of the message
• body (string) – The body of the message (optional)
• to (string) – The name of the object to send the message to (optional)
• message_from (string) – The name of the object that the message is coming from (optional)
[Link](gravity)
Sets the world gravity.

[Link]()
Returns a 512 point list from the sound card. This only works if the fmod sound driver is being used.
Return type list [float], len(getSpectrum()) == 512
[Link]()
Stops the sound driver using DSP effects.
Only the fmod sound driver supports this. DSP can be computationally expensive.
[Link]()
Gets the maximum number of logic frames per render frame.
Returns The maximum number of logic frames per render frame
Return type integer
[Link](maxlogic)
Sets the maximum number of logic frames that are executed per render frame. This does not affect the physic
system that still runs at full frame rate.
Parameters maxlogic (integer) – The new maximum number of logic frames per render frame.
Valid values: 1..5

1166 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Gets the maximum number of physics frames per render frame.
Returns The maximum number of physics frames per render frame
Return type integer
[Link](maxphysics)
Sets the maximum number of physics timestep that are executed per render frame. Higher value allows physics
to keep up with realtime even if graphics slows down the game. Physics timestep is fixed and equal to 1/tickrate
(see setLogicTicRate) maxphysics/ticrate is the maximum delay of the renderer that physics can compensate.
Parameters maxphysics (integer) – The new maximum number of physics timestep per render
frame. Valid values: 1..5.
[Link]()
Gets the logic update frequency.
Returns The logic frequency in Hz
Return type float
[Link](ticrate)
Sets the logic update frequency.
The logic update frequency is the number of times logic bricks are executed every second. The default is 60 Hz.
Parameters ticrate (float) – The new logic update frequency (in Hz).
[Link]()
Gets the physics update frequency
Returns The physics update frequency in Hz
Return type float
[Link](ticrate)
Sets the physics update frequency
The physics update frequency is the number of times the physics system is executed every second. The default
is 60 Hz.
Parameters ticrate (float) – The new update frequency (in Hz).

4.2.4 Utility functions

[Link](path)
Converts a blender internal path into a proper file system path.
Use / as directory separator in path You can use ‘//’ at the start of the string to define a relative path; Blender
replaces that string by the directory of the startup .blend or runtime file to make a full path name (doesn’t change
during the game, even if you load other .blend). The function also converts the directory separator to the local
file system format.
Parameters path (string) – The path string to be converted/expanded.
Returns The converted string
Return type string
[Link]()
Gets the estimated average framerate
Returns The estimed average framerate in frames per second

4.2. Game Engine [Link] Module 1167


Blender Index, Release 2.57.0 r36138 - API

Return type float


[Link](path = “//”)
Returns a list of blend files in the same directory as the open blend file, or from using the option argument.
Parameters path (string) – Optional directory argument, will be expanded (like expandPath) into
the full path.
Returns A list of filenames, with no directory prefix
Return type list
[Link]()
Returns a random floating point value in the range [0 - 1)
[Link]()
Prints GL Extension Info into the console

4.2.5 Constants

[Link].KX_TRUE
True value used by some modules.
[Link].KX_FALSE
False value used by some modules.

Sensors

Sensor Status

[Link].KX_SENSOR_INACTIVE
[Link].KX_SENSOR_JUST_ACTIVATED
[Link].KX_SENSOR_ACTIVE
[Link].KX_SENSOR_JUST_DEACTIVATED

Property Sensor

[Link].KX_PROPSENSOR_EQUAL
Activate when the property is equal to the sensor value.
Value 1
[Link].KX_PROPSENSOR_NOTEQUAL
Activate when the property is not equal to the sensor value.
Value 2
[Link].KX_PROPSENSOR_INTERVAL
Activate when the property is between the specified limits.
Value 3
[Link].KX_PROPSENSOR_CHANGED
Activate when the property changes
Value 4

1168 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_PROPSENSOR_EXPRESSION
Activate when the expression matches
Value 5

Radar Sensor

See [Link].KX_RadarSensor
[Link].KX_RADAR_AXIS_POS_X
[Link].KX_RADAR_AXIS_POS_Y
[Link].KX_RADAR_AXIS_POS_Z
[Link].KX_RADAR_AXIS_NEG_X
[Link].KX_RADAR_AXIS_NEG_Y
[Link].KX_RADAR_AXIS_NEG_Z

Ray Sensor

See [Link].KX_RaySensor
[Link].KX_RAY_AXIS_POS_X
[Link].KX_RAY_AXIS_POS_Y
[Link].KX_RAY_AXIS_POS_Z
[Link].KX_RAY_AXIS_NEG_X
[Link].KX_RAY_AXIS_NEG_Y
[Link].KX_RAY_AXIS_NEG_Z

Actuators

Action Actuator

See [Link].BL_ActionActuator
[Link].KX_ACTIONACT_PLAY
[Link].KX_ACTIONACT_FLIPPER
[Link].KX_ACTIONACT_LOOPSTOP
[Link].KX_ACTIONACT_LOOPEND
[Link].KX_ACTIONACT_PROPERTY

Constraint Actuator

See [Link].KX_ConstraintActuator.option
• Applicable to Distance constraint:

4.2. Game Engine [Link] Module 1169


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_ACT_CONSTRAINT_NORMAL
Activate alignment to surface
[Link].KX_ACT_CONSTRAINT_DISTANCE
Activate distance control
[Link].KX_ACT_CONSTRAINT_LOCAL
Direction of the ray is along the local axis
• Applicable to Force field constraint:
[Link].KX_ACT_CONSTRAINT_DOROTFH
Force field act on rotation as well
• Applicable to both:
[Link].KX_ACT_CONSTRAINT_MATERIAL
Detect material rather than property
[Link].KX_ACT_CONSTRAINT_PERMANENT
No deactivation if ray does not hit target
See [Link].KX_ConstraintActuator.limit
[Link].KX_CONSTRAINTACT_LOCX
Limit X coord.
[Link].KX_CONSTRAINTACT_LOCY
Limit Y coord
[Link].KX_CONSTRAINTACT_LOCZ
Limit Z coord
[Link].KX_CONSTRAINTACT_ROTX
Limit X rotation
[Link].KX_CONSTRAINTACT_ROTY
Limit Y rotation
[Link].KX_CONSTRAINTACT_ROTZ
Limit Z rotation
[Link].KX_CONSTRAINTACT_DIRNX
Set distance along negative X axis
[Link].KX_CONSTRAINTACT_DIRNY
Set distance along negative Y axis
[Link].KX_CONSTRAINTACT_DIRNZ
Set distance along negative Z axis
[Link].KX_CONSTRAINTACT_DIRPX
Set distance along positive X axis
[Link].KX_CONSTRAINTACT_DIRPY
Set distance along positive Y axis
[Link].KX_CONSTRAINTACT_DIRPZ
Set distance along positive Z axis
[Link].KX_CONSTRAINTACT_ORIX
Set orientation of X axis
[Link].KX_CONSTRAINTACT_ORIY
Set orientation of Y axis

1170 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_CONSTRAINTACT_ORIZ
Set orientation of Z axis
[Link].KX_ACT_CONSTRAINT_FHNX
Set force field along negative X axis
[Link].KX_ACT_CONSTRAINT_FHNY
Set force field along negative Y axis
[Link].KX_ACT_CONSTRAINT_FHNZ
Set force field along negative Z axis
[Link].KX_ACT_CONSTRAINT_FHPX
Set force field along positive X axis
[Link].KX_ACT_CONSTRAINT_FHPY
Set force field along positive Y axis
[Link].KX_ACT_CONSTRAINT_FHPZ
Set force field along positive Z axis

Dynamic Actuator

See [Link].KX_SCA_DynamicActuator
[Link].KX_DYN_RESTORE_DYNAMICS
[Link].KX_DYN_DISABLE_DYNAMICS
[Link].KX_DYN_ENABLE_RIGID_BODY
[Link].KX_DYN_DISABLE_RIGID_BODY
[Link].KX_DYN_SET_MASS

Game Actuator

See [Link].KX_GameActuator
[Link].KX_GAME_LOAD
[Link].KX_GAME_START
[Link].KX_GAME_RESTART
[Link].KX_GAME_QUIT
[Link].KX_GAME_SAVECFG
[Link].KX_GAME_LOADCFG

IPO Actuator

See [Link].KX_IpoActuator
[Link].KX_IPOACT_PLAY
[Link].KX_IPOACT_PINGPONG
[Link].KX_IPOACT_FLIPPER
[Link].KX_IPOACT_LOOPSTOP

4.2. Game Engine [Link] Module 1171


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_IPOACT_LOOPEND
[Link].KX_IPOACT_FROM_PROP

Parent Actuator

[Link].KX_PARENT_REMOVE
[Link].KX_PARENT_SET

Random Distributions

See [Link].SCA_RandomActuator
[Link].KX_RANDOMACT_BOOL_CONST
[Link].KX_RANDOMACT_BOOL_UNIFORM
[Link].KX_RANDOMACT_BOOL_BERNOUILLI
[Link].KX_RANDOMACT_INT_CONST
[Link].KX_RANDOMACT_INT_UNIFORM
[Link].KX_RANDOMACT_INT_POISSON
[Link].KX_RANDOMACT_FLOAT_CONST
[Link].KX_RANDOMACT_FLOAT_UNIFORM
[Link].KX_RANDOMACT_FLOAT_NORMAL
[Link].KX_RANDOMACT_FLOAT_NEGATIVE_EXPONENTIAL

Scene Actuator

See [Link].KX_SceneActuator
[Link].KX_SCENE_RESTART
[Link].KX_SCENE_SET_SCENE
[Link].KX_SCENE_SET_CAMERA
[Link].KX_SCENE_ADD_FRONT_SCENE
[Link].KX_SCENE_ADD_BACK_SCENE
[Link].KX_SCENE_REMOVE_SCENE
[Link].KX_SCENE_SUSPEND
[Link].KX_SCENE_RESUME

Shape Action Actuator

See [Link].BL_ActionActuator
[Link].KX_ACTIONACT_PLAY
[Link].KX_ACTIONACT_FLIPPER

1172 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_ACTIONACT_LOOPSTOP
[Link].KX_ACTIONACT_LOOPEND
[Link].KX_ACTIONACT_PROPERTY

Sound Actuator

See [Link].KX_SoundActuator
[Link].KX_SOUNDACT_PLAYSTOP
Value 1
[Link].KX_SOUNDACT_PLAYEND
Value 2
[Link].KX_SOUNDACT_LOOPSTOP
Value 3
[Link].KX_SOUNDACT_LOOPEND
Value 4
[Link].KX_SOUNDACT_LOOPBIDIRECTIONAL
Value 5
[Link].KX_SOUNDACT_LOOPBIDIRECTIONAL_STOP
Value 6

Various

Input Status

See [Link].SCA_PythonKeyboard, [Link].SCA_PythonMouse,


[Link].SCA_MouseSensor, [Link].SCA_KeyboardSensor
[Link].KX_INPUT_NONE
[Link].KX_INPUT_JUST_ACTIVATED
[Link].KX_INPUT_ACTIVE
[Link].KX_INPUT_JUST_RELEASED

Mouse Buttons

See [Link].SCA_MouseSensor
[Link].KX_MOUSE_BUT_LEFT
[Link].KX_MOUSE_BUT_MIDDLE
[Link].KX_MOUSE_BUT_RIGHT

4.2. Game Engine [Link] Module 1173


Blender Index, Release 2.57.0 r36138 - API

States

See [Link].KX_StateActuator
[Link].KX_STATE1
[Link].KX_STATE2
[Link].KX_STATE3
[Link].KX_STATE4
[Link].KX_STATE5
[Link].KX_STATE6
[Link].KX_STATE7
[Link].KX_STATE8
[Link].KX_STATE9
[Link].KX_STATE10
[Link].KX_STATE11
[Link].KX_STATE12
[Link].KX_STATE13
[Link].KX_STATE14
[Link].KX_STATE15
[Link].KX_STATE16
[Link].KX_STATE17
[Link].KX_STATE18
[Link].KX_STATE19
[Link].KX_STATE20
[Link].KX_STATE21
[Link].KX_STATE22
[Link].KX_STATE23
[Link].KX_STATE24
[Link].KX_STATE25
[Link].KX_STATE26
[Link].KX_STATE27
[Link].KX_STATE28
[Link].KX_STATE29
[Link].KX_STATE30
See [Link].KX_StateActuator.operation
[Link].KX_STATE_OP_CLR
Substract bits to state mask
Value 0

1174 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_STATE_OP_CPY
Copy state mask
Value 1
[Link].KX_STATE_OP_NEG
Invert bits to state mask
Value 2
[Link].KX_STATE_OP_SET
Add bits to state mask
Value 3

2D Filter

[Link].RAS_2DFILTER_BLUR
Value 2
[Link].RAS_2DFILTER_CUSTOMFILTER
Customer filter, the code code is set via shaderText property.
Value 12
[Link].RAS_2DFILTER_DILATION
Value 4
[Link].RAS_2DFILTER_DISABLED
Disable the filter that is currently active
Value -1
[Link].RAS_2DFILTER_ENABLED
Enable the filter that was previously disabled
Value -2
[Link].RAS_2DFILTER_EROSION
Value 5
[Link].RAS_2DFILTER_GRAYSCALE
Value 9
[Link].RAS_2DFILTER_INVERT
Value 11
[Link].RAS_2DFILTER_LAPLACIAN
Value 6
[Link].RAS_2DFILTER_MOTIONBLUR
Create and enable preset filters
Value 1
[Link].RAS_2DFILTER_NOFILTER
Disable and destroy the filter that is currently active
Value 0

4.2. Game Engine [Link] Module 1175


Blender Index, Release 2.57.0 r36138 - API

[Link].RAS_2DFILTER_PREWITT
Value 8
[Link].RAS_2DFILTER_SEPIA
Value 10
[Link].RAS_2DFILTER_SHARPEN
Value 3
[Link].RAS_2DFILTER_SOBEL
Value 7

Shader

[Link]
[Link].VIEWMATRIX_INVERSE
[Link].VIEWMATRIX_INVERSETRANSPOSE
[Link].VIEWMATRIX_TRANSPOSE
[Link]
[Link].MODELMATRIX_INVERSE
[Link].MODELMATRIX_INVERSETRANSPOSE
[Link].MODELMATRIX_TRANSPOSE
[Link]
[Link].MODELVIEWMATRIX_INVERSE
[Link].MODELVIEWMATRIX_INVERSETRANSPOSE
[Link].MODELVIEWMATRIX_TRANSPOSE
[Link].CAM_POS
Current camera position
[Link].CONSTANT_TIMER
User a timer for the uniform value.
[Link].SHD_TANGENT

Blender Material

[Link].BL_DST_ALPHA
[Link].BL_DST_COLOR
[Link].BL_ONE
[Link].BL_ONE_MINUS_DST_ALPHA
[Link].BL_ONE_MINUS_DST_COLOR
[Link].BL_ONE_MINUS_SRC_ALPHA
[Link].BL_ONE_MINUS_SRC_COLOR

1176 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link].BL_SRC_ALPHA
[Link].BL_SRC_ALPHA_SATURATE
[Link].BL_SRC_COLOR
[Link].BL_ZERO

4.3 Game Engine [Link] Module

4.3.1 Intro

# Example Uses an L{SCA_MouseSensor}, and two L{KX_ObjectActuator}s to implement MouseLook::


# To use a mouse movement sensor "Mouse" and a
# motion actuator to mouse look:
import [Link]
import [Link]

# SCALE sets the speed of motion


SCALE=[1, 0.5]

co = [Link]()
obj = [Link]()
mouse = [Link]("Mouse")
lmotion = [Link]("LMove")
wmotion = [Link]("WMove")

# Transform the mouse coordinates to see how far the mouse has moved.
def mousePos():
x = ([Link]()/2 - [Link]())*SCALE[0]
y = ([Link]()/2 - [Link]())*SCALE[1]
return (x, y)

pos = mousePos()

# Set the amount of motion: X is applied in world coordinates...


[Link](0.0, 0.0, pos[0], False)
# ...Y is applied in local coordinates
[Link](-pos[1], 0.0, 0.0, True)

# Activate both actuators


[Link](lmotion, True)
[Link](wmotion, True)

# Centre the mouse


[Link]([Link]()/2, [Link]()/2)

4.3.2 Constants

[Link].KX_TEXFACE_MATERIAL
Materials as defined by the texture face settings.
[Link].KX_BLENDER_MULTITEX_MATERIAL
Materials approximating blender materials with multitexturing.

4.3. Game Engine [Link] Module 1177


Blender Index, Release 2.57.0 r36138 - API

[Link].KX_BLENDER_GLSL_MATERIAL
Materials approximating blender materials with GLSL.

4.3.3 Functions

[Link]()
Gets the width of the window (in pixels)
Return type integer
[Link]()
Gets the height of the window (in pixels)
Return type integer
[Link](filename)
Writes a screenshot to the given filename.
If filename starts with // the image will be saved relative to the current directory. If the filename contains # it
will be replaced with the frame number.
The standalone player saves .png files. It does not support colour space conversion or gamma correction.
When run from Blender, makeScreenshot supports Iris, IrisZ, TGA, Raw TGA, PNG, HamX, and Jpeg. Gamma,
Colourspace conversion and Jpeg compression are taken from the Render settings panels.

[Link](visible)
Doesn’t really do anything...
[Link](visible)
Enables or disables the operating system mouse cursor.

[Link](x, y)
Sets the mouse cursor position.

[Link](rgba)
Sets the window background colour.

[Link](rgb)
Sets the mist colour.

[Link](rgb)
Sets the color of ambient light.

[Link](start)
Sets the mist start value. Objects further away than start will have mist applied to them.

[Link](end)
Sets the mist end value. Objects further away from this will be coloured solid with the colour set by setMist-
Color().

1178 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

[Link]()
Disables mist.

Note: Set any of the mist properties to enable mist.

[Link](eyesep)
Sets the eye separation for stereo mode. Usually Focal Length/30 provides a confortable value.
Parameters eyesep (float) – The distance between the left and right eye.
[Link]()
Gets the current eye separation for stereo mode.
Return type float
[Link](focallength)
Sets the focal length for stereo mode. It uses the current camera focal length as initial value.
Parameters focallength (float) – The focal length.
[Link]()
Gets the current focal length for stereo mode.
Return type float
[Link](mode)
Set the material mode to use for OpenGL rendering.

Note: Changes will only affect newly created scenes.

[Link](mode)
Get the material mode to use for OpenGL rendering.
Return type KX_TEXFACE_MATERIAL, KX_BLENDER_MULTITEX_MATERIAL,
KX_BLENDER_GLSL_MATERIAL
[Link](setting, enable)
Enables or disables a GLSL material setting.

[Link](setting, enable)
Get the state of a GLSL material setting.
Return type boolean
[Link](fromVec, toVec, color)
Draw a line in the 3D scene.
Parameters
• fromVec (list [x, y, z]) – the origin of the line
• toVec (list [x, y, z]) – the end of the line
• color (list [r, g, b]) – the color of the line
[Link](factor)
Enable the motion blur effect.

4.3. Game Engine [Link] Module 1179


Blender Index, Release 2.57.0 r36138 - API

Parameters factor (float [0.0 - 1.0]) – the ammount of motion blur to display.
[Link]()
Disable the motion blur effect.

4.4 Game Engine [Link] module

4.4.1 Intro

This module holds key constants for the SCA_KeyboardSensor.


# Set a connected keyboard sensor to accept F1
import bge

co = [Link]()
# ’Keyboard’ is a keyboard sensor
sensor = [Link]["Keyboard"]
[Link] = [Link].F1KEY

# Do the all keys thing


import bge

co = [Link]()
# ’Keyboard’ is a keyboard sensor
sensor = [Link]["Keyboard"]

for key,status in [Link]:


# key[0] == [Link], key[1] = status
if status == [Link].KX_INPUT_JUST_ACTIVATED:
if key == [Link]:
# Activate Forward!
if key == [Link]:
# Activate Backward!
if key == [Link]:
# Activate Left!
if key == [Link]:
# Activate Right!

# The all keys thing without a keyboard sensor (but you will
# need an always sensor with pulse mode on)
import bge

# Just shortening names here


keyboard = [Link]
JUST_ACTIVATED = [Link].KX_INPUT_JUST_ACTIVATED

if [Link][[Link]] == JUST_ACTIVATED:
print("Activate Forward!")
if [Link][[Link]] == JUST_ACTIVATED:
print("Activate Backward!")
if [Link][[Link]] == JUST_ACTIVATED:
print("Activate Left!")
if [Link][[Link]] == JUST_ACTIVATED:
print("Activate Right!")

1180 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

4.4.2 Functions

[Link](event)
Return the string name of a key event. Will raise a ValueError error if its invalid.
Parameters event (int) – key event from [Link] or the keyboard sensor.
Return type string
[Link](event, shift)
Return the string name of a key event. Returns an empty string if the event cant be represented as a character.
Parameters
• event (int) – key event from [Link] or the keyboard sensor.
• shift (bool) – set to true if shift is held.
Return type string

4.4.3 Keys (Constants)

Mouse Keys

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

Keyboard Keys

Alphabet keys

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

4.4. Game Engine [Link] module 1181


Blender Index, Release 2.57.0 r36138 - API

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

Number keys

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

Modifiers Keys

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

1182 Chapter 4. Game Engine Modules


Blender Index, Release 2.57.0 r36138 - API

Arrow Keys

[Link]
[Link]
[Link]
[Link]

Numberpad Keys

[Link].PAD0
[Link].PAD1
[Link].PAD2
[Link].PAD3
[Link].PAD4
[Link].PAD5
[Link].PAD6
[Link].PAD7
[Link].PAD8
[Link].PAD9
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]

Function Keys

[Link].F1KEY
[Link].F2KEY
[Link].F3KEY
[Link].F4KEY
[Link].F5KEY
[Link].F6KEY
[Link].F7KEY
[Link].F8KEY
[Link].F9KEY
[Link].F10KEY

4.4. Game Engine [Link] module 1183


Blender Index, Release 2.57.0 r36138 - API

[Link].F11KEY
[Link].F12KEY
[Link].F13KEY
[Link].F14KEY
[Link].F15KEY
[Link].F16KEY
[Link].F17KEY
[Link].F18KEY
[Link].F19KEY

Other Keys

[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link](Deprecated: use [Link])
[Link]
[Link]
[Link]
[Link]
[Link]

1184 Chapter 4. Game Engine Modules


CHAPTER

FIVE

API INFO

5.1 Blender API Change Log

5.1.1 2.56 to 2.57

[Link]

Function Arguments

• [Link] (count), was (number)

[Link]

Added

• [Link].use_stamp_lens

Removed

• use_backbuf

[Link]

Added

• [Link]
• [Link].active_index

[Link]

Renamed

• curves -> [Link]

1185
Blender Index, Release 2.57.0 r36138 - API

[Link]

Removed

• network_render

[Link]

Added

• [Link].use_material_physics_fh

Removed

• use_material_physics

[Link]

Function Arguments

• [Link].use_material_physics (count), was (number)

[Link]

Added

• [Link]
• [Link]

[Link]

Added

• [Link].material_offset
• [Link].material_offset_rim

Removed

• use_rim_material

[Link]

Removed

• use_keyframe_insert_keyingset

1186 Chapter 5. API Info


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link].bump_method
• [Link].bump_objectspace

Removed

• use_old_bump

[Link]

Added

• [Link].particle_uv
• [Link].use_edge_cut

Removed

• use_edge_split

[Link]

Added

• [Link]

[Link]

Added

• [Link].limit_angle_max_x
• [Link].limit_angle_max_y
• [Link].limit_angle_max_z
• [Link].limit_angle_min_x
• [Link].limit_angle_min_y
• [Link].limit_angle_min_z
• [Link].limit_max_x
• [Link].limit_max_y
• [Link].limit_max_z
• [Link].limit_min_x
• [Link].limit_min_y

5.1. Blender API Change Log 1187


Blender Index, Release 2.57.0 r36138 - API

• [Link].limit_min_z

Removed

• limit_cone_max
• limit_cone_min
• limit_generic_max
• limit_generic_min

[Link]

Renamed

• items -> [Link].keymap_items

[Link]

Added

• [Link].backdrop_channels
• [Link].backdrop_x
• [Link].backdrop_y
• [Link].backdrop_zoom
• [Link].use_auto_render

[Link]

Added

• [Link].factor_density
• [Link].factor_radius
• [Link].factor_repulsion
• [Link].factor_rest_length
• [Link].factor_stiff_viscosity
• [Link]
• [Link]
• [Link].spring_frames
• [Link].stiff_viscosity
• [Link].use_initial_rest_length
• [Link].use_viscoelastic_springs
• [Link].yield_ratio

1188 Chapter 5. API Info


Blender Index, Release 2.57.0 r36138 - API

Removed

• stiffness_near
• viscosity_beta

Renamed

• viscosity_omega -> [Link].linear_viscosity

[Link]

Added

• [Link].direction_axis_pos
• [Link].fh_force

Removed

• spring

[Link]

Renamed

• operator_enums -> [Link].operator_enum

[Link]

Added

• [Link].show_pose_markers

[Link]

Added

• [Link].edge_path_live_unwrap
• [Link].proportional_size
• [Link].use_keyframe_insert_keyingset

5.1. Blender API Change Log 1189


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link].bbone_x
• [Link].bbone_z

Function Arguments

• [Link].bbone_z (self, matrix, scale, roll), was (self, matrix)

[Link]

Renamed

• update -> [Link].update_tag

[Link]

Added

• [Link].use_fancy_drawing

[Link]

Added

• [Link].child_seed

[Link]

Removed

• use_play_3d_editors
• use_play_animation_editors
• use_play_image_editors
• use_play_node_editors
• use_play_properties_editors
• use_play_sequence_editors
• use_play_top_left_3d_editor

1190 Chapter 5. API Info


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link]

Renamed

• show_extra_edge_angle -> [Link].show_extra_face_angle

Function Arguments

• [Link].show_extra_face_angle (self, vertices, edges, faces), was (self, verts, edges,


faces)

[Link]

Added

• [Link].default_flag

Renamed

• items -> [Link].enum_items

[Link]

Added

• [Link].use_play_3d_editors
• [Link].use_play_animation_editors
• [Link].use_play_image_editors
• [Link].use_play_node_editors
• [Link].use_play_properties_editors
• [Link].use_play_sequence_editors
• [Link].use_play_top_left_3d_editor

[Link]

Added

• [Link].use_mirror_merge

5.1. Blender API Change Log 1191


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link]

[Link]

Added

• [Link]
• [Link].use_fixed_texture

Renamed

• imagepaint_tool -> [Link].image_tool


• use_paint_texture -> [Link].use_paint_image
• vertexpaint_tool -> [Link].vertex_tool

[Link]

Renamed

• keys -> [Link].key_blocks

[Link]

Added

• [Link].aspect_correction

[Link]

Added

• [Link].margin_column
• [Link].show_margin

[Link]

Added

• [Link].show_x_ray

1192 Chapter 5. API Info


Blender Index, Release 2.57.0 r36138 - API

Removed

• active

[Link]

Renamed

• noisebasis_2 -> [Link].noise_basis_2

[Link]

Removed

• is_hair

Renamed

• keys -> [Link].hair_keys


• keys -> [Link].particle_keys

[Link]

Added

• [Link].use_apply_on_spline

[Link]

Added

• [Link].is_enum_flag

[Link]

Added

• [Link].texture_context

Removed

• show_brush_texture

5.1. Blender API Change Log 1193


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link]

Removed

• assign

[Link]

Added

• [Link].shadow_only_type

[Link]

Function Arguments

• [Link].shadow_only_type (filename, x, y), was (filename)

[Link]

Added

• [Link].is_modified

Renamed

• create_dupli_list -> [Link].dupli_list_create


• create_mesh -> [Link].to_mesh
• free_dupli_list -> [Link].dupli_list_clear

[Link]

Added

• [Link]
• [Link]

1194 Chapter 5. API Info


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link].filter_fcurve_name
• [Link].show_lattices
• [Link].show_only_matching_fcurves

[Link]

Function Arguments

• [Link].show_only_matching_fcurves (data_path, index, action_group),


was (data_path, array_index, action_group)

[Link]

Added

• [Link].cull_face

Removed

• use_cull_back_faces
• use_cull_front_faces

[Link]

Added

• [Link].addon_filter
• [Link].addon_search
• [Link].addon_support
• [Link].event_timer_add
• [Link].event_timer_remove

[Link]

Renamed

• noisebasis_2 -> [Link].noise_basis_2

5.1. Blender API Change Log 1195


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link]
• [Link]
• [Link]

[Link]

Added

• [Link]

Function Arguments

• [Link] (count), was (frame, value, replace, needed, fast)

[Link].ThemeView3D

Added

• [Link].ThemeView3D.outline_width

[Link]

Added

• [Link]

[Link]

Added

• [Link].bbone_x
• [Link].bbone_z

[Link]

Removed

• draw_entry
• draw_filtered
• draw_hierarchy

1196 Chapter 5. API Info


Blender Index, Release 2.57.0 r36138 - API

• draw_keymaps
• draw_km
• draw_kmi
• draw_kmi_properties
• indented_layout

[Link]

Added

• [Link].active_texture
• [Link].active_texture_index
• [Link].child_parting_factor
• [Link].child_parting_max
• [Link].child_parting_min
• [Link].color_maximum
• [Link].create_long_hair_children
• [Link].draw_color
• [Link].effector_amount
• [Link].grid_random
• [Link].hair_length
• [Link].hexagonal_grid
• [Link].is_fluid
• [Link].kink_amplitude_clump
• [Link].kink_flat
• [Link].texture_slots
• [Link]
• [Link].use_advanced_hair

Removed

• reaction_shape
• show_material_color
• use_animate_branching
• use_branching
• use_symmetric_branching

5.1. Blender API Change Log 1197


Blender Index, Release 2.57.0 r36138 - API

[Link]

Added

• [Link].show_mouse

[Link]

Renamed

• damping -> [Link].fh_damping


• distance -> [Link].fh_distance
• force -> [Link].fh_force
• use_normal_align -> [Link].use_fh_normal

Note: The Blender Python API has areas which are still in development.
The following areas are subject to change.
• operator behavior, names and arguments
• mesh creation and editing functions
These parts of the API are relatively stable and are unlikely to change significantly
• data API, access to attributes of blender data such as mesh verts, material color, timeline frames and scene
objects
• user interface functions for defining buttons, creation of menus, headers, panels
• render engine integration
• modules: bgl, mathutils & game engine.

1198 Chapter 5. API Info


PYTHON MODULE INDEX

a [Link], 48
aud, 1081 [Link], 50
[Link], 50
b [Link], 51
[Link], 1180 [Link], 51
[Link], 1163 [Link], 63
[Link], 1177 [Link], 66
[Link], 1091 [Link], 69
blf, 1079 [Link], 85
bpy, 9 [Link], 87
[Link], 1040 [Link], 90
[Link], 5 [Link], 92
[Link], 10 [Link], 95
[Link], 13 [Link], 96
[Link], 16 [Link], 97
[Link], 19 [Link], 97
[Link], 19 [Link], 98
[Link], 20 [Link], 100
[Link], 21 [Link], 101
[Link], 21 [Link], 101
[Link], 22 [Link], 108
[Link], 23 [Link], 108
[Link], 28 [Link], 109
[Link].export_anim, 28 [Link], 111
[Link].export_mesh, 28 [Link], 115
[Link].export_scene, 29 [Link], 116
[Link], 31 [Link], 116
[Link], 33 [Link], 125
[Link], 34 [Link], 125
[Link], 36 [Link].view2d, 130
[Link], 37 [Link].view3d, 132
[Link], 41 [Link], 135
[Link], 41 [Link], 145
[Link], 41 [Link], 1039
[Link].import_anim, 45 [Link], 1041
[Link].import_curve, 45 [Link], 1033
[Link].import_mesh, 46 [Link], 1037
[Link].import_scene, 46
[Link], 47
m
[Link], 48 mathutils, 1047
[Link], 48 [Link], 1076

1199
Blender Index, Release 2.57.0 r36138 - API

1200 Python Module Index


INDEX

A active ([Link].BL_ArmatureConstraint attribute),


a ([Link].KX_VertexProxy attribute), 1139 1156
absorption ([Link] attribute), 257 active ([Link] attribute), 153
abspath() (in module [Link]), 1039 active ([Link] attribute), 173
ACCENTGRAVEKEY (in module [Link]), 1184 active ([Link] attribute), 174
accuracy ([Link] attribute), 219 active ([Link] attribute), 228
accuracy ([Link] attribute), 756 active ([Link] attribute), 322
act_spline ([Link].ThemeView3D attribute), 934 active ([Link] attribute), 345
action ([Link].BL_ActionActuator attribute), 1094 active ([Link] attribute), 387
action ([Link].BL_ShapeActionActuator attribute), active ([Link] attribute), 389
1098 active ([Link] attribute), 432
action ([Link] attribute), 147 active ([Link] attribute), 467
action ([Link] attribute), 148 active ([Link] attribute), 485
action ([Link] attribute), 159 active ([Link] attribute), 486
action ([Link] attribute), 591 active ([Link] attribute), 487
action ([Link] attribute), 792 active ([Link] attribute), 470
action ([Link] attribute), 820 active ([Link] attribute), 549
Action (class in [Link]), 146 active ([Link] attribute), 555
[Link] (in module [Link]), 146 active ([Link] attribute), 563
Action.frame_range (in module [Link]), 146 active ([Link] attribute), 596
[Link] (in module [Link]), 146 active ([Link] attribute), 620
Action.pose_markers (in module [Link]), 146 active ([Link] attribute), 695
action_blend_type ([Link] attribute), 159 active ([Link] attribute), 720
action_extrapolation ([Link] attribute), 159 active ([Link] attribute), 744
action_frame_end ([Link] attribute), 591 active ([Link] attribute), 748
action_frame_start ([Link] attribute), 591 active ([Link] attribute), 903
action_influence ([Link] attribute), 159 active ([Link] attribute), 954
action_sanitise() (in module [Link]), 95 active ([Link] attribute), 979
action_sync_length() (in module [Link]), 63 active ([Link] attribute), 1001
ActionActuator (class in [Link]), 147 active() ([Link] method), 468
actionclip_add() (in module [Link]), 64 active_base (in module [Link]), 6, 7
ActionConstraint (class in [Link]), 148 active_boid_rule_index ([Link] attribute),
ActionFCurves (class in [Link]), 150 222
ActionGroup (class in [Link]), 151 active_boid_state_index ([Link] at-
[Link] (in module [Link]), 151 tribute), 219
ActionGroups (class in [Link]), 152 active_bone (in module [Link]), 6
ActionPoseMarkers (class in [Link]), 153 active_camera ([Link].KX_Scene attribute), 1132
actionzone() (in module [Link]), 98 active_channels_group ([Link] at-
activate() ([Link].KX_PolygonMaterial method), 1127 tribute), 906
activate() ([Link].SCA_PythonController method), active_channels_group ([Link] at-
1146 tribute), 911

1201
Blender Index, Release 2.57.0 r36138 - API

active_clone ([Link] at- actuator_add() (in module [Link]), 48


tribute), 563 actuator_move() (in module [Link]), 48
active_dupliweight_index ([Link] at- actuator_remove() (in module [Link]), 48
tribute), 652 actuators ([Link].KX_GameObject attribute), 1105
active_file ([Link] attribute), 908 actuators ([Link].SCA_IController attribute), 1093
active_file_text ([Link] attribute), ActuatorSensor (class in [Link]), 155
908 adapt_to_speed ([Link] attribute),
active_frame_delete() (in module [Link]), 36 1023
active_index ([Link] attribute), adaptation ([Link] at-
153 tribute), 313
active_index ([Link] attribute), 228 adaptive_angle ([Link] attribute), 652
active_index ([Link] attribute), 485 adaptive_pixel ([Link] attribute), 652
active_index ([Link] attribute), 486 add ([Link] attribute), 522
active_index ([Link] attribute), 487 add() ([Link] method), 386
active_index ([Link] attribute), 674 add() ([Link] method), 485
active_index ([Link] attribute), 682 add() ([Link] class method), 496
active_index ([Link] attribute), 720 add() ([Link] class method), 537
active_index ([Link] attribute), 979 add() ([Link] method), 552
active_index ([Link] attribute), 1001 add() ([Link] method), 555
active_index ([Link] attribute), 1004 add() ([Link] method), 565
active_index_set() (in module [Link]), 19 add() ([Link] class
active_keyconfig ([Link] at- method), 668
tribute), 989 add() ([Link] method), 848
active_material ([Link] attribute), 605 add() ([Link] method), 851
active_material_index ([Link] attribute), 605 add() ([Link] method), 1002
active_node_material ([Link] attribute), 515 add() ([Link] class method), 1029
active_object (in module [Link]), 6, 7 add() (in module [Link]), 20
active_particle_target_index ([Link] add() (in module [Link]), 50
attribute), 669 add() (in module [Link]), 69
active_pose_bone (in module [Link]), 6 add() (in module [Link]), 96
active_render ([Link] attribute), 549 add_file() (in module [Link]), 66
active_render ([Link] at- add_named() (in module [Link]), 70
tribute), 563 add_named_cursor() (in module [Link]), 70
active_section ([Link] attribute), 982 addObject() ([Link].KX_Scene method), 1133
active_shape_key_index ([Link] attribute), 606 Addon (class in [Link]), 156
active_strip ([Link] attribute), 768 addon_disable() (in module [Link]), 135
active_textbox ([Link] attribute), 872 addon_enable() (in module [Link]), 136
active_texture ([Link] attribute), 491 addon_expand() (in module [Link]), 136
active_texture ([Link] attribute), 515 addon_filter ([Link] attribute), 1015
active_texture ([Link] attribute), 652 addon_install() (in module [Link]), 136
active_texture ([Link] attribute), 1021 addon_search ([Link] attribute),
active_texture_index ([Link] attribute), 491 1015
active_texture_index ([Link] attribute), 515 addon_support ([Link] attribute),
active_texture_index ([Link] at- 1015
tribute), 652 Addons (class in [Link]), 157
active_texture_index ([Link] attribute), 1021 addScene() (in module [Link]), 1166
activity_culling ([Link].KX_Scene attribute), 1133 addWheel() ([Link].KX_VehicleWrapper method),
activity_culling_box_radius ([Link] 1136
attribute), 744 aero ([Link] attribute), 808
activity_culling_radius ([Link].KX_Scene attribute), aerodynamics_type ([Link] at-
1133 tribute), 808
actuator ([Link].SCA_ActuatorSensor attribute), 1141 aggression ([Link] attribute), 219
actuator ([Link] attribute), 155 air_acc_max ([Link] attribute), 219
Actuator (class in [Link]), 154 air_ave_max ([Link] attribute), 219

1202 Index
Blender Index, Release 2.57.0 r36138 - API

air_damping ([Link] attribute), 250 angular_velocity ([Link] at-


air_personal_space ([Link] attribute), tribute), 366
219 angular_velocity ([Link] attribute),
air_speed_max ([Link] attribute), 219 616
air_speed_min ([Link] attribute), 220 angular_velocity ([Link] attribute), 641
AKEY (in module [Link]), 1181 angular_velocity ([Link] attribute), 651
alert ([Link] attribute), 954 angular_velocity_factor ([Link] at-
align ([Link] attribute), 832 tribute), 652
align ([Link] attribute), 872 angular_velocity_mode ([Link]
align() (in module [Link]), 16 attribute), 653
align() (in module [Link]), 70 angularVelocity ([Link].KX_SCA_AddObjectActuator
align() (in module [Link]), 125 attribute), 1130
align_orientation() ([Link] method), 365 angV ([Link].KX_ObjectActuator attribute), 1119
align_roll() ([Link] method), 365 animation_cancel() (in module [Link]), 98
alignAxisToVect() ([Link].KX_GameObject method), animation_data_clear() ([Link] method), 442
1106 animation_data_create() ([Link] method), 442
alignment ([Link] attribute), 954 animation_offset_end ([Link] at-
alive_state ([Link] attribute), 641 tribute), 450
all ([Link] attribute), 371 animation_offset_end ([Link] at-
alliance ([Link] attribute), 674 tribute), 572
alpha ([Link] attribute), 297 animation_offset_end ([Link] at-
alpha ([Link] attribute), 415 tribute), 581
alpha ([Link] attribute), 515 animation_offset_end ([Link] at-
alpha ([Link] attribute), 802 tribute), 583
alpha_factor ([Link] attribute), animation_offset_end ([Link] at-
532 tribute), 753
alpha_influence ([Link] at- animation_offset_end ([Link] at-
tribute), 647 tribute), 817
alpha_mode ([Link] attribute), 723 animation_offset_start ([Link] at-
alt ([Link] attribute), 470 tribute), 451
AlwaysSensor (class in [Link]), 158 animation_offset_start ([Link] at-
ambient ([Link] attribute), 515 tribute), 572
ambient_color ([Link] attribute), 1021 animation_offset_start ([Link] at-
ambient_factor ([Link] attribute), tribute), 581
532 animation_offset_start ([Link] at-
amplify ([Link] attribute), 802 tribute), 584
amplitude ([Link] animation_offset_start ([Link] at-
attribute), 393 tribute), 753
AndController (class in [Link]), 158 animation_offset_start ([Link] at-
angle ([Link].KX_RadarSensor attribute), 1128 tribute), 817
angle ([Link] attribute), 236 animation_play() (in module [Link]), 98
angle ([Link] attribute), 238 animation_player ([Link]
angle ([Link] attribute), 280 attribute), 986
angle ([Link] attribute), 281 animation_player_preset ([Link]
angle ([Link] attribute), 706 attribute), 987
angle ([Link] attribute), 758 animation_step() (in module [Link]), 98
angle ([Link] attribute), 1018 AnimData (class in [Link]), 159
angle ([Link] attribute), 1055 [Link] (in module [Link]), 160
angle_limit ([Link] attribute), 180 AnimData.nla_tracks (in module [Link]), 160
angle_max ([Link] attribute), 324 AnimViz (class in [Link]), 161
angle_min ([Link] attribute), 324 AnimViz.motion_path (in module [Link]), 161
angle_offset ([Link] attribute), AnimViz.onion_skin_frames (in module [Link]), 161
288 AnimVizMotionPaths (class in [Link]), 162
AnimVizOnionSkinning (class in [Link]), 163

Index 1203
Blender Index, Release 2.57.0 r36138 - API

antialiasing_samples ([Link] at- area_tri() (in module [Link]), 1076


tribute), 723 AreaLamp (class in [Link]), 167
any ([Link] attribute), 470 arm_head ([Link].BL_ArmatureBone attribute), 1162
AnyType (class in [Link]), 164 arm_mat ([Link].BL_ArmatureBone attribute), 1162
ao_blend_type ([Link] attribute), 1023 arm_tail ([Link].BL_ArmatureBone attribute), 1162
ao_factor ([Link] attribute), 1023 armature ([Link] attribute), 514
appconfig_activate() (in module [Link]), 136 Armature (class in [Link]), 169
appconfig_default() (in module [Link]), 136 armature (in module [Link]), 7
append() ([Link] method), 1099 Armature.animation_data (in module [Link]), 169
append() ([Link] class method), 438 [Link] (in module [Link]), 169
append() ([Link] method), 443 Armature.edit_bones (in module [Link]), 169
append() ([Link] class method), armature_add() (in module [Link]), 70
459 armature_apply() (in module [Link]), 92
append() ([Link] class method), 542 armature_layers() (in module [Link]), 16
append() ([Link] class method), 640 armature_layers() (in module [Link]), 92
apply_effector_to_children ([Link] at- ArmatureActuator (class in [Link]), 172
tribute), 653 ArmatureBones (class in [Link]), 173
apply_guide_to_children ([Link] at- ArmatureEditBones (class in [Link]), 174
tribute), 653 ArmatureModifier (class in [Link]), 175
apply_pose() (in module [Link]), 95 ArmatureSensor (class in [Link]), 176
apply_scale() (in module [Link]), 64 array_index ([Link] attribute), 382
apply_to_children ([Link] attribute), array_index ([Link] attribute), 483
384 ArrayModifier (class in [Link]), 177
apply_to_children ([Link] at- as_keywords() ([Link] method), 629
tribute), 1006 as_pointer() ([Link].bpy_struct method), 1034
apply_to_hair_growing ([Link] at- as_string() ([Link] static method), 869
tribute), 371 aspect() (in module blf), 1079
apply_to_location ([Link] attribute), 399 aspect_correction ([Link]
apply_to_rotation ([Link] attribute), 399 attribute), 266
applyBraking() ([Link].KX_VehicleWrapper method), aspect_x ([Link] attribute), 977
1136 aspect_y ([Link] attribute), 977
applyEngineForce() ([Link].KX_VehicleWrapper asymmetry ([Link] attribute), 538
method), 1136 atmosphere_distance_factor ([Link]
applyForce() ([Link].KX_GameObject method), 1106 attribute), 492
applyImpulse() ([Link].KX_GameObject method), atmosphere_extinction ([Link] at-
1108 tribute), 492
applyMovement() ([Link].KX_GameObject method), atmosphere_inscattering ([Link] at-
1106 tribute), 493
applyRotation() ([Link].KX_GameObject method), atmosphere_turbidity ([Link]
1106 attribute), 493
applyTorque() ([Link].KX_GameObject method), attenuation ([Link] attribute), 1088
1107 attenuation ([Link] attribute), 817
Area (class in [Link]), 165 attraction_radius ([Link] at-
Area.active_space (in module [Link]), 165 tribute), 330
[Link] (in module [Link]), 166 attraction_strength ([Link] at-
[Link] (in module [Link]), 166 tribute), 330
[Link] (in module [Link]), 166 attrDict ([Link].KX_GameObject attribute), 1105
[Link] (in module [Link]), 166 aud (module), 1081
area_dupli() (in module [Link]), 98 AUD_DEVICE_JACK (in module aud), 1081
area_join() (in module [Link]), 98 AUD_DEVICE_NULL (in module aud), 1081
area_move() (in module [Link]), 98 AUD_DEVICE_OPENAL (in module aud), 1081
area_options() (in module [Link]), 98 AUD_DEVICE_SDL (in module aud), 1081
area_split() (in module [Link]), 98 AUD_DISTANCE_MODEL_EXPONENT (in module
area_swap() (in module [Link]), 99 aud), 1081

1204 Index
Blender Index, Release 2.57.0 r36138 - API

AUD_DISTANCE_MODEL_EXPONENT_CLAMPED autoside_names() (in module [Link]), 92


(in module aud), 1082 auxiliary_target ([Link] at-
AUD_DISTANCE_MODEL_INVALID (in module aud), tribute), 798
1082 average_islands_scale() (in module [Link]), 125
AUD_DISTANCE_MODEL_INVERSE (in module aud), average_separation ([Link] at-
1082 tribute), 1027
AUD_DISTANCE_MODEL_INVERSE_CLAMPED (in axis ([Link].KX_RadarSensor attribute), 1128
module aud), 1082 axis ([Link].KX_RaySensor attribute), 1129
AUD_DISTANCE_MODEL_LINEAR (in module aud), axis ([Link].SCA_JoystickSensor attribute), 1143
1082 axis ([Link] attribute), 241
AUD_DISTANCE_MODEL_LINEAR_CLAMPED (in axis ([Link] attribute), 287
module aud), 1082 axis ([Link] attribute),
AUD_FORMAT_FLOAT32 (in module aud), 1082 311
AUD_FORMAT_FLOAT64 (in module aud), 1082 axis ([Link] attribute), 649
AUD_FORMAT_INVALID (in module aud), 1082 axis ([Link] attribute), 706
AUD_FORMAT_S16 (in module aud), 1082 axis ([Link] attribute), 710
AUD_FORMAT_S24 (in module aud), 1082 axis ([Link] attribute), 758
AUD_FORMAT_S32 (in module aud), 1082 axis ([Link] attribute), 1055
AUD_FORMAT_U8 (in module aud), 1082 axis_direction ([Link] attribute), 463
AUD_STATUS_INVALID (in module aud), 1082 axis_number ([Link] attribute), 463
AUD_STATUS_PAUSED (in module aud), 1082 axis_threshold ([Link] attribute), 463
AUD_STATUS_PLAYING (in module aud), 1082 axis_x ([Link] attribute),
audio_channels ([Link] 734
attribute), 991 axis_y ([Link] attribute),
audio_device ([Link] at- 734
tribute), 991 axis_z ([Link] attribute),
audio_distance_model ([Link] attribute), 739 734
audio_doppler_factor ([Link] attribute), 739 axisSingle ([Link].SCA_JoystickSensor attribute),
audio_doppler_speed ([Link] attribute), 739 1142
audio_mixing_buffer ([Link] axisValues ([Link].SCA_JoystickSensor attribute),
attribute), 991 1142
audio_sample_format ([Link]
attribute), 991 B
audio_sample_rate ([Link] at- b ([Link].KX_VertexProxy attribute), 1139
tribute), 991 b ([Link] attribute), 1047
audio_strip ([Link] attribute), back ([Link] attribute),
925 531
author ([Link] attribute), 991 back ([Link] attribute), 902
auto_keying_mode ([Link] attribute), back ([Link] attribute), 904
943 back ([Link] attribute), 906
auto_keying_mode ([Link] at- back ([Link] attribute), 908
tribute), 983 back ([Link] attribute), 911
auto_save_time ([Link] at- back ([Link] attribute), 914
tribute), 987 back ([Link] attribute), 915
auto_smooth_angle ([Link] attribute), 543 back ([Link] attribute), 917
auto_smooth_factor ([Link] attribute), 230 back ([Link] attribute), 918
auto_snap ([Link] attribute), back ([Link] attribute), 920
820 back ([Link] attribute), 922
auto_snap ([Link] attribute), 822 back ([Link] attribute), 923
auto_snap ([Link] attribute), 828 back ([Link] attribute), 925
autocomplete() (in module [Link]), 21 back ([Link] attribute), 928
autodesk_3ds() (in module [Link].export_scene), 29 back ([Link] attribute), 929
autodesk_3ds() (in module [Link].import_scene), 46 back ([Link] attribute), 933
autoside_names() (in module [Link]), 16 back ([Link].ThemeView3D attribute), 934

Index 1205
Blender Index, Release 2.57.0 r36138 - API

back_to_previous() (in module [Link]), 99 bbone_out ([Link] attribute), 362


backdrop_channels ([Link] at- bbone_segments ([Link].BL_ArmatureBone at-
tribute), 829 tribute), 1162
backdrop_x ([Link] attribute), 830 bbone_segments ([Link] attribute), 223
backdrop_y ([Link] attribute), 830 bbone_segments ([Link] attribute), 363
backdrop_zoom ([Link] attribute), bbone_x ([Link] attribute), 223
830 bbone_x ([Link] attribute), 363
background (in module [Link]), 1040 bbone_z ([Link] attribute), 223
background_image_add() (in module [Link].view3d), bbone_z ([Link] attribute), 363
132 beautify_fill() (in module [Link]), 51
background_image_remove() (in module begin_result() ([Link] method), 715
[Link].view3d), 132 bend ([Link] attribute), 809
background_set ([Link] attribute), 739 bending_stiffness ([Link] attribute), 250
BackgroundImage (class in [Link]), 179 bending_stiffness_max ([Link] at-
BackgroundImage.image_user (in module [Link]), tribute), 250
179 beta ([Link] attribute), 802
backimage_move() (in module [Link]), 66 bevel_depth ([Link] attribute), 338
backimage_sample() (in module [Link]), 66 bevel_object ([Link] attribute), 338
backimage_zoom() (in module [Link]), 66 bevel_resolution ([Link] attribute), 338
backscattered_light ([Link] at- bevel_weight ([Link] attribute), 551
tribute), 493 bevel_weight ([Link] attribute), 564
BACKSLASHKEY (in module [Link]), 1184 BevelModifier (class in [Link]), 180
BACKSPACEKEY (in module [Link]), 1184 BezierSplinePoint (class in [Link]), 181
bake() (in module [Link]), 33 [Link] (module), 1180
bake() (in module [Link]), 37 [Link] (module), 1163
bake() (in module [Link]), 64 [Link] (module), 1177
bake() (in module [Link]), 96 [Link] (module), 1091
bake_aa_mode ([Link] attribute), 723 bias ([Link] attribute), 1023
bake_all() (in module [Link]), 96 billboard_align ([Link] attribute), 653
bake_bias ([Link] attribute), 723 billboard_animation ([Link] at-
bake_distance ([Link] attribute), 723 tribute), 653
bake_from_cache() (in module [Link]), 96 billboard_normal_uv ([Link] at-
bake_image() (in module [Link]), 70 tribute), 669
bake_location ([Link] at- billboard_object ([Link] attribute),
tribute), 162 653
bake_margin ([Link] attribute), 723 billboard_offset ([Link] attribute), 653
bake_normal_space ([Link] attribute), billboard_offset_split ([Link] at-
723 tribute), 653
bake_quad_split ([Link] attribute), billboard_split_uv ([Link] attribute),
723 669
bake_type ([Link] attribute), 723 billboard_tilt ([Link] attribute), 653
ball_damp ([Link] attribute), 808 billboard_tilt_random ([Link] at-
ball_size ([Link] attribute), 808 tribute), 653
ball_stiff ([Link] attribute), 809 billboard_time_index_uv ([Link] at-
bank ([Link] attribute), 220 tribute), 669
banner() (in module [Link]), 21 billboard_uv_split ([Link] attribute),
bars ([Link] attribute), 918 653
bars_selected ([Link] attribute), binary_path (in module [Link]), 1040
918 birth_time ([Link] attribute), 642
barycentric_transform() (in module [Link]), BKEY (in module [Link]), 1181
1076 BL_ActionActuator (class in [Link]), 1094
bbone_in ([Link] attribute), 223 BL_ArmatureActuator (class in [Link]), 1152
bbone_in ([Link] attribute), 362 BL_ArmatureActuator.KX_ACT_ARMATURE_DISABLE
bbone_out ([Link] attribute), 223 (in module [Link]), 1153

1206 Index
Blender Index, Release 2.57.0 r36138 - API

BL_ArmatureActuator.KX_ACT_ARMATURE_ENABLE BL_ArmatureConstraint.CONSTRAINT_TYPE_MINMAX
(in module [Link]), 1153 (in module [Link]), 1155
BL_ArmatureActuator.KX_ACT_ARMATURE_RUN BL_ArmatureConstraint.CONSTRAINT_TYPE_ROTLIKE
(in module [Link]), 1152 (in module [Link]), 1154
BL_ArmatureActuator.KX_ACT_ARMATURE_SETTARGET BL_ArmatureConstraint.CONSTRAINT_TYPE_SIZELIKE
(in module [Link]), 1153 (in module [Link]), 1155
BL_ArmatureActuator.KX_ACT_ARMATURE_SETWEIGHT BL_ArmatureConstraint.CONSTRAINT_TYPE_STRETCHTO
(in module [Link]), 1153 (in module [Link]), 1155
BL_ArmatureBone (class in [Link]), 1161 BL_ArmatureConstraint.CONSTRAINT_TYPE_TRACKTO
BL_ArmatureChannel (class in [Link]), 1157 (in module [Link]), 1154
BL_ArmatureChannel.PCHAN_ROT_QUAT (in module BL_ArmatureConstraint.CONSTRAINT_TYPE_TRANSFORM
[Link]), 1157 (in module [Link]), 1155
BL_ArmatureChannel.PCHAN_ROT_XYZ (in module BL_ArmatureObject (class in [Link]), 1152
[Link]), 1157 bl_context ([Link] attribute), 639
BL_ArmatureChannel.PCHAN_ROT_XZY (in module bl_description ([Link] attribute), 508
[Link]), 1157 bl_description ([Link] attribute), 627
BL_ArmatureChannel.PCHAN_ROT_YXZ (in module BL_DST_ALPHA (in module [Link]), 1176
[Link]), 1157 BL_DST_COLOR (in module [Link]), 1176
BL_ArmatureChannel.PCHAN_ROT_YZX (in module bl_idname ([Link] attribute), 438
[Link]), 1157 bl_idname ([Link] attribute), 482
BL_ArmatureChannel.PCHAN_ROT_ZXY (in module bl_idname ([Link] attribute), 509
[Link]), 1157 bl_idname ([Link] attribute), 542
BL_ArmatureChannel.PCHAN_ROT_ZYX (in module bl_idname ([Link] attribute), 628
[Link]), 1157 bl_idname ([Link] attribute), 639
BL_ArmatureConstraint (class in [Link]), 1154 bl_idname ([Link] attribute), 715
BL_ArmatureConstraint.CONSTRAINT_IK_COPYPOSE bl_label ([Link] attribute), 482
(in module [Link]), 1155 bl_label ([Link] attribute), 509
BL_ArmatureConstraint.CONSTRAINT_IK_DISTANCE bl_label ([Link] attribute), 542
(in module [Link]), 1155 bl_label ([Link] attribute), 628
BL_ArmatureConstraint.CONSTRAINT_IK_FLAG_POS bl_label ([Link] attribute), 639
(in module [Link]), 1155 bl_label ([Link] attribute), 715
BL_ArmatureConstraint.CONSTRAINT_IK_FLAG_ROT BL_ONE (in module [Link]), 1176
(in module [Link]), 1155 BL_ONE_MINUS_DST_ALPHA (in module [Link]),
BL_ArmatureConstraint.CONSTRAINT_IK_FLAG_STRETCH 1176
(in module [Link]), 1155 BL_ONE_MINUS_DST_COLOR (in module [Link]),
BL_ArmatureConstraint.CONSTRAINT_IK_FLAG_TIP 1176
(in module [Link]), 1155 BL_ONE_MINUS_SRC_ALPHA (in module [Link]),
BL_ArmatureConstraint.CONSTRAINT_IK_MODE_INSIDE 1176
(in module [Link]), 1155 BL_ONE_MINUS_SRC_COLOR (in module [Link]),
BL_ArmatureConstraint.CONSTRAINT_IK_MODE_ONSURFACE 1176
(in module [Link]), 1155 bl_options ([Link] attribute), 481
BL_ArmatureConstraint.CONSTRAINT_IK_MODE_OUTSIDE bl_options ([Link] attribute), 482
(in module [Link]), 1155 bl_options ([Link] attribute), 484
BL_ArmatureConstraint.CONSTRAINT_TYPE_CLAMPTO bl_options ([Link] attribute), 509
(in module [Link]), 1155 bl_options ([Link] attribute), 628
BL_ArmatureConstraint.CONSTRAINT_TYPE_DISTLIMIT bl_options ([Link] attribute), 639
(in module [Link]), 1155 bl_region_type ([Link] attribute), 639
BL_ArmatureConstraint.CONSTRAINT_TYPE_KINEMATIC BL_Shader (class in [Link]), 1095
(in module [Link]), 1154 BL_ShapeActionActuator (class in [Link]), 1098
BL_ArmatureConstraint.CONSTRAINT_TYPE_LOCKTRACK bl_space_type ([Link] attribute), 438
(in module [Link]), 1155 bl_space_type ([Link] attribute), 639
BL_ArmatureConstraint.CONSTRAINT_TYPE_LOCLIKEBL_SRC_ALPHA (in module [Link]), 1176
(in module [Link]), 1154 BL_SRC_ALPHA_SATURATE (in module [Link]),
1177

Index 1207
Blender Index, Release 2.57.0 r36138 - API

BL_SRC_COLOR (in module [Link]), 1177 [Link] (in module [Link]), 185
bl_use_postprocess ([Link] attribute), [Link] (in module [Link]), 185
715 BlendData.window_managers (in module [Link]), 185
bl_use_preview ([Link] attribute), 715 [Link] (in module [Link]), 185
BL_ZERO (in module [Link]), 1177 BlendDataActions (class in [Link]), 186
black_level ([Link] attribute), 343 BlendDataArmatures (class in [Link]), 187
blend ([Link] attribute), 231 BlendDataBrushes (class in [Link]), 188
blend ([Link] attribute), 939 BlendDataCameras (class in [Link]), 189
blend_alpha ([Link] attribute), 763 BlendDataCurves (class in [Link]), 190
blend_distance ([Link] attribute), 529 BlendDataFonts (class in [Link]), 191
blend_factor ([Link] attribute), BlendDataGreasePencils (class in [Link]), 192
1028 BlendDataGroups (class in [Link]), 193
blend_from_shape() (in module [Link]), 51 BlendDataImages (class in [Link]), 194
blend_in ([Link] attribute), 591 BlendDataLamps (class in [Link]), 195
blend_out ([Link] attribute), 591 BlendDataLattices (class in [Link]), 196
blend_paths() (in module [Link]), 1037 BlendDataLibraries (class in [Link]), 197
blend_type ([Link] at- BlendDataMaterials (class in [Link]), 198
tribute), 299 BlendDataMeshes (class in [Link]), 199
blend_type ([Link] attribute), 396 BlendDataMetaBalls (class in [Link]), 200
blend_type ([Link] attribute), 561 BlendDataNodeTrees (class in [Link]), 201
blend_type ([Link] attribute), 591 BlendDataObjects (class in [Link]), 202
blend_type ([Link] attribute), 763 BlendDataParticles (class in [Link]), 203
blend_type ([Link] attribute), BlendDataScenes (class in [Link]), 204
780 BlendDataScreens (class in [Link]), 205
blend_type ([Link] attribute), BlendDataSounds (class in [Link]), 206
889 BlendDataTexts (class in [Link]), 207
blend_type ([Link] attribute), 898 BlendDataTextures (class in [Link]), 208
BlendData (class in [Link]), 183 BlendDataWindowManagers (class in [Link]), 209
[Link] (in module [Link]), 183 BlendDataWorlds (class in [Link]), 210
[Link] (in module [Link]), 183 BlenderRNA (class in [Link]), 212
[Link] (in module [Link]), 183 [Link] (in module [Link]), 212
[Link] (in module [Link]), 183 blendIn ([Link].BL_ActionActuator attribute), 1094
[Link] (in module [Link]), 183 blendIn ([Link].BL_ShapeActionActuator attribute),
[Link] (in module [Link]), 183 1098
[Link] (in module [Link]), 183 BlendTexture (class in [Link]), 211
BlendData.grease_pencil (in module [Link]), 183 BlendTexture.users_material (in module [Link]), 211
[Link] (in module [Link]), 184 BlendTexture.users_object_modifier (in module
[Link] (in module [Link]), 184 [Link]), 211
BlendData.is_dirty (in module [Link]), 184 blendTime ([Link].BL_ActionActuator attribute),
BlendData.is_saved (in module [Link]), 184 1094
[Link] (in module [Link]), 184 blendTime ([Link].BL_ShapeActionActuator at-
[Link] (in module [Link]), 184 tribute), 1099
[Link] (in module [Link]), 184 blf (module), 1079
[Link] (in module [Link]), 184 blur() (in module blf), 1079
[Link] (in module [Link]), 184 blur_max ([Link] attribute),
[Link] (in module [Link]), 184 281
BlendData.node_groups (in module [Link]), 184 blur_radius ([Link] attribute), 429
[Link] (in module [Link]), 184 blur_width ([Link] attribute), 1018
[Link] (in module [Link]), 184 bodies ([Link].KX_NetworkMessageSensor attribute),
[Link] (in module [Link]), 185 1118
[Link] (in module [Link]), 185 body ([Link].KX_NetworkMessageActuator at-
[Link] (in module [Link]), 185 tribute), 1118
BlendData.shape_keys (in module [Link]), 185 body ([Link] attribute), 321
[Link] (in module [Link]), 185 body ([Link] attribute), 872

1208 Index
Blender Index, Release 2.57.0 r36138 - API

body ([Link] attribute), 875 bookmark_add() (in module [Link]), 31


body_message ([Link] attribute), bookmark_toggle() (in module [Link]), 31
566 BooleanModifier (class in [Link]), 228
body_property ([Link] attribute), BooleanProperty (class in [Link]), 229
566 BooleanProperty.array_length (in module [Link]), 229
body_type ([Link] attribute), 566 [Link] (in module [Link]), 229
boid ([Link] attribute), 371 BooleanProperty.default_array (in module [Link]),
BoidRule (class in [Link]), 213 230
[Link] (in module [Link]), 213 BoolProperty() (in module [Link]), 1043
BoidRuleAverageSpeed (class in [Link]), 214 BoolVectorProperty() (in module [Link]), 1043
BoidRuleAvoid (class in [Link]), 215 boost_factor ([Link] attribute), 429
BoidRuleAvoidCollision (class in [Link]), 215 border_max_x ([Link] attribute), 724
BoidRuleFight (class in [Link]), 216 border_max_y ([Link] attribute), 724
BoidRuleFollowLeader (class in [Link]), 217 border_min_x ([Link] attribute), 724
BoidRuleGoal (class in [Link]), 218 border_min_y ([Link] attribute), 724
BoidSettings (class in [Link]), 219 box() ([Link] method), 955
BoidSettings.active_boid_state (in module [Link]), box_pack_2d() (in module [Link]), 1077
219 boxInsideFrustum() ([Link].KX_Camera method),
[Link] (in module [Link]), 220 1150
BoidState (class in [Link]), 221 bpy (module), 9
BoidState.active_boid_rule (in module [Link]), 222 [Link] (module), 1040
[Link] (in module [Link]), 222 [Link] (module), 5
bokeh ([Link] attribute), [Link] (module), 10
281 [Link] (module), 13
bone ([Link].BL_ArmatureChannel attribute), 1157 [Link] (module), 16
bone ([Link] attribute), 172 [Link] (module), 19
bone ([Link] attribute), 176 [Link] (module), 19
Bone (class in [Link]), 223 [Link] (module), 20
bone (in module [Link]), 8 [Link] (module), 21
[Link] (in module [Link]), 225 [Link] (module), 21
[Link] (in module [Link]), 225 [Link] (module), 22
[Link] (in module [Link]), 223, 225 [Link] (module), 23
Bone.children_recursive (in module [Link]), 225 [Link] (module), 28
Bone.children_recursive_basename (in module [Link].export_anim (module), 28
[Link]), 225 [Link].export_mesh (module), 28
[Link] (in module [Link]), 224 [Link].export_scene (module), 29
Bone.parent_recursive (in module [Link]), 225 [Link] (module), 31
Bone.use_connect (in module [Link]), 225 [Link] (module), 33
[Link] (in module [Link]), 225 [Link] (module), 34
Bone.x_axis (in module [Link]), 225 [Link] (module), 36
Bone.y_axis (in module [Link]), 226 [Link] (module), 37
Bone.z_axis (in module [Link]), 226 [Link] (module), 41
bone_group ([Link] attribute), 690 [Link] (module), 41
bone_group_index ([Link] attribute), 690 [Link] (module), 41
bone_layers() (in module [Link]), 17 [Link].import_anim (module), 45
bone_layers() (in module [Link]), 92 [Link].import_curve (module), 45
bone_mat ([Link].BL_ArmatureBone attribute), 1162 [Link].import_mesh (module), 46
bone_pose ([Link].ThemeView3D attribute), 934 [Link].import_scene (module), 46
bone_primitive_add() (in module [Link]), 17 [Link] (module), 47
bone_solid ([Link].ThemeView3D attribute), 934 [Link] (module), 48
bone_target ([Link] attribute), 358 [Link] (module), 48
BoneGroup (class in [Link]), 227 [Link] (module), 48
[Link] (in module [Link]), 227 [Link] (module), 50
BoneGroups (class in [Link]), 228 [Link] (module), 50

Index 1209
Blender Index, Release 2.57.0 r36138 - API

[Link] (module), 51 761, 763, 766–793, 795–798, 800–802, 804–


[Link] (module), 51 808, 812, 814, 815, 817–820, 822, 824, 826–
[Link] (module), 63 829, 831–833, 835, 836, 838–840, 844, 845,
[Link] (module), 66 848, 850–852, 855–857, 859, 860, 862–864,
[Link] (module), 69 866–868, 870–872, 875, 877, 879–898, 900,
[Link] (module), 85 902–904, 906, 908, 910, 911, 914, 915, 917,
[Link] (module), 87 918, 920, 922, 923, 925, 927–929, 931, 933,
[Link] (module), 90 934, 938–943, 947–949, 952, 954, 977–983,
[Link] (module), 92 986, 989, 991, 994, 997–1007, 1009, 1010,
[Link] (module), 95 1012, 1014, 1015, 1018, 1019, 1021, 1023,
[Link] (module), 96 1025, 1027–1033
[Link] (module), 97 [Link] (module), 1037
[Link] (module), 97 bpy_prop_collection (class in [Link]), 1032
[Link] (module), 98 bpy_struct (class in [Link]), 1034
[Link] (module), 100 branch_threshold ([Link] attribute),
[Link] (module), 101 653
[Link] (module), 101 breakdown() (in module [Link]), 92
[Link] (module), 108 brownian_factor ([Link] attribute),
[Link] (module), 108 654
[Link] (module), 109 browse_interactive() (in module [Link]), 95
[Link] (module), 111 brush ([Link] attribute), 636
[Link] (module), 115 Brush (class in [Link]), 230
[Link] (module), 116 brush (in module [Link]), 8
[Link] (module), 116 [Link] (in module [Link]), 231
[Link] (module), 125 Brush.texture_slot (in module [Link]), 233
[Link] (module), 125 brush_edit() (in module [Link]), 90
[Link].view2d (module), 130 brush_radial_control() (in module [Link]), 90
[Link].view3d (module), 132 brush_stroke() (in module [Link]), 101
[Link] (module), 135 BrushTextureSlot (class in [Link]), 236
[Link] (module), 145 buffer_paste() (in module [Link]), 34
[Link] (module), 1039 build_cflags (in module [Link]), 1040
[Link] (module), 1041 build_cxxflags (in module [Link]), 1040
[Link] (module), 146–148, 150–159, 161–165, 167, build_date (in module [Link]), 1040
169, 172–177, 179–181, 183, 186–219, 221, build_linkflags (in module [Link]), 1040
223, 227–230, 236–238, 241–244, 246, 247, build_platform (in module [Link]), 1040
249, 250, 252, 254–258, 260, 261, 263–272, build_revision (in module [Link]), 1040
274–281, 283–288, 290–301, 303–322, 324, build_system (in module [Link]), 1040
327, 328, 330–332, 334–336, 338, 341–350, build_time (in module [Link]), 1040
352, 355, 357–362, 366, 368, 371, 372, 374– build_type (in module [Link]), 1040
376, 378, 380–382, 384, 386–388, 390–399, BuildModifier (class in [Link]), 237
403, 405, 406, 408–415, 417–422, 425, 426, bulge ([Link] attribute), 856
428, 429, 431–433, 435, 436, 438–440, 442– bump_method ([Link] attribute),
445, 449, 450, 453, 456, 458–461, 463, 464, 532
466–468, 470, 473, 476, 477, 480–483, 485– bump_objectspace ([Link]
488, 490, 492, 494, 496–502, 504, 506–508, attribute), 532
510–512, 514, 515, 522, 524, 525, 527–529, buoyancy ([Link] attribute), 736
531, 532, 537, 538, 540, 543, 548–561, 563– button ([Link].SCA_JoystickSensor attribute), 1143
568, 570–572, 575, 576, 578–581, 583, 586, button ([Link] attribute), 902
587, 589–591, 594–603, 605, 616, 619–623, button ([Link] attribute), 904
630–637, 640, 641, 643–645, 647–649, 651, button ([Link] attribute), 906
652, 664, 668, 669, 673, 674, 676–678, 680– button ([Link] attribute), 908
682, 684, 686, 688–690, 695, 696, 698–700, button ([Link] attribute), 911
702–707, 709–713, 716, 720–723, 734, 736, button ([Link] attribute), 914
738, 743, 744, 748, 749, 753, 756–758, 760, button ([Link] attribute), 916

1210 Index
Blender Index, Release 2.57.0 r36138 - API

button ([Link] attribute), 917 button_text_hi ([Link] attribute),


button ([Link] attribute), 918 928
button ([Link] attribute), 920 button_text_hi ([Link] attribute), 930
button ([Link] attribute), 922 button_text_hi ([Link] at-
button ([Link] attribute), 923 tribute), 933
button ([Link] attribute), 925 button_text_hi ([Link].ThemeView3D attribute), 934
button ([Link] attribute), 928 button_title ([Link] attribute),
button ([Link] attribute), 930 902
button ([Link] attribute), 933 button_title ([Link] attribute), 904
button ([Link].ThemeView3D attribute), 934 button_title ([Link] attribute), 906
button_number ([Link] attribute), 463 button_title ([Link] attribute), 908
button_text ([Link] attribute), button_title ([Link] attribute), 911
902 button_title ([Link] attribute), 914
button_text ([Link] attribute), 904 button_title ([Link] attribute), 916
button_text ([Link] attribute), 906 button_title ([Link] attribute), 917
button_text ([Link] attribute), 908 button_title ([Link] attribute), 918
button_text ([Link] attribute), 911 button_title ([Link] attribute), 920
button_text ([Link] attribute), 914 button_title ([Link] attribute), 922
button_text ([Link] attribute), 916 button_title ([Link] attribute), 924
button_text ([Link] attribute), 917 button_title ([Link] attribute),
button_text ([Link] attribute), 918 925
button_text ([Link] attribute), 920 button_title ([Link] attribute), 928
button_text ([Link] attribute), 922 button_title ([Link] attribute), 930
button_text ([Link] attribute), 923 button_title ([Link] attribute),
button_text ([Link] attribute), 933
925 button_title ([Link].ThemeView3D attribute), 934
button_text ([Link] attribute), 928 bvh() (in module [Link].export_anim), 28
button_text ([Link] attribute), 930 bvh() (in module [Link].import_anim), 45
button_text ([Link] attribute),
933 C
button_text ([Link].ThemeView3D attribute), 934 cache_cloth ([Link] attribute), 836
button_text_hi ([Link] at- cache_particles ([Link] attribute), 837
tribute), 902 cache_resolution ([Link] attribute),
button_text_hi ([Link] attribute), 904 538
button_text_hi ([Link] attribute), cache_smoke ([Link] attribute), 837
906 cache_softbody ([Link] attribute), 837
button_text_hi ([Link] attribute), calc_normals() ([Link] method), 546
908 calculate_roll() (in module [Link]), 17
button_text_hi ([Link] attribute), call_menu() (in module [Link]), 136
911 CAM_POS (in module [Link]), 1176
button_text_hi ([Link] attribute), camera ([Link].KX_SceneActuator attribute), 1134
914 camera ([Link] attribute), 739
button_text_hi ([Link] attribute), 916 camera ([Link] attribute), 743
button_text_hi ([Link] attribute), camera ([Link].SpaceView3D attribute), 840
917 camera ([Link] attribute), 940
button_text_hi ([Link] attribute), Camera (class in [Link]), 238
918 camera (in module [Link]), 8
button_text_hi ([Link] attribute), Camera.animation_data (in module [Link]), 238
920 camera_add() (in module [Link]), 71
button_text_hi ([Link] attribute), 922 camera_bind() (in module [Link]), 50
button_text_hi ([Link] attribute), 924 camera_to_view() (in module [Link].view3d), 132
button_text_hi ([Link] at- camera_to_world ([Link].KX_Camera attribute), 1149
tribute), 925 CameraActuator (class in [Link]), 241
cameras ([Link].KX_Scene attribute), 1132

Index 1211
Blender Index, Release 2.57.0 r36138 - API

cancel() ([Link] method), 629 channels_visibility_set() (in module [Link]), 14


cancel() (in module [Link]), 31 channels_visibility_toggle() (in module [Link]),
cancel_stroke() (in module [Link]), 108 14
CAPSLOCKKEY (in module [Link]), 1182 charge ([Link] attribute), 371
case_set() (in module [Link]), 34 check() ([Link] method), 628
case_toggle() (in module [Link]), 34 checker_distance ([Link] attribute), 453
cast_type ([Link] attribute), 242 child ([Link] attribute), 734
CastModifier (class in [Link]), 242 child_length ([Link] attribute), 654
center_x ([Link] attribute), child_length_threshold ([Link]
280 attribute), 654
center_y ([Link] attribute), child_nbr ([Link] attribute), 654
280 child_parting_factor ([Link] at-
chain_count ([Link] attribute), tribute), 654
488 child_parting_max ([Link] attribute),
chain_count ([Link] attribute), 654
848 child_parting_min ([Link] attribute),
chance ([Link] attribute), 707 654
change_character() (in module [Link]), 34 child_radius ([Link] attribute), 654
change_frame() (in module [Link]), 13 child_roundness ([Link] attribute),
change_spacing() (in module [Link]), 34 654
channel ([Link] attribute), child_seed ([Link] attribute), 669
272 child_size ([Link] attribute), 654
channel ([Link] attribute), 295 child_size_random ([Link] attribute),
channel ([Link] attribute), 763 654
channel_group ([Link] attribute), child_type ([Link] attribute), 654
906 childof_clear_inverse() (in module [Link]),
channel_group ([Link] attribute), 22
911 childof_set_inverse() (in module [Link]), 23
channel_matrix ([Link].BL_ArmatureChannel at- ChildOfConstraint (class in [Link]), 244
tribute), 1159 ChildParticle (class in [Link]), 246
ChannelDriverVariables (class in [Link]), 243 children ([Link].BL_ArmatureBone attribute), 1163
channelNames ([Link].BL_ActionActuator attribute), children ([Link].KX_GameObject attribute), 1105
1094 childrenRecursive ([Link].KX_GameObject attribute),
channels ([Link] attribute), 1083 1105
channels ([Link].BL_ArmatureObject attribute), 1152 choke ([Link] attribute), 809
channels ([Link] attribute), 906 cineon_black ([Link] attribute), 724
channels_click() (in module [Link]), 13 cineon_gamma ([Link] attribute), 724
channels_click() (in module [Link]), 64 cineon_white ([Link] attribute), 724
channels_collapse() (in module [Link]), 13 circle_select() (in module [Link]), 125
channels_delete() (in module [Link]), 13 CKEY (in module [Link]), 1181
channels_editable_toggle() (in module [Link]), 13 clamp ([Link] attribute), 429
channels_expand() (in module [Link]), 13 ClampToConstraint (class in [Link]), 246
channels_fcurves_enable() (in module [Link]), 13 clean() (in module [Link]), 10
channels_move() (in module [Link]), 13 clean() (in module [Link]), 37
channels_region ([Link] attribute), clean_name() (in module [Link]), 1039
911 clear() ([Link] method), 485
channels_select_all_toggle() (in module [Link]), clear() ([Link] class method), 496
14 clear() ([Link] class method),
channels_select_border() (in module [Link]), 14 537
channels_selected ([Link] at- clear() ([Link] class
tribute), 906 method), 668
channels_setting_disable() (in module [Link]), 14 clear() ([Link] method), 869
channels_setting_enable() (in module [Link]), 14 clear() ([Link] class method), 1030
channels_setting_toggle() (in module [Link]), 14 clear() (in module [Link]), 21

1212 Index
Blender Index, Release 2.57.0 r36138 - API

clear_scale() (in module [Link]), 64 co ([Link] attribute), 648


click_extrude() (in module [Link]), 17 co ([Link] attribute), 795
click_insert() (in module [Link]), 37 co ([Link] attribute), 796
click_select() (in module [Link]), 64 co ([Link] attribute), 796
clickselect() (in module [Link]), 10 co ([Link] attribute), 850
clickselect() (in module [Link]), 37 co_deform ([Link] attribute), 499
clip_border() (in module [Link].view3d), 132 co_hair_space ([Link] attribute), 648
clip_end ([Link] attribute), 238 coefficients ([Link] attribute), 394
clip_end ([Link] attribute), 375 col_size ([Link] attribute), 1053
clip_end ([Link].SpaceView3D attribute), 840 CollectionProperty (class in [Link]), 254
clip_max_x ([Link] attribute), 343 CollectionProperty() (in module [Link]), 1043
clip_max_y ([Link] attribute), 343 CollectionProperty.fixed_type (in module [Link]), 254
clip_min_x ([Link] attribute), 343 collide ([Link].KX_PolyProxy attribute), 1122
clip_min_y ([Link] attribute), 343 collider_friction ([Link] attribute), 250
clip_start ([Link] attribute), 239 collision (in module [Link]), 8
clip_start ([Link] attribute), 375 collision_bounds_type ([Link]
clip_start ([Link].SpaceView3D attribute), 840 attribute), 422
clipboard ([Link] attribute), 1015 collision_extents ([Link] at-
CLIPPING (in module blf), 1079 tribute), 802
clipping() (in module blf), 1079 collision_group ([Link]
CListValue (class in [Link]), 1099 attribute), 802
clone_alpha ([Link] attribute), 231 collision_margin ([Link] at-
clone_cursor_set() (in module [Link]), 87 tribute), 422
clone_image ([Link] attribute), 231 collision_margin ([Link] at-
clone_offset ([Link] attribute), 231 tribute), 426
cloth (in module [Link]), 8 collision_quality ([Link] at-
ClothCollisionSettings (class in [Link]), 247 tribute), 247
ClothModifier (class in [Link]), 249 collision_type ([Link] attribute),
ClothModifier.collision_settings (in module [Link]), 809
249 CollisionModifier (class in [Link]), 255
ClothModifier.point_cache (in module [Link]), 249 [Link] (in module [Link]), 255
[Link] (in module [Link]), 249 CollisionSensor (class in [Link]), 256
ClothSettings (class in [Link]), 250 CollisionSettings (class in [Link]), 257
ClothSettings.effector_weights (in module [Link]), color ([Link].KX_GameObject attribute), 1103
250 color ([Link].KX_LightObject attribute), 1114
cloud_type ([Link] attribute), 252 color ([Link].KX_VertexProxy attribute), 1138
CloudsTexture (class in [Link]), 252 color ([Link] attribute), 231
CloudsTexture.users_material (in module [Link]), 253 color ([Link] attribute), 260
CloudsTexture.users_object_modifier (in module color ([Link] attribute), 261
[Link]), 253 color ([Link] attribute), 382
clump_factor ([Link] attribute), 654 color ([Link] attribute), 415
clump_factor ([Link] at- color ([Link] attribute), 491
tribute), 664 color ([Link] attribute),
clump_shape ([Link] attribute), 655 531
cluster_iterations ([Link] at- color ([Link] attribute), 606
tribute), 426 color ([Link] attribute), 876
co ([Link] attribute), 181 color ([Link] attribute), 898
co ([Link] attribute), 388 Color (class in mathutils), 1047
co ([Link] attribute), 418 [Link]() (in module mathutils), 1047
co ([Link] attribute), 480 color1 ([Link] attribute), 548
co ([Link] attribute), 558 color2 ([Link] attribute), 548
co ([Link] attribute), 564 color3 ([Link] attribute), 548
co ([Link] attribute), 571 color4 ([Link] attribute), 548
co ([Link] attribute), 579 color_factor ([Link] attribute), 494

Index 1213
Blender Index, Release 2.57.0 r36138 - API

color_factor ([Link] at- colors_mirror() (in module [Link]), 52


tribute), 531 colors_rotate() (in module [Link]), 52
color_hue ([Link] ColorSequence (class in [Link]), 261
attribute), 271 colour ([Link].KX_LightObject attribute), 1113
color_hue ([Link] attribute), colour ([Link].KX_VertexProxy attribute), 1138
290 column() ([Link] method), 955
color_layer ([Link] attribute), column_flow() ([Link] method), 955
775 COMMAKEY (in module [Link]), 1184
color_maximum ([Link] attribute), comment() (in module [Link]), 111
655 compare() ([Link] method), 472
color_mode ([Link] attribute), 382 CompositorNode (class in [Link]), 263
color_mode ([Link] attribute), 724 [Link] (in module [Link]), 263
color_mode ([Link] attribute), 1007 CompositorNodeAlphaOver (class in [Link]), 264
color_modulation ([Link] at- CompositorNodeBilateralblur (class in [Link]), 265
tribute), 288 CompositorNodeBlur (class in [Link]), 266
color_multiply ([Link] attribute), 368 CompositorNodeBrightContrast (class in [Link]), 267
color_multiply ([Link] attribute), 451 CompositorNodeChannelMatte (class in [Link]), 268
color_multiply ([Link] attribute), 572 CompositorNodeChromaMatte (class in [Link]), 269
color_multiply ([Link] attribute), 581 CompositorNodeColorBalance (class in [Link]), 270
color_multiply ([Link] attribute), CompositorNodeColorMatte (class in [Link]), 271
584 CompositorNodeColorSpill (class in [Link]), 272
color_multiply ([Link] attribute), 753 CompositorNodeCombHSVA (class in [Link]), 274
color_picker_type ([Link] at- CompositorNodeCombRGBA (class in [Link]), 274
tribute), 991 CompositorNodeCombYCCA (class in [Link]), 275
color_random ([Link] attribute), CompositorNodeCombYUVA (class in [Link]), 276
1027 CompositorNodeComposite (class in [Link]), 276
color_range ([Link] attribute), 1021 CompositorNodeCrop (class in [Link]), 277
color_saturation ([Link] CompositorNodeCurveRGB (class in [Link]), 278
attribute), 272 [Link] (in module
color_saturation ([Link] at- [Link]), 278
tribute), 290 CompositorNodeCurveVec (class in [Link]), 279
color_saturation ([Link] attribute), [Link] (in module
368 [Link]), 279
color_saturation ([Link] attribute), CompositorNodeDBlur (class in [Link]), 280
451 CompositorNodeDefocus (class in [Link]), 281
color_saturation ([Link] attribute), 572 CompositorNodeDiffMatte (class in [Link]), 283
color_saturation ([Link] attribute), CompositorNodeDilateErode (class in [Link]), 283
581 CompositorNodeDisplace (class in [Link]), 284
color_saturation ([Link] attribute), CompositorNodeDistanceMatte (class in [Link]), 285
584 CompositorNodeFilter (class in [Link]), 286
color_saturation ([Link] attribute), CompositorNodeFlip (class in [Link]), 287
753 CompositorNodeGamma (class in [Link]), 287
color_set ([Link] attribute), 227 CompositorNodeGlare (class in [Link]), 288
color_source ([Link] attribute), 682 CompositorNodeHueCorrect (class in [Link]), 290
color_space ([Link] [Link] (in module
attribute), 268 [Link]), 290
color_value ([Link] at- CompositorNodeHueSat (class in [Link]), 290
tribute), 272 CompositorNodeIDMask (class in [Link]), 291
color_value ([Link] at- CompositorNodeImage (class in [Link]), 292
tribute), 290 CompositorNodeInvert (class in [Link]), 293
ColorRamp (class in [Link]), 258 CompositorNodeLensdist (class in [Link]), 294
[Link] (in module [Link]), 258 CompositorNodeLevels (class in [Link]), 295
ColorRampElement (class in [Link]), 260 CompositorNodeLumaMatte (class in [Link]), 296
ColorRampElements (class in [Link]), 260 CompositorNodeMapUV (class in [Link]), 296

1214 Index
Blender Index, Release 2.57.0 r36138 - API

CompositorNodeMapValue (class in [Link]), 297 connected ([Link].SCA_JoystickSensor attribute),


CompositorNodeMath (class in [Link]), 298 1143
CompositorNodeMixRGB (class in [Link]), 299 ConsoleLine (class in [Link]), 321
CompositorNodeNormal (class in [Link]), 300 constant_offset_displace ([Link]
CompositorNodeNormalize (class in [Link]), 301 attribute), 177
CompositorNodeOutputFile (class in [Link]), 301 CONSTANT_TIMER (in module [Link]), 1176
CompositorNodePremulKey (class in [Link]), 303 constraint ([Link].BL_ArmatureActuator attribute),
CompositorNodeRGB (class in [Link]), 303 1153
CompositorNodeRGBToBW (class in [Link]), 304 constraint ([Link].KX_ArmatureSensor attribute),
CompositorNodeRLayers (class in [Link]), 305 1154
CompositorNodeRotate (class in [Link]), 306 constraint ([Link] attribute), 172
CompositorNodes (class in [Link]), 320 constraint ([Link] attribute), 176
CompositorNodeScale (class in [Link]), 306 Constraint (class in [Link]), 322
CompositorNodeSepHSVA (class in [Link]), 307 Constraint.error_location (in module [Link]), 322
CompositorNodeSepRGBA (class in [Link]), 308 Constraint.error_rotation (in module [Link]), 322
CompositorNodeSepYCCA (class in [Link]), 308 Constraint.is_valid (in module [Link]), 323
CompositorNodeSepYUVA (class in [Link]), 309 [Link] (in module [Link]), 323
CompositorNodeSetAlpha (class in [Link]), 310 constraint_add() (in module [Link]), 71
CompositorNodeSplitViewer (class in [Link]), 311 constraint_add() (in module [Link]), 92
CompositorNodeTexture (class in [Link]), 311 constraint_add_with_targets() (in module
CompositorNodeTime (class in [Link]), 312 [Link]), 71
[Link] (in module [Link]), 312 constraint_add_with_targets() (in module [Link]),
CompositorNodeTonemap (class in [Link]), 313 92
CompositorNodeTranslate (class in [Link]), 314 ConstraintActuator (class in [Link]), 324
CompositorNodeTree (class in [Link]), 315 constraints ([Link].BL_ArmatureObject attribute),
[Link] (in module [Link]), 315 1152
CompositorNodeValToRGB (class in [Link]), 316 constraints_clear() (in module [Link]), 71
CompositorNodeValToRGB.color_ramp (in module constraints_clear() (in module [Link]), 93
[Link]), 316 constraints_copy() (in module [Link]), 71
CompositorNodeValue (class in [Link]), 317 constraints_copy() (in module [Link]), 93
CompositorNodeVecBlur (class in [Link]), 318 ConstraintTarget (class in [Link]), 327
CompositorNodeViewer (class in [Link]), 319 context ([Link] attribute), 832
CompositorNodeZcombine (class in [Link]), 319 Context (class in [Link]), 328
compound ([Link].KX_ParentActuator attribute), [Link] (in module [Link]), 328
1120 Context.blend_data (in module [Link]), 328
compressibility ([Link] at- [Link] (in module [Link]), 328
tribute), 352 [Link] (in module [Link]), 328
compression ([Link] attribute), 680 Context.region_data (in module [Link]), 328
compression_threshold ([Link] attribute), [Link] (in module [Link]), 328
852 [Link] (in module [Link]), 328
cone_angle_inner ([Link] attribute), 1088 Context.space_data (in module [Link]), 328
cone_angle_outer ([Link] attribute), 1088 Context.tool_settings (in module [Link]), 328
cone_inner_angle_3d ([Link] at- Context.user_preferences (in module [Link]), 328
tribute), 815 [Link] (in module [Link]), 328
cone_outer_angle_3d ([Link] at- Context.window_manager (in module [Link]), 329
tribute), 815 context_cycle_array() (in module [Link]), 136
cone_outer_gain_3d ([Link] attribute), context_cycle_enum() (in module [Link]), 136
815 context_cycle_int() (in module [Link]), 137
cone_volume_outer ([Link] attribute), 1088 context_menu_enum() (in module [Link]), 137
coneOrigin ([Link].KX_RadarSensor attribute), 1128 context_modal_mouse() (in module [Link]), 137
coneTarget ([Link].KX_RadarSensor attribute), 1128 context_pointer_set() ([Link] method), 973
connect_hair() (in module [Link]), 90 context_scale_int() (in module [Link]), 137
connected ([Link].BL_ArmatureBone attribute), 1162 context_set_boolean() (in module [Link]), 137
context_set_enum() (in module [Link]), 138

Index 1215
Blender Index, Release 2.57.0 r36138 - API

context_set_float() (in module [Link]), 138 create() ([Link] class method), 496
context_set_id() (in module [Link]), 138 create() ([Link] class method),
context_set_int() (in module [Link]), 138 537
context_set_string() (in module [Link]), 138 create() ([Link] class
context_set_value() (in module [Link]), 138 method), 668
context_toggle() (in module [Link]), 138 create() ([Link] class method),
context_toggle_enum() (in module [Link]), 139 1030
contrast ([Link] attribute), create() (in module [Link]), 41
313 create_long_hair_children ([Link] at-
contrast ([Link] attribute), 877 tribute), 655
ControlFluidSettings (class in [Link]), 330 create_orientation() (in module [Link]), 116
Controller (class in [Link]), 331 crop_max_x ([Link] attribute), 453
controller_add() (in module [Link]), 48 crop_max_y ([Link] attribute), 453
controller_move() (in module [Link]), 49 crop_min_x ([Link] attribute), 453
controller_remove() (in module [Link]), 49 crop_min_y ([Link] attribute), 453
controllers ([Link].KX_GameObject attribute), 1104 cross() ([Link] method), 1054
convert() (in module [Link]), 36 cross() ([Link] method), 1057
convert() (in module [Link]), 71 crossfade_sounds() (in module [Link]), 101
convert() (in module [Link]), 108 ctrl ([Link] attribute), 470
convert_whitespace() (in module [Link]), 111 cube_project() (in module [Link]), 125
converter_node ([Link] attribute), cull_face ([Link] attribute), 798
920 current_character ([Link] attribute), 321
copy() ([Link] static method), 329 cursor ([Link] attribute), 904
copy() ([Link] method), 442 cursor ([Link] attribute), 928
copy() (in module [Link]), 11 cursor3d() (in module [Link].view3d), 132
copy() (in module [Link]), 21 cursor_color_add ([Link] attribute), 231
copy() (in module [Link]), 37 cursor_color_subtract ([Link] attribute), 231
copy() (in module [Link]), 50 cursor_location ([Link] attribute), 739
copy() (in module [Link]), 93 cursor_location ([Link] attribute), 838
copy() (in module [Link]), 101 cursor_location ([Link].SpaceView3D attribute), 840
copy() (in module [Link]), 112 cursor_position_y ([Link] at-
copy() ([Link] method), 1050 tribute), 822
copy_data_path_button() (in module [Link]), 125 cursor_set() (in module [Link]), 37
copy_driver_button() (in module [Link]), 14 cursor_set() (in module [Link]), 112
copy_prev_settings() (in module [Link]), 139 cursor_set() (in module [Link]), 125
copy_to_selected_button() (in module [Link]), 125 curve ([Link] attribute), 177
copy_to_user() ([Link] method), 469 Curve (class in [Link]), 338
CopyLocationConstraint (class in [Link]), 332 curve (in module [Link]), 7
CopyRotationConstraint (class in [Link]), 334 Curve.animation_data (in module [Link]), 338
CopyScaleConstraint (class in [Link]), 335 [Link] (in module [Link]), 338
CopyTransformsConstraint (class in [Link]), 336 Curve.shape_keys (in module [Link]), 339
correction ([Link] at- [Link] (in module [Link]), 339
tribute), 313 curve_guide ([Link] attribute), 371
correction ([Link] attribute), 1024 curve_preset() (in module [Link]), 20
correction_method ([Link]
CurveMap (class in [Link]), 341
attribute), 270 [Link] (in module [Link]), 341
count ([Link] attribute), 177 [Link] (in module [Link]), 341
count ([Link] attribute), 643 CurveMapping (class in [Link]), 343
count ([Link] attribute), 644 [Link] (in module [Link]), 343
count ([Link] attribute), 655 CurveMapPoint (class in [Link]), 342
count() ([Link] method), 1099 CurveMapPoint.handle_type (in module [Link]), 342
CPropValue (class in [Link]), 1091 [Link] (in module [Link]), 342
crease ([Link] attribute), 551 CurveModifier (class in [Link]), 344
crease_pinch_factor ([Link] attribute), 231 curves_point_set() (in module [Link]), 41

1216 Index
Blender Index, Release 2.57.0 r36138 - API

CurveSplines (class in [Link]), 345 DecimateModifier.face_count (in module [Link]), 347


custom_color ([Link] attribute), 151 decompose() ([Link] method), 1051
custom_shape ([Link] attribute), 690 default_key_count ([Link] attribute), 645
custom_shape_transform ([Link] attribute), default_max ([Link] attribute),
690 391
cut() (in module [Link]), 101 default_min ([Link] attribute), 391
cut() (in module [Link]), 112 default_value ([Link] attribute),
cut_multicam() (in module [Link]), 102 705
CValue (class in [Link]), 1091 default_value ([Link] attribute), 898
cycle_render_slot() (in module [Link]), 41 default_value ([Link] attribute), 998
cycles_after ([Link] attribute), 390 default_value ([Link] attribute),
cycles_before ([Link] attribute), 390 1000
cyclic_toggle() (in module [Link]), 23 define() ([Link] method), 509
cylinder_project() (in module [Link]), 126 deform_axis ([Link] attribute), 344
deform_method ([Link] at-
D tribute), 800
damp ([Link].KX_ConstraintActuator attribute), 1100 deinterlace_selected_movies() (in module
damp_factor ([Link] at- [Link]), 102
tribute), 664 delay ([Link].SCA_DelaySensor attribute), 1142
DampedTrackConstraint (class in [Link]), 346 delay ([Link] attribute), 348
damping ([Link].KX_ObjectActuator attribute), 1120 DelaySensor (class in [Link]), 348
damping ([Link] attribute), 257 delete() (in module [Link]), 11
damping ([Link] attribute), 324 delete() (in module [Link]), 17
damping ([Link] attribute), 422 delete() (in module [Link]), 21
damping ([Link] attribute), 616 delete() (in module [Link]), 23
damping ([Link] attribute), 655 delete() (in module [Link]), 23
damping ([Link] attribute), 809 delete() (in module [Link]), 31
damping_epsilon ([Link] attribute), 461 delete() (in module [Link]), 34
damping_factor ([Link] attribute), delete() (in module [Link]), 37
257 delete() (in module [Link]), 50
damping_max ([Link] attribute), 461 delete() (in module [Link]), 52
damping_random ([Link] attribute), delete() (in module [Link]), 64
257 delete() (in module [Link]), 66
damping_rotation ([Link] at- delete() (in module [Link]), 71
tribute), 324 delete() (in module [Link]), 90
damping_time ([Link] attribute), 1012 delete() (in module [Link]), 97
darkness ([Link] attribute), 515 delete() (in module [Link]), 99
data ([Link] attribute), 606 delete() (in module [Link]), 102
data (in module bpy), 9 delete() (in module [Link]), 108
data_add() (in module [Link]), 36 delete() (in module [Link]), 112
data_operation() (in module [Link]), 85 delete_bookmark() (in module [Link]), 31
data_path ([Link] attribute), 358 delete_edgeloop() (in module [Link]), 52
data_path ([Link] attribute), 382 delete_metaelems() (in module [Link]), 51
data_path ([Link] attribute), 484 delete_orientation() (in module [Link]), 116
data_unlink() (in module [Link]), 36 delete_tracks() (in module [Link]), 64
dbvt_culling ([Link].KX_Scene attribute), 1133 DELKEY (in module [Link]), 1184
de_select_first() (in module [Link]), 23 delSource() ([Link].BL_Shader method), 1095
de_select_last() (in module [Link]), 23 delta_location ([Link] attribute), 606
deactivate() ([Link].SCA_PythonController method), delta_rotation_euler ([Link] attribute), 606
1146 delta_rotation_quaternion ([Link] attribute),
debug (in module [Link]), 1040 606
debug_menu() (in module [Link]), 139 delta_scale ([Link] attribute), 606
debug_value (in module [Link]), 1040 density ([Link] attribute), 538
DecimateModifier (class in [Link]), 347 density ([Link] attribute), 804

Index 1217
Blender Index, Release 2.57.0 r36138 - API

density_factor ([Link] attribute), directory ([Link] attribute), 451


532 directory ([Link] attribute), 770
density_factor ([Link] at- directory() (in module [Link]), 31
tribute), 665 directory_new() (in module [Link]), 32
density_scale ([Link] attribute), 538 disable() (in module blf), 1080
depth ([Link] attribute), 375 disableMist() (in module [Link]), 1179
depth ([Link] attribute), 396 disableMotionBlur ([Link].SCA_2DFilterActuator at-
depth ([Link] attribute), 525 tribute), 1141
depth ([Link] at- disableMotionBlur() (in module [Link]), 1180
tribute), 527 disableRigidBody() ([Link].KX_GameObject
depth ([Link] attribute), 744 method), 1109
depth ([Link] attribute), 1026 disconnect_hair() (in module [Link]), 90
depth_max ([Link] at- displacement_factor ([Link] at-
tribute), 527 tribute), 533
depth_threshold ([Link] attribute), DisplaceModifier (class in [Link]), 349
538 display_aspect ([Link] attribute), 445
derivate_coefficient ([Link] attribute), display_channel ([Link] at-
616 tribute), 833
determinant() ([Link] method), 1051 display_mode ([Link] attribute), 724
Device (class in aud), 1082 display_mode ([Link] attribute), 831
die_time ([Link] attribute), 642 display_mode ([Link] attribute),
diffuse ([Link].KX_PolygonMaterial attribute), 1126 833
diffuse_color ([Link] attribute), 515 display_name() (in module [Link]), 1039
diffuse_color ([Link] attribute), 997 display_name_from_filepath() (in module [Link]),
diffuse_color_factor ([Link] at- 1039
tribute), 533 display_type ([Link] attribute), 403
diffuse_factor ([Link] attribute), dissolve_speed ([Link] at-
533 tribute), 802
diffuse_fresnel ([Link] attribute), 515 distance ([Link].KX_ConstraintActuator attribute),
diffuse_fresnel_factor ([Link] attribute), 516 1101
diffuse_intensity ([Link] attribute), 516 distance ([Link].KX_LightObject attribute), 1113
diffuse_ramp_blend ([Link] attribute), 516 distance ([Link].KX_NearSensor attribute), 1118
diffuse_ramp_factor ([Link] attribute), 516 distance ([Link].KX_RadarSensor attribute), 1128
diffuse_ramp_input ([Link] attribute), 516 distance ([Link] attribute), 216
diffuse_shader ([Link] attribute), 516 distance ([Link] attribute),
diffuse_toon_size ([Link] attribute), 516 217
diffuse_toon_smooth ([Link] attribute), 516 distance ([Link] attribute),
dimension_max ([Link] attribute), 280
587 distance ([Link] at-
dimensions ([Link] attribute), 338 tribute), 284
dimensions ([Link] attribute), 606 distance ([Link] attribute), 325
dimensions() (in module blf), 1080 distance ([Link] attribute), 488
direction ([Link].KX_ConstraintActuator attribute), distance ([Link] attribute), 491
1101 distance ([Link] attribute),
direction ([Link] attribute), 231 501
direction ([Link] attribute), 325 distance ([Link] attribute),
direction ([Link] attribute), 349 525
direction ([Link] attribute), 997 distance ([Link] attribute), 590
direction ([Link] attribute), 1018 distance ([Link] attribute), 706
direction_axis ([Link] attribute), distance ([Link] attribute), 797
325 distance ([Link] attribute), 1024
direction_axis_pos ([Link] at- distance_3d_max ([Link] attribute),
tribute), 325 815
directory ([Link] attribute), 403

1218 Index
Blender Index, Release 2.57.0 r36138 - API

distance_3d_reference ([Link] at- dot() ([Link] method), 1054


tribute), 815 dot() ([Link] method), 1057
distance_max ([Link] attribute), 399 double ([Link] attribute), 700
distance_maximum ([Link] attribute), 1088 double_array ([Link] attribute),
distance_metric ([Link] attribute), 701
1007 DOWNARROWKEY (in module [Link]), 1183
distance_min ([Link] at- dpi ([Link] attribute), 991
tribute), 247 drag ([Link] attribute), 371
distance_min ([Link] attribute), 399 drag_factor ([Link] attribute), 655
distance_min ([Link] attribute), drag_threshold ([Link] at-
1027 tribute), 989
distance_model ([Link] attribute), 1083 draw() ([Link] method), 438
distance_reference ([Link] attribute), 1088 draw() ([Link] method), 509
DistortedNoiseTexture (class in [Link]), 350 draw() ([Link] method), 542
DistortedNoiseTexture.users_material (in module draw() ([Link] method), 629
[Link]), 351 draw() ([Link] method), 640
DistortedNoiseTexture.users_object_modifier (in module draw() (in module blf), 1080
[Link]), 351 draw() (in module [Link]), 36
distortion ([Link] attribute), draw_action ([Link] attribute),
351 925
distribution ([Link].SCA_RandomActuator attribute), draw_bounds_type ([Link] attribute), 607
1146 draw_channels ([Link] attribute),
distribution ([Link] attribute), 655 824
distribution ([Link] attribute), 707 draw_color ([Link] attribute), 655
dither_intensity ([Link] attribute), 724 draw_header() ([Link] method), 640
DKEY (in module [Link]), 1181 draw_method ([Link] attribute), 655
dLoc ([Link].KX_ObjectActuator attribute), 1119 draw_mode ([Link] attribute), 431
doc_edit() (in module [Link]), 139 draw_overexposed ([Link] at-
doc_view() (in module [Link]), 139 tribute), 833
dof_distance ([Link] attribute), 239 draw_percentage ([Link] attribute),
dof_object ([Link] attribute), 239 655
domain_object ([Link] attribute), 1009 draw_preset() ([Link] method), 542
DomainFluidSettings (class in [Link]), 352 draw_preview() (in module [Link]), 108
DomainFluidSettings.memory_estimate (in module draw_size ([Link] attribute), 239
[Link]), 353 draw_size ([Link] attribute), 655
dome_angle ([Link] attribute), 745 draw_step ([Link] attribute), 645
dome_buffer_resolution ([Link] at- draw_step ([Link] attribute), 655
tribute), 745 draw_stretch_type ([Link] attribute),
dome_mode ([Link] attribute), 745 838
dome_tesselation ([Link] attribute), draw_stroke() (in module [Link]), 108
745 draw_type ([Link] attribute), 169
dome_text ([Link] attribute), 745 draw_type ([Link] attribute), 607
dome_tilt ([Link] attribute), 745 drawingmode ([Link].KX_PolygonMaterial attribute),
DopeSheet (class in [Link]), 355 1126
[Link] (in module [Link]), 356 drawLine() (in module [Link]), 1179
dopesheet_channel ([Link] at- Driver (class in [Link]), 357
tribute), 906 [Link] (in module [Link]), 357
dopesheet_channel ([Link] at- driver_add() ([Link].bpy_struct method), 1034
tribute), 911 driver_button_add() (in module [Link]), 14
dopesheet_subchannel ([Link] at- driver_button_remove() (in module [Link]), 14
tribute), 906 driver_namespace (in module [Link]), 1040
dopesheet_subchannel ([Link] at- driver_remove() ([Link].bpy_struct method), 1034
tribute), 911 drivers_add_selected() (in module [Link]), 85
doppler_factor ([Link] attribute), 1083 drivers_delete_selected() (in module [Link]), 85

Index 1219
Blender Index, Release 2.57.0 r36138 - API

DriverTarget (class in [Link]), 358 edge_crease ([Link].ThemeView3D attribute), 934


DriverVariable (class in [Link]), 359 edge_crease() (in module [Link]), 116
[Link] (in module [Link]), 360 edge_crease_inner ([Link] attribute),
drop_named_image() (in module [Link]), 52 812
drop_named_material() (in module [Link]), 71 edge_crease_outer ([Link] attribute),
dRot ([Link].KX_ObjectActuator attribute), 1119 812
dupli_extrude_cursor() (in module [Link]), 52 edge_crease_rim ([Link] attribute),
dupli_faces_scale ([Link] attribute), 607 812
dupli_frames_end ([Link] attribute), 607 edge_draw_type ([Link] attribute),
dupli_frames_off ([Link] attribute), 607 838
dupli_frames_on ([Link] attribute), 607 edge_face_add() (in module [Link]), 52
dupli_frames_start ([Link] attribute), 607 edge_facesel ([Link].ThemeView3D attribute), 934
dupli_group ([Link] attribute), 607 edge_flip() (in module [Link]), 53
dupli_group ([Link] attribute), 655 edge_loops_from_edges() ([Link] method), 546
dupli_list_clear() ([Link] method), 613 edge_loops_from_faces() ([Link] method), 547
dupli_list_create() ([Link] method), 612 edge_path_live_unwrap ([Link] at-
dupli_object ([Link] attribute), 655 tribute), 943
dupli_offset ([Link] attribute), 433 edge_path_mode ([Link] attribute), 943
dupli_type ([Link] attribute), 607 edge_rotate() (in module [Link]), 53
duplicate() (in module [Link]), 11 edge_seam ([Link].ThemeView3D attribute), 934
duplicate() (in module [Link]), 17 edge_select ([Link].ThemeView3D attribute), 935
duplicate() (in module [Link]), 24 edge_sharp ([Link].ThemeView3D attribute), 935
duplicate() (in module [Link]), 37 edge_slide() (in module [Link]), 117
duplicate() (in module [Link]), 50 edge_threshold ([Link] attribute), 724
duplicate() (in module [Link]), 52 edge_weight_method ([Link] at-
duplicate() (in module [Link]), 64 tribute), 180
duplicate() (in module [Link]), 66 edgering_select() (in module [Link]), 53
duplicate() (in module [Link]), 72 edges_select_sharp() (in module [Link]), 53
duplicate() (in module [Link]), 102 EdgeSplitModifier (class in [Link]), 361
duplicate_metaelems() (in module [Link]), 51 edit_bone (in module [Link]), 8
duplicate_move() (in module [Link]), 11 edit_image (in module [Link]), 9
duplicate_move() (in module [Link]), 17 edit_mesh_extrude_individual_move() (in module
duplicate_move() (in module [Link]), 37 [Link].view3d), 132
duplicate_move() (in module [Link]), 52 edit_mesh_extrude_move_normal() (in module
duplicate_move() (in module [Link]), 67 [Link].view3d), 132
duplicate_move() (in module [Link]), 72 edit_object (in module [Link]), 6
duplicate_move_linked() (in module [Link]), 72 edit_text (in module [Link]), 9
duplicates_make_real() (in module [Link]), 72 editable_bones (in module [Link]), 5
dupliob_copy() (in module [Link]), 90 EditBone (class in [Link]), 362
dupliob_move_down() (in module [Link]), 90 [Link] (in module [Link]), 365
dupliob_move_up() (in module [Link]), 90 [Link] (in module [Link]), 365
dupliob_remove() (in module [Link]), 90 [Link] (in module [Link]), 365
DupliObject (class in [Link]), 360 EditBone.children_recursive (in module [Link]), 365
[Link] (in module [Link]), 361 EditBone.children_recursive_basename (in module
duration ([Link].SCA_DelaySensor attribute), 1142 [Link]), 365
duration ([Link] attribute), 348 [Link] (in module [Link]), 363
duration ([Link] attribute), 674 EditBone.parent_recursive (in module [Link]), 365
dynamic_friction ([Link] at- [Link] (in module [Link]), 365
tribute), 426 EditBone.x_axis (in module [Link]), 365
dynamic_operation ([Link] EditBone.y_axis (in module [Link]), 365
attribute), 367 EditBone.z_axis (in module [Link]), 365
edited_clear() (in module [Link]), 90
E editmesh_active ([Link] attribute),
edge_color ([Link] attribute), 724 914

1220 Index
Blender Index, Release 2.57.0 r36138 - API

editmesh_active ([Link].ThemeView3D attribute), 935 engine ([Link] attribute), 724


editmode_toggle() (in module [Link]), 72 ensure_ext() (in module [Link]), 1039
EditObjectActuator (class in [Link]), 366 ENTERKEY (in module [Link]), 1184
effect_fader ([Link] attribute), 763 EnumProperty (class in [Link]), 372
effect_hair ([Link] attribute), 656 EnumProperty() (in module [Link]), 1043
effect_strip ([Link] attribute), [Link] (in module [Link]), 373
925 EnumProperty.default_flag (in module [Link]), 373
effect_strip_add() (in module [Link]), 102 EnumProperty.enum_items (in module [Link]), 373
effector_add() (in module [Link]), 72 EnumPropertyItem (class in [Link]), 374
effector_amount ([Link] attribute), [Link] (in module [Link]),
656 374
effector_group ([Link] at- [Link] (in module [Link]), 374
tribute), 802 [Link] (in module [Link]), 374
EffectorWeights (class in [Link]), 371 [Link] (in module [Link]), 374
EffectSequence (class in [Link]), 368 envelope_distance ([Link] attribute), 223
EffectSequence.color_balance (in module [Link]), 368 envelope_distance ([Link] attribute), 363
[Link] (in module [Link]), 368 envelope_weight ([Link] attribute), 223
[Link] (in module [Link]), 368 envelope_weight ([Link] attribute), 363
[Link] (in module [Link]), 369 environment_color ([Link] attribute),
EIGHTKEY (in module [Link]), 1182 1024
EKEY (in module [Link]), 1181 environment_energy ([Link] attribute),
elasticity ([Link] attribute), 524 1024
emission ([Link] attribute), 538 EnvironmentMap (class in [Link]), 375
emission_color ([Link] attribute), 539 EnvironmentMapTexture (class in [Link]), 376
emission_color_factor ([Link] at- EnvironmentMapTexture.environment_map (in module
tribute), 533 [Link]), 376
emission_factor ([Link] at- EnvironmentMapTexture.image_user (in module
tribute), 533 [Link]), 376
emit ([Link] attribute), 516 EnvironmentMapTexture.users_material (in module
emit_factor ([Link] attribute), 533 [Link]), 377
emit_from ([Link] attribute), 656 EnvironmentMapTexture.users_object_modifier (in mod-
emitter_distance ([Link] attribute), 645 ule [Link]), 377
empty_draw_size ([Link] attribute), 607 envmap_clear() (in module [Link]), 115
empty_draw_type ([Link] attribute), 607 envmap_clear_all() (in module [Link]), 115
enable() (in module blf), 1080 envmap_save() (in module [Link]), 115
enable_manipulator() (in module [Link].view3d), 132 EQUALKEY (in module [Link]), 1184
enabled ([Link] attribute), 955 error (class in aud), 1089
enableMotionBlur() (in module [Link]), 1179 error_threshold ([Link]
enableRigidBody() ([Link].KX_GameObject attribute), 531
method), 1108 error_threshold ([Link] attribute),
enableVisibility() (in module [Link]), 1178 809
end() ([Link].KX_Scene method), 1133 error_threshold ([Link] attribute), 1024
end_cap ([Link] attribute), 177 ESCKEY (in module [Link]), 1184
end_frame_set() (in module [Link]), 116 etch_adaptive_limit ([Link] attribute),
end_result() ([Link] method), 715 943
end_time ([Link] attribute), 330 etch_convert_mode ([Link] attribute),
end_time ([Link] attribute), 352 943
endGame() (in module [Link]), 1165 etch_length_limit ([Link] attribute), 943
ENDKEY (in module [Link]), 1184 etch_number ([Link] attribute), 944
endObject() ([Link].KX_GameObject method), 1105 etch_roll_mode ([Link] attribute), 944
energy ([Link].KX_LightObject attribute), 1113 etch_side ([Link] attribute), 944
energy ([Link] attribute), 491 etch_subdivision_number ([Link] at-
enforce ([Link].BL_ArmatureConstraint attribute), tribute), 944
1156 etch_template ([Link] attribute), 944

Index 1221
Blender Index, Release 2.57.0 r36138 - API

Euler (class in mathutils), 1048 executePriority ([Link].SCA_ILogicBrick attribute),


[Link]() (in module mathutils), 1048 1091
euler_filter() (in module [Link]), 38 expanded_toggle() (in module [Link]), 85
eval_time ([Link] attribute), 338 expandPath() (in module [Link]), 1167
evaluate() ([Link] method), 259 explode_refresh() (in module [Link]), 73
evaluate() ([Link] method), 383 ExplodeModifier (class in [Link]), 380
evaluate_envelope() ([Link] method), 226 export_layout() (in module [Link]), 126
evaluate_envelope() ([Link] method), 694 expose() ([Link] method), 435
evaluation_type ([Link] attribute), 702 expose() ([Link] method), 437
Event (class in [Link]), 378 exposure ([Link] attribute), 1021
[Link] (in module [Link]), 378 expression ([Link] attribute), 357
[Link] (in module [Link]), 378 expression ([Link] attribute),
[Link] (in module [Link]), 378 381
Event.mouse_prev_x (in module [Link]), 378 ExpressionController (class in [Link]), 381
Event.mouse_prev_y (in module [Link]), 378 exr_codec ([Link] at-
Event.mouse_region_x (in module [Link]), 378 tribute), 301
Event.mouse_region_y (in module [Link]), 378 exr_codec ([Link] attribute), 725
Event.mouse_x (in module [Link]), 378 exr_preview ([Link] attribute), 725
Event.mouse_y (in module [Link]), 378 exr_zbuf ([Link] attribute), 725
[Link] (in module [Link]), 378 extension ([Link] attribute), 454
[Link] (in module [Link]), 379 extension ([Link] attribute), 1009
[Link] (in module [Link]), 379 external_edit() (in module [Link]), 41
[Link] (in module [Link]), 379 extra_edge_len ([Link].ThemeView3D attribute), 935
event_timer_add() ([Link] method), extra_face_angle ([Link].ThemeView3D attribute),
1016 935
event_timer_remove() ([Link] extra_face_area ([Link].ThemeView3D attribute), 935
method), 1016 extrapolation ([Link] attribute), 382
event_type ([Link] attribute), 463 extrapolation ([Link] attribute), 592
events ([Link].SCA_KeyboardSensor attribute), 1144 extrapolation_type() (in module [Link]), 11
events ([Link].SCA_PythonKeyboard attribute), 1092 extrapolation_type() (in module [Link]), 38
events ([Link].SCA_PythonMouse attribute), 1092 extrude ([Link] attribute), 338
EventToCharacter() (in module [Link]), 1181 extrude() (in module [Link]), 17
EventToString() (in module [Link]), 1181 extrude() (in module [Link]), 24
exclude_ambient_occlusion extrude() (in module [Link]), 53
([Link] attribute), extrude_edges_move() (in module [Link]), 53
749 extrude_faces_move() (in module [Link]), 53
exclude_emit ([Link] attribute), extrude_forked() (in module [Link]), 17
749 extrude_move() (in module [Link]), 17
exclude_environment ([Link] at- extrude_region_move() (in module [Link]), 53
tribute), 749 extrude_repeat() (in module [Link]), 53
exclude_indirect ([Link] attribute), extrude_vertices_move() (in module [Link]), 54
749 eyedropper() (in module [Link]), 125
exclude_reflection ([Link] at-
tribute), 749 F
exclude_refraction ([Link] at- F10KEY (in module [Link]), 1183
tribute), 750 F11KEY (in module [Link]), 1183
exclude_shadow ([Link] attribute), F12KEY (in module [Link]), 1184
750 F13KEY (in module [Link]), 1184
exclude_specular ([Link] at- F14KEY (in module [Link]), 1184
tribute), 750 F15KEY (in module [Link]), 1184
execute() ([Link] method), 628 F16KEY (in module [Link]), 1184
execute() (in module [Link]), 21 F17KEY (in module [Link]), 1184
execute() (in module [Link]), 32 F18KEY (in module [Link]), 1184
execute_preset() (in module [Link]), 100 F19KEY (in module [Link]), 1184

1222 Index
Blender Index, Release 2.57.0 r36138 - API

F1KEY (in module [Link]), 1183 fade ([Link] attribute), 288


F2KEY (in module [Link]), 1183 fade_frames ([Link] attribute), 645
F3KEY (in module [Link]), 1183 fade_to ([Link] attribute), 525
F4KEY (in module [Link]), 1183 falloff ([Link] attribute), 222
F5KEY (in module [Link]), 1183 falloff ([Link] attribute),
F6KEY (in module [Link]), 1183 283
F7KEY (in module [Link]), 1183 falloff ([Link] at-
F8KEY (in module [Link]), 1183 tribute), 285
F9KEY (in module [Link]), 1183 falloff ([Link] attribute), 441
f_stop ([Link] attribute), falloff ([Link] at-
281 tribute), 527
face ([Link] attribute), 914 falloff ([Link] attribute), 682
face ([Link].ThemeView3D attribute), 935 falloff ([Link] attribute), 1026
face_dot ([Link] attribute), 914 falloff_power ([Link] attribute), 399
face_dot ([Link].ThemeView3D attribute), 935 falloff_radius ([Link] attribute), 1012
face_select ([Link] attribute), 914 falloff_soft ([Link] attribute), 683
face_select ([Link].ThemeView3D attribute), 935 falloff_strength ([Link] attribute), 1024
face_select_all() (in module [Link]), 87 falloff_type ([Link] attribute), 399
face_select_hide() (in module [Link]), 87 falloff_type ([Link] attribute), 686
face_select_inverse() (in module [Link]), 87 falloff_type ([Link] attribute), 852
face_select_linked() (in module [Link]), 87 family ([Link] attribute), 872
face_select_linked_pick() (in module [Link]), 87 far ([Link].KX_Camera attribute), 1149
face_select_reveal() (in module [Link]), 87 fbx() (in module [Link].export_scene), 29
facedot_size ([Link] attribute), FCurve (class in [Link]), 382
914 [Link] (in module [Link]), 382
facedot_size ([Link].ThemeView3D attribute), 935 FCurve.keyframe_points (in module [Link]), 383
faces_miror_uv() (in module [Link]), 54 [Link] (in module [Link]), 383
faces_select_interior() (in module [Link]), 54 FCurve.sampled_points (in module [Link]), 383
faces_select_linked_flat() (in module [Link]), 54 FCurveActuator (class in [Link]), 384
faces_shade_flat() (in module [Link]), 54 FCurveKeyframePoints (class in [Link]), 386
faces_shade_smooth() (in module [Link]), 54 FCurveModifiers (class in [Link]), 387
factor ([Link] attribute), 242 FCurveSample (class in [Link]), 388
factor ([Link] attribute), 266 fear_factor ([Link] attribute), 215
factor ([Link] attribute), feedback ([Link] attribute), 461
311 ffmpeg_audio_bitrate ([Link] at-
factor ([Link] attribute), 318 tribute), 725
factor ([Link] attribute), 800 ffmpeg_audio_codec ([Link] at-
factor ([Link] attribute), 806 tribute), 725
factor_blue ([Link] attribute), 877 ffmpeg_audio_mixrate ([Link] at-
factor_density ([Link] attribute), tribute), 725
736 ffmpeg_audio_volume ([Link] at-
factor_green ([Link] attribute), 877 tribute), 725
factor_radius ([Link] attribute), 737 ffmpeg_autosplit ([Link] attribute),
factor_random ([Link] attribute), 656 725
factor_red ([Link] attribute), 877 ffmpeg_buffersize ([Link] attribute),
factor_repulsion ([Link] attribute), 725
737 ffmpeg_codec ([Link] attribute), 725
factor_rest_length ([Link] at- ffmpeg_format ([Link] attribute), 725
tribute), 737 ffmpeg_gopsize ([Link] attribute), 725
factor_stiff_viscosity ([Link] ffmpeg_maxrate ([Link] attribute),
attribute), 737 726
factor_x ([Link] attribute), 266 ffmpeg_minrate ([Link] attribute), 726
factor_y ([Link] attribute), 266 ffmpeg_muxrate ([Link] attribute),
Factory (class in aud), 1083 726

Index 1223
Blender Index, Release 2.57.0 r36138 - API

ffmpeg_packetsize ([Link] attribute), filter ([Link] attribute),


726 527
ffmpeg_video_bitrate ([Link] at- Filter2DActuator (class in [Link]), 405
tribute), 726 filter_eccentricity ([Link] at-
fgon_clear() (in module [Link]), 54 tribute), 376
fgon_make() (in module [Link]), 54 filter_eccentricity ([Link] attribute), 454
fh_damping ([Link] attribute), 325 filter_fcurve_name ([Link] attribute), 355
fh_damping ([Link] attribute), 524 filter_glob ([Link] attribute), 403
fh_distance ([Link] attribute), 524 filter_group ([Link] attribute), 355
fh_force ([Link] attribute), 325 filter_pass ([Link].Filter2DActuator attribute), 405
fh_force ([Link] attribute), 524 filter_probes ([Link] at-
fh_height ([Link] attribute), 325 tribute), 376
field_factor ([Link] filter_probes ([Link] attribute), 454
attribute), 665 filter_size ([Link] attribute),
field_order ([Link] attribute), 445 376
field_order ([Link] attribute), 726 filter_size ([Link] attribute), 454
fields_per_frame ([Link] attribute), 456 filter_size ([Link] attribute), 726
FieldSettings (class in [Link]), 399 filter_text ([Link] attribute), 831
file_browse() (in module [Link]), 20 filter_text ([Link] attribute),
file_format ([Link] attribute), 445 839
file_format ([Link] attribute), 726 filter_type ([Link] attribute),
file_format ([Link] attribute), 1009 266
file_paste() (in module [Link]), 34 filter_type ([Link] attribute),
file_quality ([Link] attribute), 726 286
fileName ([Link].KX_GameActuator attribute), 1102 filter_type ([Link] attribute),
fileName ([Link].KX_SoundActuator attribute), 1134 306
filename ([Link] attribute), 403 filter_type ([Link] attribute),
filename ([Link] attribute), 419 376
filename ([Link] attribute), 769 filter_type ([Link] attribute), 454
filenum() (in module [Link]), 32 find() ([Link] method), 476
filepath ([Link] attribute), find() (in module [Link]), 112
301 find_armature() ([Link] method), 613
filepath ([Link] attribute), 352 find_missing_files() (in module [Link]), 32
filepath ([Link] attribute), 446 find_modal() ([Link] method), 477
filepath ([Link] attribute), 500 find_set_selected() (in module [Link]), 112
filepath ([Link] attribute), 581 find_text ([Link] attribute), 835
filepath ([Link] attribute), 586 finish_stroke() (in module [Link]), 108
filepath ([Link] attribute), 647 fit_length ([Link] attribute), 177
filepath ([Link] attribute), 680 fit_type ([Link] attribute), 177
filepath ([Link] attribute), 726 FIVEKEY (in module [Link]), 1182
filepath ([Link] attribute), 770 FKEY (in module [Link]), 1181
filepath ([Link] attribute), 814 flags_set() (in module [Link]), 18
filepath ([Link] attribute), 817 flags_set() (in module [Link]), 93
filepath ([Link] attribute), 868 flare_boost ([Link] attribute), 522
filepath ([Link] attribute), 890 flare_seed ([Link] attribute), 522
filepath ([Link] attribute), 1009 flare_size ([Link] attribute), 522
filepath_raw ([Link] attribute), 446 flare_subflare_count ([Link] attribute),
fileselect_add() ([Link] class 522
method), 1015 flare_subflare_size ([Link] attribute),
FileSelectParams (class in [Link]), 403 522
[Link] (in module [Link]), 404 flee_distance ([Link] attribute), 216
fill() (in module [Link]), 18 flip_names() (in module [Link]), 18
fill() (in module [Link]), 54 flip_names() (in module [Link]), 93
flip_normals() (in module [Link]), 54

1224 Index
Blender Index, Release 2.57.0 r36138 - API

float ([Link] attribute), 701 font ([Link] attribute), 872


float_array ([Link] attribute), 701 font_bold ([Link] attribute), 872
float_max ([Link] attribute), 707 font_bold_italic ([Link] attribute), 872
float_mean ([Link] attribute), 707 font_directory ([Link] at-
float_min ([Link] attribute), 707 tribute), 987
float_value ([Link] attribute), 707 font_italic ([Link] attribute), 872
FloatProperty (class in [Link]), 406 font_kerning_style ([Link] attribute),
FloatProperty() (in module [Link]), 1044 910
FloatProperty.array_length (in module [Link]), 406 font_size ([Link] attribute), 819
[Link] (in module [Link]), 406 font_size ([Link] attribute), 835
FloatProperty.default_array (in module [Link]), 406 force ([Link].KX_ObjectActuator attribute), 1119
FloatProperty.hard_max (in module [Link]), 406 force ([Link] attribute), 371
FloatProperty.hard_min (in module [Link]), 407 force ([Link] attribute), 441
[Link] (in module [Link]), 407 force ([Link] attribute), 616
FloatProperty.soft_max (in module [Link]), 407 force_max_x ([Link] attribute), 616
FloatProperty.soft_min (in module [Link]), 407 force_max_y ([Link] attribute), 616
[Link] (in module [Link]), 407 force_max_z ([Link] attribute), 616
FloatVectorProperty() (in module [Link]), 1044 force_min_x ([Link] attribute), 616
floor_location ([Link] attribute), 408 force_min_y ([Link] attribute), 617
FloorConstraint (class in [Link]), 408 force_min_z ([Link] attribute), 617
flow ([Link] attribute), 399 forcefield_toggle() (in module [Link]), 73
fluid (in module [Link]), 8 forceLimitX ([Link].KX_ObjectActuator attribute),
fluid_group ([Link] attribute), 1120
802 forceLimitY ([Link].KX_ObjectActuator attribute),
fluid_radius ([Link] attribute), 737 1120
FluidFluidSettings (class in [Link]), 409 forceLimitZ ([Link].KX_ObjectActuator attribute),
FluidSettings (class in [Link]), 410 1120
FluidSimulationModifier (class in [Link]), 411 foreach_get() ([Link].bpy_prop_collection method),
[Link] (in module [Link]), 1032
411 foreach_set() ([Link].bpy_prop_collection method),
fly() (in module [Link].view3d), 132 1032
FModifier (class in [Link]), 389 form_factor ([Link] attribute),
FModifier.is_valid (in module [Link]), 389 422
[Link] (in module [Link]), 389 format ([Link] attribute), 1083
fmodifier_add() (in module [Link]), 38 forward_axis ([Link] attribute),
fmodifier_add() (in module [Link]), 64 412
fmodifier_copy() (in module [Link]), 38 FOURKEY (in module [Link]), 1182
fmodifier_copy() (in module [Link]), 64 fps ([Link] attribute), 446
fmodifier_paste() (in module [Link]), 38 fps ([Link] attribute), 726
fmodifier_paste() (in module [Link]), 65 fps ([Link] attribute), 745
FModifierCycles (class in [Link]), 390 fps_base ([Link] attribute), 726
FModifierEnvelope (class in [Link]), 391 frame ([Link].BL_ActionActuator attribute), 1094
FModifierEnvelope.control_points (in module [Link]), frame ([Link].BL_ShapeActionActuator attribute),
391 1098
FModifierEnvelopeControlPoint (class in [Link]), 392 frame ([Link] at-
FModifierFunctionGenerator (class in [Link]), 393 tribute), 392
FModifierGenerator (class in [Link]), 394 frame ([Link] attribute), 940
FModifierLimits (class in [Link]), 395 frame_after ([Link] attribute),
FModifierNoise (class in [Link]), 396 162
FModifierPython (class in [Link]), 397 frame_after ([Link] at-
FModifierStepped (class in [Link]), 398 tribute), 163
follow_active_quads() (in module [Link]), 126 frame_before ([Link] attribute),
follow_curve ([Link] attribute), 872 162
FollowPathConstraint (class in [Link]), 412

Index 1225
Blender Index, Release 2.57.0 r36138 - API

frame_before ([Link] at- frame_offset ([Link] at-


tribute), 163 tribute), 292
frame_blend_in ([Link] attribute), 147 frame_offset ([Link] attribute), 398
frame_blend_in ([Link] at- frame_offset ([Link] attribute), 457
tribute), 792 frame_offset() (in module [Link]), 99
frame_color ([Link] attribute), 745 frame_path() ([Link] method), 733
frame_current ([Link] attribute), 739 frame_preview_end ([Link] attribute), 739
frame_current ([Link] attribute), frame_preview_start ([Link] attribute), 739
902 frame_property ([Link] attribute), 147
frame_current ([Link] attribute), frame_property ([Link] attribute),
906 384
frame_current ([Link] attribute), frame_property ([Link] at-
911 tribute), 792
frame_current ([Link] attribute), frame_server_port ([Link] at-
919 tribute), 992
frame_current ([Link] at- frame_set() ([Link] method), 741
tribute), 925 frame_start ([Link] attribute), 147
frame_current ([Link] attribute), 930 frame_start ([Link] attribute), 148
frame_current ([Link].ThemeView3D attribute), 935 frame_start ([Link] attribute),
frame_duration ([Link] attribute), 237 162
frame_duration ([Link] frame_start ([Link] attribute),
attribute), 292 163
frame_duration ([Link] attribute), 456 frame_start ([Link] attribute), 237
frame_end ([Link] attribute), 147 frame_start ([Link] attribute),
frame_end ([Link] attribute), 148 292
frame_end ([Link] attribute), frame_start ([Link] at-
162 tribute), 302
frame_end ([Link] attribute), frame_start ([Link] attribute),
163 312
frame_end ([Link] frame_start ([Link] attribute), 384
attribute), 302 frame_start ([Link] attribute), 398
frame_end ([Link] attribute), frame_start ([Link] attribute), 446
312 frame_start ([Link] attribute), 457
frame_end ([Link] attribute), 384 frame_start ([Link] attribute), 592
frame_end ([Link] attribute), 398 frame_start ([Link] attribute), 656
frame_end ([Link] attribute), 446 frame_start ([Link] attribute), 680
frame_end ([Link] attribute), 592 frame_start ([Link] attribute), 739
frame_end ([Link] attribute), 656 frame_start ([Link] attribute), 764
frame_end ([Link] attribute), 680 frame_start ([Link] attribute),
frame_end ([Link] attribute), 739 792
frame_end ([Link] attribute), frame_start ([Link] attribute),
792 884
frame_end ([Link] attribute), frame_step ([Link] attribute),
884 162
frame_final_duration ([Link] attribute), 763 frame_step ([Link] attribute),
frame_final_end ([Link] attribute), 763 163
frame_final_start ([Link] attribute), 763 frame_step ([Link] attribute), 398
frame_jump() (in module [Link]), 11 frame_step ([Link] attribute), 680
frame_jump() (in module [Link]), 38 frame_step ([Link] attribute), 739
frame_jump() (in module [Link]), 99 frame_type ([Link] attribute), 745
frame_map_new ([Link] attribute), frameEnd ([Link].BL_ActionActuator attribute), 1094
727 frameEnd ([Link].BL_ShapeActionActuator at-
frame_map_old ([Link] attribute), 727 tribute), 1098
frame_number ([Link] attribute), 414 frameEnd ([Link].KX_IpoActuator attribute), 1112

1226 Index
Blender Index, Release 2.57.0 r36138 - API

frameMessageCount ([Link].KX_NetworkMessageSensor frustum_culling ([Link].KX_Camera attribute), 1149


attribute), 1118 Function (class in [Link]), 413
framePropName ([Link].BL_ActionActuator at- [Link] (in module [Link]), 413
tribute), 1094 [Link] (in module [Link]), 413
framePropName ([Link].BL_ShapeActionActuator at- Function.is_registered (in module [Link]), 413
tribute), 1099 Function.is_registered_optional (in module [Link]),
framePropName ([Link].KX_IpoActuator attribute), 413
1112 [Link] (in module [Link]), 413
frameStart ([Link].BL_ActionActuator attribute), Function.use_self (in module [Link]), 413
1094 function_type ([Link] at-
frameStart ([Link].BL_ShapeActionActuator at- tribute), 393
tribute), 1098 fuzzy ([Link] attribute), 809
frameStart ([Link].KX_IpoActuator attribute), 1112
free_axis ([Link] at- G
tribute), 511 g ([Link].KX_VertexProxy attribute), 1139
free_bake() (in module [Link]), 96 g ([Link] attribute), 1047
free_bake_all() (in module [Link]), 96 gain ([Link] attribute),
frequency ([Link].SCA_ISensor attribute), 1092 269
frequency ([Link] attribute), 745 gain ([Link] attribute),
frequency ([Link] attribute), 761 270
fresnel ([Link] attribute), 526 gain ([Link] attribute), 587
fresnel ([Link] at- gain ([Link] attribute), 766
tribute), 527 gain_3d_max ([Link] attribute), 815
fresnel_factor ([Link] at- gain_3d_min ([Link] attribute), 815
tribute), 526 game_property_clear() (in module [Link]), 73
fresnel_factor ([Link] game_property_copy() (in module [Link]), 73
attribute), 527 game_property_new() (in module [Link]), 73
friction ([Link] attribute), 248 game_property_remove() (in module [Link]), 73
friction ([Link] attribute), 524 game_start() (in module [Link].view3d), 132
friction ([Link] attribute), 809 GameActuator (class in [Link]), 418
friction_coefficients ([Link] at- GameBooleanProperty (class in [Link]), 419
tribute), 422 GameFloatProperty (class in [Link]), 420
friction_factor ([Link] attribute), GameIntProperty (class in [Link]), 421
257 GameObjectSettings (class in [Link]), 422
friction_random ([Link] attribute), [Link] (in module [Link]), 422
257 [Link] (in module [Link]),
from_id() ([Link] method), 1099 422
from_id() ([Link] method), 475 [Link] (in module [Link]),
from_max_x ([Link] attribute), 423
949 [Link] (in module [Link]), 423
from_max_y ([Link] attribute), GameObjectSettings.soft_body (in module [Link]),
949 423
from_max_z ([Link] attribute), GameObjectSettings.used_states (in module [Link]),
949 424
from_min_x ([Link] attribute), GameProperty (class in [Link]), 425
950 GameSoftBodySettings (class in [Link]), 426
from_min_y ([Link] attribute), GameStringProperty (class in [Link]), 428
950 GameTimerProperty (class in [Link]), 429
from_min_z ([Link] attribute), gamma ([Link] attribute), 167
950 gamma ([Link] at-
from_pydata() ([Link] method), 547 tribute), 270
from_string() ([Link] method), 869 gamma ([Link] attribute),
front ([Link] attribute), 313
531 gamma ([Link] attribute), 766

Index 1227
Blender Index, Release 2.57.0 r36138 - API

gather_method ([Link] attribute), 1024 getMaterialIndex() ([Link].KX_BlenderMaterial


generate() ([Link] method), 483 method), 1100
generate_particles ([Link] at- getMaterialIndex() ([Link].KX_PolyProxy method),
tribute), 352 1122
generated_height ([Link] attribute), 446 getMaterialMode() (in module [Link]), 1179
generated_type ([Link] attribute), 446 getMaterialName() ([Link].KX_MeshProxy method),
generated_width ([Link] attribute), 446 1115
gesture() (in module [Link]), 108 getMaterialName() ([Link].KX_PolyProxy method),
get() ([Link] method), 1099 1122
get() ([Link].KX_GameObject method), 1112 getMaxLogicFrame() (in module [Link]), 1166
get() ([Link].KX_Scene method), 1133 getMaxPhysicsFrame() (in module [Link]), 1166
get() ([Link].bpy_prop_collection method), 1032 getMesh() ([Link].KX_PolyProxy method), 1123
get() ([Link].bpy_struct method), 1035 getNormal() ([Link].KX_VertexProxy method), 1140
getAngularVelocity() ([Link].KX_GameObject getNumMaterials() ([Link].KX_MeshProxy method),
method), 1107 1115
getAverageFrameRate() (in module [Link]), 1167 getNumPolygons() ([Link].KX_MeshProxy method),
getAxisVect() ([Link].KX_GameObject method), 1116
1106 getNumVertex() ([Link].KX_PolyProxy method),
getBlendFileList() (in module [Link]), 1168 1122
getButtonActiveList() ([Link].SCA_JoystickSensor getNumWheels() ([Link].KX_VehicleWrapper
method), 1144 method), 1136
getButtonStatus() ([Link].SCA_JoystickSensor getPhysicsId() ([Link].KX_GameObject method),
method), 1144 1109
getButtonStatus() ([Link].SCA_MouseSensor getPhysicsTicRate() (in module [Link]), 1167
method), 1116 getPolygon() ([Link].KX_MeshProxy method), 1116
getCameraToWorld() ([Link].KX_Camera method), getPropertyNames() ([Link].KX_GameObject
1151 method), 1109
getChannel() ([Link].BL_ActionActuator method), getRandomFloat() (in module [Link]), 1168
1095 getReactionForce() ([Link].KX_GameObject
getConeHeight() ([Link].KX_RadarSensor method), method), 1108
1128 getRGBA() ([Link].KX_VertexProxy method), 1140
getConstraintId() ([Link].KX_ConstraintWrapper getSceneList() (in module [Link]), 1165
method), 1101 getScreenPosition() ([Link].KX_Camera method),
getConstraintId() ([Link].KX_VehicleWrapper 1151
method), 1136 getScreenRay() ([Link].KX_Camera method), 1152
getConstraintType() ([Link].KX_VehicleWrapper getScreenVect() ([Link].KX_Camera method), 1151
method), 1136 getSeed() ([Link].SCA_RandomSensor method), 1148
getCurrentController() (in module [Link]), 1165 getShader() ([Link].KX_BlenderMaterial method),
getCurrentScene() (in module [Link]), 1165 1100
getDistanceTo() ([Link].KX_GameObject method), getSpectrum() (in module [Link]), 1166
1109 getStripElem() ([Link] method), 765
getEyeSeparation() (in module [Link]), 1179 getTextureName() ([Link].KX_MeshProxy method),
getFocalLength() (in module [Link]), 1179 1115
getFragmentProg() ([Link].BL_Shader method), 1095 getTextureName() ([Link].KX_PolyProxy method),
getGLSLMaterialSetting() (in module [Link]), 1179 1122
getKeyStatus() ([Link].SCA_KeyboardSensor getUV() ([Link].KX_VertexProxy method), 1139
method), 1144 getUV2() ([Link].KX_VertexProxy method), 1139
getLastDraw() ([Link].SCA_RandomSensor method), getVectTo() ([Link].KX_GameObject method), 1109
1148 getVelocity() ([Link].KX_GameObject method), 1108
getLinearVelocity() ([Link].KX_GameObject getVertex() ([Link].KX_MeshProxy method), 1115
method), 1107 getVertexArrayLength() ([Link].KX_MeshProxy
getLogicTicRate() (in module [Link]), 1167 method), 1115
getMaterial() ([Link].KX_PolyProxy method), 1122 getVertexIndex() ([Link].KX_PolyProxy method),
1122

1228 Index
Blender Index, Release 2.57.0 r36138 - API

getVertexProg() ([Link].BL_Shader method), 1095 goal_friction ([Link] attribute), 809


getWheelOrientationQuaternion() goal_max ([Link] attribute), 250
([Link].KX_VehicleWrapper method), goal_max ([Link] attribute), 809
1136 goal_min ([Link] attribute), 250
getWheelPosition() ([Link].KX_VehicleWrapper goal_min ([Link] attribute), 809
method), 1137 goal_spring ([Link] attribute), 250
getWheelRotation() ([Link].KX_VehicleWrapper goal_spring ([Link] attribute), 810
method), 1137 GPencilFrame (class in [Link]), 414
getWindowHeight() (in module [Link]), 1178 [Link] (in module [Link]), 414
getWindowWidth() (in module [Link]), 1178 GPencilLayer (class in [Link]), 415
getWorldToCamera() ([Link].KX_Camera method), GPencilLayer.active_frame (in module [Link]), 415
1151 [Link] (in module [Link]), 415
getXYZ() ([Link].KX_VertexProxy method), 1139 GPencilStroke (class in [Link]), 417
ghost ([Link].KX_ParentActuator attribute), 1120 [Link] (in module [Link]), 417
ghost_curves_clear() (in module [Link]), 38 GPencilStrokePoint (class in [Link]), 418
ghost_curves_create() (in module [Link]), 38 grab_clone() (in module [Link]), 87
ghost_frame_end ([Link] attribute), 169 gravity ([Link] attribute), 250
ghost_frame_start ([Link] attribute), 170 gravity ([Link] attribute), 352
ghost_range_max ([Link] attribute), gravity ([Link] attribute), 371
415 gravity ([Link] attribute), 740
ghost_size ([Link] attribute), 170 gravity ([Link] attribute), 810
ghost_step ([Link] attribute), 170 gravity_factor ([Link] at-
ghost_type ([Link] attribute), 170 tribute), 665
GKEY (in module [Link]), 1181 grease_pencil ([Link] attribute), 602
gl_clip_alpha ([Link] at- grease_pencil ([Link] attribute), 608
tribute), 992 grease_pencil ([Link] attribute), 740
gl_free() ([Link] method), 448 grease_pencil ([Link] attribute),
gl_load() ([Link] method), 448 824
gl_texture ([Link].KX_PolygonMaterial attribute), grease_pencil_eraser_radius
1125 ([Link] attribute),
gl_texture_limit ([Link] at- 983
tribute), 992 grease_pencil_euclidean_distance
glare_type ([Link] attribute), ([Link] attribute),
288 983
globalDict (in module [Link]), 1164 grease_pencil_manhattan_distance
gloss_anisotropic ([Link] at- ([Link] attribute),
tribute), 526 983
gloss_factor ([Link] at- GreasePencil (class in [Link]), 431
tribute), 526 [Link] (in module [Link]), 431
gloss_factor ([Link] GreasePencilLayers (class in [Link]), 432
attribute), 527 grid ([Link] attribute), 902
gloss_samples ([Link] at- grid ([Link] attribute), 906
tribute), 526 grid ([Link] attribute), 911
gloss_samples ([Link] grid ([Link] attribute), 919
attribute), 527 grid ([Link] attribute), 925
gloss_threshold ([Link] at- grid ([Link] attribute), 930
tribute), 526 grid ([Link].ThemeView3D attribute), 935
gloss_threshold ([Link] grid_levels ([Link] attribute),
attribute), 527 353
GlowSequence (class in [Link]), 429 grid_lines ([Link].SpaceView3D attribute), 840
glsl_shader ([Link].Filter2DActuator attribute), 405 grid_random ([Link] attribute), 656
goal_default ([Link] attribute), 250 grid_resolution ([Link] attribute), 656
goal_default ([Link] attribute), 809 grid_scale ([Link].SpaceView3D attribute), 840
goal_friction ([Link] attribute), 250

Index 1229
Blender Index, Release 2.57.0 r36138 - API

grid_subdivisions ([Link].SpaceView3D attribute), Handle (class in aud), 1087


841 handle_align ([Link] attribute),
group ([Link] attribute), 248 911
group ([Link] attribute), 371 handle_align ([Link].ThemeView3D attribute), 935
group ([Link] attribute), 382 handle_auto ([Link] attribute),
group ([Link] attribute), 484 912
Group (class in [Link]), 433 handle_auto ([Link].ThemeView3D attribute), 935
[Link] (in module [Link]), 433 handle_free ([Link] attribute), 912
Group.users_dupli_group (in module [Link]), 433 handle_free ([Link].ThemeView3D attribute), 935
group_add() (in module [Link]), 73 handle_left ([Link] attribute), 181
group_add() (in module [Link]), 93 handle_left ([Link] attribute), 480
group_assign() (in module [Link]), 93 handle_left ([Link] attribute),
group_deselect() (in module [Link]), 93 795
group_edit() (in module [Link]), 67 handle_left_type ([Link] attribute),
group_instance_add() (in module [Link]), 73 182
group_link() (in module [Link]), 73 handle_left_type ([Link] attribute), 480
group_make() (in module [Link]), 67 handle_right ([Link] attribute), 182
group_method ([Link] attribute), 484 handle_right ([Link] attribute), 480
group_node ([Link] attribute), 920 handle_right ([Link] attribute),
group_operation() (in module [Link]), 85 795
group_remove() (in module [Link]), 73 handle_right_type ([Link] at-
group_remove() (in module [Link]), 93 tribute), 182
group_select() (in module [Link]), 93 handle_right_type ([Link] attribute), 480
group_socket_add() (in module [Link]), 67 handle_sel_align ([Link] at-
group_socket_move_down() (in module [Link]), tribute), 912
67 handle_sel_align ([Link].ThemeView3D attribute),
group_socket_move_up() (in module [Link]), 67 935
group_socket_remove() (in module [Link]), 67 handle_sel_auto ([Link] attribute),
group_unassign() (in module [Link]), 93 912
group_ungroup() (in module [Link]), 67 handle_sel_auto ([Link].ThemeView3D attribute), 935
GroupInputs (class in [Link]), 435 handle_sel_free ([Link] attribute),
GroupObjects (class in [Link]), 436 912
GroupOutputs (class in [Link]), 436 handle_sel_free ([Link].ThemeView3D attribute), 935
guide_clump_amount ([Link] attribute), handle_sel_vect ([Link] attribute),
400 912
guide_clump_shape ([Link] attribute), handle_sel_vect ([Link].ThemeView3D attribute), 935
400 handle_type() (in module [Link]), 11
guide_free ([Link] attribute), 400 handle_type() (in module [Link]), 38
guide_kink_amplitude ([Link] attribute),handle_type_set() (in module [Link]), 24
400 handle_vect ([Link] attribute), 912
guide_kink_axis ([Link] attribute), 400 handle_vect ([Link].ThemeView3D attribute), 936
guide_kink_frequency ([Link] attribute),handle_vertex ([Link] attribute),
400 912
guide_kink_shape ([Link] attribute), 400handle_vertex_select ([Link] at-
guide_kink_type ([Link] attribute), 400 tribute), 912
guide_minimum ([Link] attribute), 400 handle_vertex_size ([Link]
attribute), 912
H handles_view_toggle() (in module [Link]), 38
h ([Link] attribute), 1048 hardness ([Link] attribute), 522
hair_length ([Link] attribute), 656 hardness_factor ([Link] at-
hair_step ([Link] attribute), 657 tribute), 533
half_life_time ([Link] attribute), 707 harmonic ([Link] attribute), 371
halo_intensity ([Link] attribute), 852 harmonic_damping ([Link] attribute),
halo_step ([Link] attribute), 852 400

1230 Index
Blender Index, Release 2.57.0 r36138 - API

has_ghost_curves ([Link] at- header_text ([Link] attribute), 922


tribute), 823 header_text ([Link] attribute), 924
has_ik ([Link].BL_ArmatureChannel attribute), 1158 header_text ([Link] attribute),
hat ([Link].SCA_JoystickSensor attribute), 1143 925
hat_direction ([Link] attribute), 463 header_text ([Link] attribute), 928
hat_number ([Link] attribute), 463 header_text ([Link] attribute), 930
hatSingle ([Link].SCA_JoystickSensor attribute), header_text ([Link] attribute),
1143 933
hatValues ([Link].SCA_JoystickSensor attribute), header_text ([Link].ThemeView3D attribute), 936
1142 header_text_hi ([Link] at-
head ([Link].BL_ArmatureBone attribute), 1162 tribute), 902
head ([Link] attribute), 223 header_text_hi ([Link] attribute), 904
head ([Link] attribute), 363 header_text_hi ([Link] attribute),
head_local ([Link] attribute), 223 906
head_radius ([Link] attribute), 223 header_text_hi ([Link] attribute),
head_radius ([Link] attribute), 363 908
head_tail ([Link] attribute), header_text_hi ([Link] attribute),
332 912
head_tail ([Link] at- header_text_hi ([Link] attribute),
tribute), 337 914
head_tail ([Link] attribute), 676 header_text_hi ([Link] attribute), 916
head_tail ([Link] attribute), 856 header_text_hi ([Link] attribute),
head_tail ([Link] attribute), 948 917
header ([Link] attribute), 902 header_text_hi ([Link] attribute),
header ([Link] attribute), 904 919
header ([Link] attribute), 906 header_text_hi ([Link] attribute),
header ([Link] attribute), 908 921
header ([Link] attribute), 912 header_text_hi ([Link] attribute), 922
header ([Link] attribute), 914 header_text_hi ([Link] attribute),
header ([Link] attribute), 916 924
header ([Link] attribute), 917 header_text_hi ([Link] at-
header ([Link] attribute), 919 tribute), 925
header ([Link] attribute), 920 header_text_hi ([Link] attribute),
header ([Link] attribute), 922 928
header ([Link] attribute), 924 header_text_hi ([Link] attribute), 930
header ([Link] attribute), 925 header_text_hi ([Link] at-
header ([Link] attribute), 928 tribute), 933
header ([Link] attribute), 930 header_text_hi ([Link].ThemeView3D attribute), 936
header ([Link] attribute), 933 header_text_set() ([Link] method), 166
header ([Link].ThemeView3D attribute), 936 header_toolbox() (in module [Link]), 99
Header (class in [Link]), 438 headtail ([Link].BL_ArmatureConstraint attribute),
[Link] (in module [Link]), 438 1156
header_flip() (in module [Link]), 99 health ([Link] attribute), 220
header_text ([Link] attribute), height ([Link].KX_CameraActuator attribute), 1100
902 height ([Link] attribute), 220
header_text ([Link] attribute), 904 height ([Link] attribute), 231
header_text ([Link] attribute), 906 height ([Link] attribute), 241
header_text ([Link] attribute), 908 height ([Link] attribute), 870
header_text ([Link] attribute), 912 height ([Link] attribute), 1012
header_text ([Link] attribute), 914 height ([Link] attribute), 1026
header_text ([Link] attribute), 916 HemiLamp (class in [Link]), 439
header_text ([Link] attribute), 917 hexagonal_grid ([Link] attribute), 657
header_text ([Link] attribute), 919 hide ([Link] attribute), 182
header_text ([Link] attribute), 921 hide ([Link] attribute), 224

Index 1231
Blender Index, Release 2.57.0 r36138 - API

hide ([Link] attribute), 363 HOMEKEY (in module [Link]), 1184


hide ([Link] attribute), 383 hook_add_newob() (in module [Link]), 74
hide ([Link] attribute), 416 hook_add_selob() (in module [Link]), 74
hide ([Link] attribute), 551 hook_assign() (in module [Link]), 74
hide ([Link] attribute), 553 hook_recenter() (in module [Link]), 74
hide ([Link] attribute), 561 hook_remove() (in module [Link]), 74
hide ([Link] attribute), 564 hook_reset() (in module [Link]), 74
hide ([Link] attribute), 571 hook_select() (in module [Link]), 74
hide ([Link] attribute), 608 HookModifier (class in [Link]), 440
hide ([Link] attribute), 846 horizon_brightness ([Link] at-
hide ([Link] attribute), 850 tribute), 493
hide() (in module [Link]), 18 horizon_color ([Link] attribute), 1022
hide() (in module [Link]), 24 horizon_factor ([Link] attribute),
hide() (in module [Link]), 54 1028
hide() (in module [Link]), 90 hsv ([Link] attribute), 1048
hide() (in module [Link]), 93
hide() (in module [Link]), 126 I
hide_metaelems() (in module [Link]), 51 icon_file ([Link] attribute), 931
hide_recent_locations ([Link] icon_filepath ([Link] attribute), 231
attribute), 987 id ([Link] attribute), 358
hide_render ([Link] attribute), 608 id ([Link] attribute), 484
hide_render_clear() (in module [Link]), 74 ID (class in [Link]), 442
hide_render_clear_all() (in module [Link]), 74 [Link] (in module [Link]), 442
hide_render_set() (in module [Link]), 74 [Link] (in module [Link]), 442
hide_select ([Link] attribute), 224 id_data ([Link].bpy_struct attribute), 1037
hide_select ([Link] attribute), 363 id_operation() (in module [Link]), 86
hide_select ([Link] attribute), 608 id_type ([Link] attribute), 358
hide_socket_toggle() (in module [Link]), 67 id_type ([Link] attribute), 484
hide_toggle() (in module [Link]), 67 identity() ([Link] method), 1051
hide_view_clear() (in module [Link]), 74 IDMaterials (class in [Link]), 443
hide_view_set() (in module [Link]), 74 idname ([Link] attribute), 470
hidedot() (in module [Link]), 32 ik_add() (in module [Link]), 93
highlight() (in module [Link]), 32 ik_clear() (in module [Link]), 93
hinge ([Link].BL_ArmatureBone attribute), 1162 ik_dist ([Link].BL_ArmatureConstraint attribute),
Histogram (class in [Link]), 440 1157
history_append() (in module [Link]), 22 ik_dof_x ([Link].BL_ArmatureChannel attribute),
history_cycle() (in module [Link]), 22 1158
hitNormal ([Link].KX_MouseFocusSensor attribute), ik_dof_y ([Link].BL_ArmatureChannel attribute),
1117 1158
hitNormal ([Link].KX_RaySensor attribute), 1129 ik_dof_z ([Link].BL_ArmatureChannel attribute),
hitObject ([Link].KX_MouseFocusSensor attribute), 1158
1117 ik_flag ([Link].BL_ArmatureConstraint attribute),
hitObject ([Link].KX_RaySensor attribute), 1129 1157
hitObject ([Link].KX_TouchSensor attribute), 1117 ik_limit_x ([Link].BL_ArmatureChannel attribute),
hitObjectList ([Link].KX_TouchSensor attribute), 1158
1118 ik_limit_y ([Link].BL_ArmatureChannel attribute),
hitPosition ([Link].KX_MouseFocusSensor attribute), 1158
1117 ik_limit_z ([Link].BL_ArmatureChannel attribute),
hitPosition ([Link].KX_RaySensor attribute), 1129 1158
hitUV ([Link].KX_MouseFocusSensor attribute), ik_lin_control ([Link].BL_ArmatureChannel at-
1117 tribute), 1158
HKEY (in module [Link]), 1181 ik_lin_weight ([Link].BL_ArmatureChannel at-
hold1 ([Link].SCA_KeyboardSensor attribute), 1144 tribute), 1161
hold2 ([Link].SCA_KeyboardSensor attribute), 1144 ik_linear_weight ([Link] attribute), 690

1232 Index
Blender Index, Release 2.57.0 r36138 - API

ik_max_x ([Link].BL_ArmatureChannel attribute), image ([Link] attribute), 1010


1160 Image (class in [Link]), 445
ik_max_x ([Link] attribute), 690 [Link] (in module [Link]), 445
ik_max_y ([Link].BL_ArmatureChannel attribute), [Link] (in module [Link]), 445
1160 Image.has_data (in module [Link]), 446
ik_max_y ([Link] attribute), 690 Image.is_dirty (in module [Link]), 446
ik_max_z ([Link].BL_ArmatureChannel attribute), Image.packed_file (in module [Link]), 446
1160 [Link] (in module [Link]), 447
ik_max_z ([Link] attribute), 691 [Link] (in module [Link]), 447
ik_min_x ([Link].BL_ArmatureChannel attribute), image_editor ([Link]
1160 attribute), 987
ik_min_x ([Link] attribute), 691 image_from_view() (in module [Link]), 87
ik_min_y ([Link].BL_ArmatureChannel attribute), image_paint() (in module [Link]), 87
1160 image_paint_object (in module [Link]), 6
ik_min_y ([Link] attribute), 691 image_paint_radial_control() (in module [Link]),
ik_min_z ([Link].BL_ArmatureChannel attribute), 87
1160 image_strip ([Link] attribute),
ik_min_z ([Link] attribute), 691 925
ik_mode ([Link].BL_ArmatureConstraint attribute), image_strip_add() (in module [Link]), 103
1157 image_tool ([Link] attribute), 231
ik_rot_control ([Link].BL_ArmatureChannel at- image_tool_set() (in module [Link]), 20
tribute), 1158 image_type ([Link] at-
ik_rot_weight ([Link].BL_ArmatureChannel at- tribute), 302
tribute), 1161 ImagePaint (class in [Link]), 449
ik_rotation_weight ([Link] attribute), 691 images_separate() (in module [Link]), 103
ik_solver ([Link] attribute), 689 ImageSequence (class in [Link]), 450
ik_stiffness_x ([Link].BL_ArmatureChannel at- ImageSequence.color_balance (in module [Link]), 451
tribute), 1160 [Link] (in module [Link]), 451
ik_stiffness_x ([Link] attribute), 691 [Link] (in module [Link]), 451
ik_stiffness_y ([Link].BL_ArmatureChannel at- [Link] (in module [Link]), 451
tribute), 1160 [Link] (in module [Link]), 451
ik_stiffness_y ([Link] attribute), 691 ImageTexture (class in [Link]), 453
ik_stiffness_z ([Link].BL_ArmatureChannel at- ImageTexture.image_user (in module [Link]), 454
tribute), 1160 ImageTexture.users_material (in module [Link]), 455
ik_stiffness_z ([Link] attribute), 691 ImageTexture.users_object_modifier (in module
ik_stretch ([Link].BL_ArmatureChannel attribute), [Link]), 455
1160 ImageUser (class in [Link]), 456
ik_stretch ([Link] attribute), 691 ImageUser.multilayer_layer (in module [Link]), 457
ik_type ([Link].BL_ArmatureConstraint attribute), ImageUser.multilayer_pass (in module [Link]), 457
1157 impact_factor ([Link] at-
ik_type ([Link] attribute), 488 tribute), 622
ik_weight ([Link].BL_ArmatureConstraint attribute), in_out_node ([Link] attribute), 921
1157 indent() (in module [Link]), 112
IKEY (in module [Link]), 1181 index ([Link].SCA_JoystickSensor attribute), 1143
IKParam (class in [Link]), 444 index ([Link] attribute), 291
IKParam.ik_solver (in module [Link]), 444 index ([Link] attribute), 680
image ([Link] attribute), 179 index() ([Link] method), 1099
image ([Link] attribute), 292 indirect_bounces ([Link] attribute),
image ([Link] attribute), 376 1024
image ([Link] attribute), 454 indirect_factor ([Link] attribute), 1024
image ([Link] attribute), 561 inflow ([Link] attribute), 400
image ([Link] attribute), 824 inflow_velocity ([Link] attribute),
image ([Link] attribute), 887 458
image ([Link] attribute), 977 InflowFluidSettings (class in [Link]), 458

Index 1233
Blender Index, Release 2.57.0 r36138 - API

influence ([Link] attribute), 323 interpolation ([Link] attribute),


influence ([Link] attribute), 592 952
info ([Link] attribute), 416 interpolation ([Link] attribute), 1009
inherit_scale ([Link].BL_ArmatureBone attribute), interpolation_type() (in module [Link]), 11
1162 interpolation_type() (in module [Link]), 38
initial_velocity ([Link] attribute), interpolation_type_u ([Link] attribute), 497
409 interpolation_type_v ([Link] attribute), 497
initial_velocity ([Link] attribute), interpolation_type_w ([Link] attribute), 497
804 intersect_line_line() (in module [Link]),
inner ([Link] attribute), 938 1077
inner_anim ([Link] at- intersect_line_line_2d() (in module [Link]),
tribute), 939 1077
inner_anim_sel ([Link] at- intersect_point_line() (in module [Link]),
tribute), 939 1078
inner_driven ([Link] at- intersect_point_quad_2d() (in module
tribute), 939 [Link]), 1078
inner_driven_sel ([Link] at- intersect_point_tri_2d() (in module [Link]),
tribute), 939 1078
inner_key ([Link] attribute), intersect_ray_tri() (in module [Link]), 1078
939 IntProperty (class in [Link]), 460
inner_key_sel ([Link] at- IntProperty() (in module [Link]), 1044
tribute), 940 IntProperty.array_length (in module [Link]), 460
inner_sel ([Link] attribute), 938 [Link] (in module [Link]), 460
InputKeyMapPanel (class in [Link]), 459 IntProperty.default_array (in module [Link]), 460
insert() ([Link] method), 386 IntProperty.hard_max (in module [Link]), 460
insert() (in module [Link]), 22 IntProperty.hard_min (in module [Link]), 460
insert() (in module [Link]), 112 IntProperty.soft_max (in module [Link]), 460
insert_lorem() (in module [Link]), 34 IntProperty.soft_min (in module [Link]), 460
INSERTKEY (in module [Link]), 1184 [Link] (in module [Link]), 460
instantAddObject() ([Link].KX_SCA_AddObjectActuator introspect() ([Link] method), 976
method), 1130 IntVectorProperty() (in module [Link]), 1044
instantReplaceMesh() ([Link].KX_SCA_ReplaceMeshActuator invalid ([Link] attribute), 1091
method), 1131 invert ([Link].SCA_ISensor attribute), 1092
int ([Link] attribute), 701 invert ([Link] attribute), 761
int_array ([Link] attribute), 701 invert ([Link] attribute), 898
int_max ([Link] attribute), 707 invert() (in module [Link]), 41
int_mean ([Link] attribute), 708 invert() ([Link] method), 1051
int_min ([Link] attribute), 708 invert_alpha ([Link] attribute),
int_value ([Link] attribute), 708 293
integral_coefficient ([Link] attribute), invert_alpha ([Link] attribute), 454
617 invert_gain ([Link] attribute),
integrator ([Link] attribute), 657 766
intensity ([Link] attribute), invert_gamma ([Link] at-
313 tribute), 766
intensity ([Link] attribute), 877 invert_grid ([Link] attribute), 657
intensity ([Link] attribute), 1009 invert_lift ([Link] attribute),
intensity ([Link] attribute), 1026 766
interaction_preset_add() (in module [Link]), 139 invert_mouse_wheel_zoom
internal_friction ([Link] attribute), 251 ([Link] attribute),
interpolate_bezier() (in module [Link]), 989
1077 invert_normal ([Link]
interpolation ([Link] attribute), 259 attribute), 774
interpolation ([Link] attribute), 480 invert_normal ([Link] attribute),
interpolation ([Link] attribute), 793 779

1234 Index
Blender Index, Release 2.57.0 r36138 - API

invert_rgb ([Link] attribute), invoke_confirm() ([Link] class


293 method), 1017
invert_stencil ([Link] attribute), 449 invoke_popup() ([Link] class
invert_vertex_group ([Link] at- method), 1016
tribute), 175 invoke_props_dialog() ([Link] class
invert_vertex_group ([Link] attribute), method), 1016
514 invoke_props_popup() ([Link] class
invert_vertex_group ([Link] at- method), 1016
tribute), 550 invoke_search_popup() ([Link]
invert_vertex_group ([Link] at- class method), 1016
tribute), 812 ior ([Link] attribute),
invert_vertex_group_clump ([Link] at- 528
tribute), 669 ior ([Link] attribute),
invert_vertex_group_density ([Link] 531
attribute), 669 is_edited ([Link] attribute), 414
invert_vertex_group_field ([Link] at- is_fgon ([Link] attribute), 551
tribute), 669 is_loose ([Link] attribute), 551
invert_vertex_group_kink ([Link] at- is_modified ([Link] attribute), 578
tribute), 669 is_modified() ([Link] method), 613
invert_vertex_group_length ([Link] at- is_negative ([Link] attribute), 1053
tribute), 670 is_property_hidden() ([Link].bpy_struct method),
invert_vertex_group_rotation ([Link] 1035
attribute), 670 is_property_set() ([Link].bpy_struct method), 1035
invert_vertex_group_roughness_1 is_proxy_local ([Link] attribute), 323
([Link] attribute), 670 is_start ([Link] attribute), 632
invert_vertex_group_roughness_2 is_subdir() (in module [Link]), 1039
([Link] attribute), 670 is_user_defined ([Link] attribute), 468
invert_vertex_group_roughness_end is_valid ([Link] attribute), 357
([Link] attribute), 670 is_valid ([Link] attribute), 383
invert_vertex_group_size ([Link] at- is_valid ([Link] attribute), 675
tribute), 670 is_visible() ([Link] method), 613
invert_vertex_group_tangent ([Link] is_wrapped ([Link] attribute), 1048
attribute), 670 is_wrapped ([Link] attribute), 1049
invert_vertex_group_velocity ([Link] is_wrapped ([Link] attribute), 1053
attribute), 670 is_wrapped ([Link] attribute), 1055
invert_x ([Link] attribute), is_wrapped ([Link] attribute), 1060
332 isCollider() ([Link].KX_PolyProxy method), 1122
invert_x ([Link] attribute), isolate_type_render() (in module [Link]), 74
334 isValid() ([Link].BL_Shader method), 1095
invert_y ([Link] attribute), isVisible() ([Link].KX_PolyProxy method), 1122
332 Itasc (class in [Link]), 461
invert_y ([Link] attribute), item ([Link] attribute), 938
334 item_activate() (in module [Link]), 86
invert_z ([Link] attribute), item_openclose() (in module [Link]), 86
332 item_rename() (in module [Link]), 86
invert_z ([Link] attribute), items() ([Link].bpy_prop_collection method), 1032
334 items() ([Link].bpy_struct method), 1035
invert_z ([Link] attribute), 516 iterations ([Link]
invert_zmask ([Link] attribute), attribute), 265
750 iterations ([Link] attribute),
invert_zoom_wheel ([Link] at- 280
tribute), 989 iterations ([Link] attribute),
inverted() ([Link] method), 1051 288
invoke() ([Link] method), 628 iterations ([Link] attribute), 461

Index 1235
Blender Index, Release 2.57.0 r36138 - API

iterations ([Link] attribute), 488 keyframe_delete() ([Link].bpy_struct method), 1035


iterations ([Link] attribute), 758 keyframe_delete() (in module [Link]), 14
iterations ([Link] attribute), 806 keyframe_delete_button() (in module [Link]), 15
iterator() ([Link] method), 483 keyframe_delete_v3d() (in module [Link]), 15
keyframe_insert() ([Link].bpy_struct method), 1035
J keyframe_insert() (in module [Link]), 11
jitter ([Link] attribute), 231 keyframe_insert() (in module [Link]), 15
jitter_factor ([Link] attribute), 657 keyframe_insert() (in module [Link]), 38
JKEY (in module [Link]), 1181 keyframe_insert_button() (in module [Link]), 15
join() (in module [Link]), 74 keyframe_insert_menu() (in module [Link]), 15
join_shapes() (in module [Link]), 74 keyframe_jump() (in module [Link]), 99
join_uvs() (in module [Link]), 75 keyframe_new_handle_type
joint_bindings ([Link] attribute), ([Link] attribute),
849 984
joint_rotation ([Link].BL_ArmatureChannel at- keyframe_new_interpolation_type
tribute), 1161 ([Link] attribute),
joystick_index ([Link] attribute), 463 984
JoystickSensor (class in [Link]), 463 keyframe_type() (in module [Link]), 11
jpeg2k_depth ([Link] attribute), 727 keying_set_active_set() (in module [Link]), 15
jpeg2k_preset ([Link] attribute), 727 keying_set_add() (in module [Link]), 15
jpeg2k_ycc ([Link] attribute), 727 keying_set_export() (in module [Link]), 15
jump() (in module [Link]), 112 keying_set_path_add() (in module [Link]), 16
keying_set_path_remove() (in module [Link]), 16
K keying_set_remove() (in module [Link]), 16
keep ([Link] attribute), 1088 KeyingSet (class in [Link]), 481
keep_axis ([Link] attribute), 856 KeyingSet.is_path_absolute (in module [Link]), 481
KERNING_DEFAULT (in module blf), 1079 [Link] (in module [Link]), 481
key ([Link].SCA_KeyboardSensor attribute), 1144 KeyingSet.type_info (in module [Link]), 481
key ([Link] attribute), 314 keyingset_add_selected() (in module [Link]),
key ([Link] attribute), 477 86
Key (class in [Link]), 464 keyingset_button_add() (in module [Link]), 16
Key.animation_data (in module [Link]), 464 keyingset_button_remove() (in module [Link]), 16
Key.key_blocks (in module [Link]), 464 keyingset_remove_selected() (in module
Key.reference_key (in module [Link]), 465 [Link]), 86
[Link] (in module [Link]), 465 KeyingSetInfo (class in [Link]), 482
key_modifier ([Link] attribute), 470 KeyingSetPath (class in [Link]), 483
keyboard (in module [Link]), 1164 KeyingSetPaths (class in [Link]), 485
KeyboardSensor (class in [Link]), 477 KeyingSets (class in [Link]), 486
KeyConfig (class in [Link]), 466 KeyingSetsAll (class in [Link]), 487
KeyConfig.is_user_defined (in module [Link]), 466 keyitem_add() (in module [Link]), 140
[Link] (in module [Link]), 466 keyitem_remove() (in module [Link]), 140
keyconfig_activate() (in module [Link]), 139 keyitem_restore() (in module [Link]), 140
keyconfig_export() (in module [Link]), 139 KeyMap (class in [Link]), 468
keyconfig_import() (in module [Link]), 140 KeyMap.is_modal (in module [Link]), 468
keyconfig_preset_add() (in module [Link]), 140 KeyMap.keymap_items (in module [Link]), 468
keyconfig_remove() (in module [Link]), 140 [Link] (in module [Link]), 468
keyconfig_set() (in module [Link]), 1037 KeyMap.region_type (in module [Link]), 468
keyconfig_test() (in module [Link]), 140 KeyMap.space_type (in module [Link]), 468
KeyConfigurations (class in [Link]), 467 keymap_edit() (in module [Link]), 140
[Link] (in module [Link]), 467 keymap_restore() (in module [Link]), 140
keyed_loops ([Link] attribute), 657 KeyMapItem (class in [Link]), 470
keyframe ([Link] attribute), [Link] (in module [Link]), 470
925 KeyMapItem.is_user_defined (in module [Link]), 470
Keyframe (class in [Link]), 480 [Link] (in module [Link]), 471

1236 Index
Blender Index, Release 2.57.0 r36138 - API

[Link] (in module [Link]), 471 KX_ArmatureSensor.KX_ARMSENSOR_LIN_ERROR_ABOVE


KeyMapItems (class in [Link]), 473 (in module [Link]), 1154
KeyMaps (class in [Link]), 476 KX_ArmatureSensor.KX_ARMSENSOR_LIN_ERROR_BELOW
keys() ([Link].bpy_prop_collection method), 1032 (in module [Link]), 1154
keys() ([Link].bpy_struct method), 1036 KX_ArmatureSensor.KX_ARMSENSOR_ROT_ERROR_ABOVE
keys_step ([Link] attribute), 657 (in module [Link]), 1154
KinematicConstraint (class in [Link]), 488 KX_ArmatureSensor.KX_ARMSENSOR_ROT_ERROR_BELOW
kink ([Link] attribute), 657 (in module [Link]), 1154
kink_amplitude ([Link] attribute), 657 KX_ArmatureSensor.KX_ARMSENSOR_STATE_CHANGED
kink_amplitude_clump ([Link] (in module [Link]), 1154
attribute), 657 KX_BLENDER_GLSL_MATERIAL (in module
kink_axis ([Link] attribute), 657 [Link]), 1177
kink_factor ([Link] KX_BLENDER_MULTITEX_MATERIAL (in module
attribute), 665 [Link]), 1177
kink_flat ([Link] attribute), 657 KX_BlenderMaterial (class in [Link]), 1100
kink_frequency ([Link] attribute), 657 KX_Camera (class in [Link]), 1148
kink_shape ([Link] attribute), 658 KX_Camera.INSIDE (in module [Link]), 1148
KKEY (in module [Link]), 1181 KX_Camera.INTERSECT (in module [Link]), 1148
knife_cut() (in module [Link]), 54 KX_Camera.OUTSIDE (in module [Link]), 1148
KX_ACT_CONSTRAINT_DISTANCE (in module KX_CameraActuator (class in [Link]), 1100
[Link]), 1170 KX_CONSTRAINTACT_DIRNX (in module [Link]),
KX_ACT_CONSTRAINT_DOROTFH (in module 1170
[Link]), 1170 KX_CONSTRAINTACT_DIRNY (in module [Link]),
KX_ACT_CONSTRAINT_FHNX (in module [Link]), 1170
1171 KX_CONSTRAINTACT_DIRNZ (in module [Link]),
KX_ACT_CONSTRAINT_FHNY (in module [Link]), 1170
1171 KX_CONSTRAINTACT_DIRPX (in module [Link]),
KX_ACT_CONSTRAINT_FHNZ (in module [Link]), 1170
1171 KX_CONSTRAINTACT_DIRPY (in module [Link]),
KX_ACT_CONSTRAINT_FHPX (in module [Link]), 1170
1171 KX_CONSTRAINTACT_DIRPZ (in module [Link]),
KX_ACT_CONSTRAINT_FHPY (in module [Link]), 1170
1171 KX_CONSTRAINTACT_LOCX (in module [Link]),
KX_ACT_CONSTRAINT_FHPZ (in module [Link]), 1170
1171 KX_CONSTRAINTACT_LOCY (in module [Link]),
KX_ACT_CONSTRAINT_LOCAL (in module 1170
[Link]), 1170 KX_CONSTRAINTACT_LOCZ (in module [Link]),
KX_ACT_CONSTRAINT_MATERIAL (in module 1170
[Link]), 1170 KX_CONSTRAINTACT_ORIX (in module [Link]),
KX_ACT_CONSTRAINT_NORMAL (in module 1170
[Link]), 1169 KX_CONSTRAINTACT_ORIY (in module [Link]),
KX_ACT_CONSTRAINT_PERMANENT (in module 1170
[Link]), 1170 KX_CONSTRAINTACT_ORIZ (in module [Link]),
KX_ACTIONACT_FLIPPER (in module [Link]), 1170
1169, 1172 KX_CONSTRAINTACT_ROTX (in module [Link]),
KX_ACTIONACT_LOOPEND (in module [Link]), 1170
1169, 1173 KX_CONSTRAINTACT_ROTY (in module [Link]),
KX_ACTIONACT_LOOPSTOP (in module [Link]), 1170
1169, 1172 KX_CONSTRAINTACT_ROTZ (in module [Link]),
KX_ACTIONACT_PLAY (in module [Link]), 1169, 1170
1172 KX_ConstraintActuator (class in [Link]), 1100
KX_ACTIONACT_PROPERTY (in module [Link]), KX_ConstraintWrapper (class in [Link]), 1101
1169, 1173 KX_DYN_DISABLE_DYNAMICS (in module
KX_ArmatureSensor (class in [Link]), 1153 [Link]), 1171

Index 1237
Blender Index, Release 2.57.0 r36138 - API

KX_DYN_DISABLE_RIGID_BODY (in module KX_PROPSENSOR_EXPRESSION (in module


[Link]), 1171 [Link]), 1168
KX_DYN_ENABLE_RIGID_BODY (in module KX_PROPSENSOR_INTERVAL (in module [Link]),
[Link]), 1171 1168
KX_DYN_RESTORE_DYNAMICS (in module KX_PROPSENSOR_NOTEQUAL (in module
[Link]), 1171 [Link]), 1168
KX_DYN_SET_MASS (in module [Link]), 1171 KX_RADAR_AXIS_NEG_X (in module [Link]),
KX_FALSE (in module [Link]), 1168 1169
KX_GAME_LOAD (in module [Link]), 1171 KX_RADAR_AXIS_NEG_Y (in module [Link]),
KX_GAME_LOADCFG (in module [Link]), 1171 1169
KX_GAME_QUIT (in module [Link]), 1171 KX_RADAR_AXIS_NEG_Z (in module [Link]),
KX_GAME_RESTART (in module [Link]), 1171 1169
KX_GAME_SAVECFG (in module [Link]), 1171 KX_RADAR_AXIS_POS_X (in module [Link]), 1169
KX_GAME_START (in module [Link]), 1171 KX_RADAR_AXIS_POS_Y (in module [Link]), 1169
KX_GameActuator (class in [Link]), 1101 KX_RADAR_AXIS_POS_Z (in module [Link]), 1169
KX_GameObject (class in [Link]), 1102 KX_RadarSensor (class in [Link]), 1128
KX_INPUT_ACTIVE (in module [Link]), 1173 KX_RANDOMACT_BOOL_BERNOUILLI (in module
KX_INPUT_JUST_ACTIVATED (in module [Link]), [Link]), 1172
1173 KX_RANDOMACT_BOOL_CONST (in module
KX_INPUT_JUST_RELEASED (in module [Link]), [Link]), 1172
1173 KX_RANDOMACT_BOOL_UNIFORM (in module
KX_INPUT_NONE (in module [Link]), 1173 [Link]), 1172
KX_IPOACT_FLIPPER (in module [Link]), 1171 KX_RANDOMACT_FLOAT_CONST (in module
KX_IPOACT_FROM_PROP (in module [Link]), 1172 [Link]), 1172
KX_IPOACT_LOOPEND (in module [Link]), 1171 KX_RANDOMACT_FLOAT_NEGATIVE_EXPONENTIAL
KX_IPOACT_LOOPSTOP (in module [Link]), 1171 (in module [Link]), 1172
KX_IPOACT_PINGPONG (in module [Link]), 1171 KX_RANDOMACT_FLOAT_NORMAL (in module
KX_IPOACT_PLAY (in module [Link]), 1171 [Link]), 1172
KX_IpoActuator (class in [Link]), 1112 KX_RANDOMACT_FLOAT_UNIFORM (in module
KX_LightObject (class in [Link]), 1113 [Link]), 1172
KX_LightObject.NORMAL (in module [Link]), 1113 KX_RANDOMACT_INT_CONST (in module
KX_LightObject.SPOT (in module [Link]), 1113 [Link]), 1172
KX_LightObject.SUN (in module [Link]), 1113 KX_RANDOMACT_INT_POISSON (in module
KX_MeshProxy (class in [Link]), 1114 [Link]), 1172
KX_MOUSE_BUT_LEFT (in module [Link]), 1173 KX_RANDOMACT_INT_UNIFORM (in module
KX_MOUSE_BUT_MIDDLE (in module [Link]), [Link]), 1172
1173 KX_RAY_AXIS_NEG_X (in module [Link]), 1169
KX_MOUSE_BUT_RIGHT (in module [Link]), 1173 KX_RAY_AXIS_NEG_Y (in module [Link]), 1169
KX_MouseFocusSensor (class in [Link]), 1116 KX_RAY_AXIS_NEG_Z (in module [Link]), 1169
KX_NearSensor (class in [Link]), 1118 KX_RAY_AXIS_POS_X (in module [Link]), 1169
KX_NetworkMessageActuator (class in [Link]), 1118 KX_RAY_AXIS_POS_Y (in module [Link]), 1169
KX_NetworkMessageSensor (class in [Link]), 1118 KX_RAY_AXIS_POS_Z (in module [Link]), 1169
KX_ObjectActuator (class in [Link]), 1118 KX_RaySensor (class in [Link]), 1128
KX_PARENT_REMOVE (in module [Link]), 1172 KX_SCA_AddObjectActuator (class in [Link]), 1129
KX_PARENT_SET (in module [Link]), 1172 KX_SCA_DynamicActuator (class in [Link]), 1130
KX_ParentActuator (class in [Link]), 1120 KX_SCA_EndObjectActuator (class in [Link]), 1130
KX_PhysicsObjectWrapper (class in [Link]), 1120 KX_SCA_ReplaceMeshActuator (class in [Link]),
KX_PolygonMaterial (class in [Link]), 1123 1130
KX_PolyProxy (class in [Link]), 1121 KX_Scene (class in [Link]), 1131
KX_PROPSENSOR_CHANGED (in module [Link]), KX_SCENE_ADD_BACK_SCENE (in module
1168 [Link]), 1172
KX_PROPSENSOR_EQUAL (in module [Link]), KX_SCENE_ADD_FRONT_SCENE (in module
1168 [Link]), 1172

1238 Index
Blender Index, Release 2.57.0 r36138 - API

KX_SCENE_REMOVE_SCENE (in module [Link]), KX_STATE6 (in module [Link]), 1174


1172 KX_STATE7 (in module [Link]), 1174
KX_SCENE_RESTART (in module [Link]), 1172 KX_STATE8 (in module [Link]), 1174
KX_SCENE_RESUME (in module [Link]), 1172 KX_STATE9 (in module [Link]), 1174
KX_SCENE_SET_CAMERA (in module [Link]), KX_STATE_OP_CLR (in module [Link]), 1174
1172 KX_STATE_OP_CPY (in module [Link]), 1174
KX_SCENE_SET_SCENE (in module [Link]), 1172 KX_STATE_OP_NEG (in module [Link]), 1175
KX_SCENE_SUSPEND (in module [Link]), 1172 KX_STATE_OP_SET (in module [Link]), 1175
KX_SceneActuator (class in [Link]), 1133 KX_StateActuator (class in [Link]), 1135
KX_SENSOR_ACTIVE (in module [Link]), 1168 KX_TEXFACE_MATERIAL (in module [Link]),
KX_SENSOR_INACTIVE (in module [Link]), 1168 1177
KX_SENSOR_JUST_ACTIVATED (in module KX_TouchSensor (class in [Link]), 1117
[Link]), 1168 KX_TrackToActuator (class in [Link]), 1135
KX_SENSOR_JUST_DEACTIVATED (in module KX_TRUE (in module [Link]), 1168
[Link]), 1168 KX_VehicleWrapper (class in [Link]), 1135
KX_SOUNDACT_LOOPBIDIRECTIONAL (in module KX_VertexProxy (class in [Link]), 1138
[Link]), 1173 KX_VisibilityActuator (class in [Link]), 1140
KX_SOUNDACT_LOOPBIDIRECTIONAL_STOP (in
module [Link]), 1173 L
KX_SOUNDACT_LOOPEND (in module [Link]), label ([Link] attribute), 597
1173 label() ([Link] method), 969
KX_SOUNDACT_LOOPSTOP (in module [Link]), lacunarity ([Link] attribute), 588
1173 lamp ([Link].ThemeView3D attribute), 936
KX_SOUNDACT_PLAYEND (in module [Link]), Lamp (class in [Link]), 491
1173 lamp (in module [Link]), 8
KX_SOUNDACT_PLAYSTOP (in module [Link]), Lamp.animation_data (in module [Link]), 491
1173 Lamp.texture_slots (in module [Link]), 491
KX_SoundActuator (class in [Link]), 1134 lamp_add() (in module [Link]), 75
KX_STATE1 (in module [Link]), 1174 LampSkySettings (class in [Link]), 492
KX_STATE10 (in module [Link]), 1174 LampTextureSlot (class in [Link]), 494
KX_STATE11 (in module [Link]), 1174 LampTextureSlots (class in [Link]), 496
KX_STATE12 (in module [Link]), 1174 land_acc_max ([Link] attribute), 220
KX_STATE13 (in module [Link]), 1174 land_ave_max ([Link] attribute), 220
KX_STATE14 (in module [Link]), 1174 land_jump_speed ([Link] attribute), 220
KX_STATE15 (in module [Link]), 1174 land_personal_space ([Link] attribute),
KX_STATE16 (in module [Link]), 1174 220
KX_STATE17 (in module [Link]), 1174 land_smooth ([Link] attribute), 220
KX_STATE18 (in module [Link]), 1174 land_speed_max ([Link] attribute), 220
KX_STATE19 (in module [Link]), 1174 land_stick_force ([Link] attribute), 220
KX_STATE2 (in module [Link]), 1174 language ([Link] attribute), 819
KX_STATE20 (in module [Link]), 1174 language ([Link] attribute),
KX_STATE21 (in module [Link]), 1174 992
KX_STATE22 (in module [Link]), 1174 language() (in module [Link]), 22
KX_STATE23 (in module [Link]), 1174 lastDraw ([Link].SCA_RandomSensor attribute),
KX_STATE24 (in module [Link]), 1174 1148
KX_STATE25 (in module [Link]), 1174 lastsel_point ([Link] attribute),
KX_STATE26 (in module [Link]), 1174 912
KX_STATE27 (in module [Link]), 1174 lastsel_point ([Link].ThemeView3D attribute), 936
KX_STATE28 (in module [Link]), 1174 Lattice (class in [Link]), 497
KX_STATE29 (in module [Link]), 1174 lattice (in module [Link]), 7
KX_STATE3 (in module [Link]), 1174 Lattice.animation_data (in module [Link]), 497
KX_STATE30 (in module [Link]), 1174 [Link] (in module [Link]), 497
KX_STATE4 (in module [Link]), 1174 Lattice.shape_keys (in module [Link]), 497
KX_STATE5 (in module [Link]), 1174 LatticeModifier (class in [Link]), 498

Index 1239
Blender Index, Release 2.57.0 r36138 - API

LatticePoint (class in [Link]), 499 life_factor ([Link] at-


[Link] (in module [Link]), 499 tribute), 665
[Link] (in module [Link]), 499 lifetime ([Link] attribute), 642
layer ([Link].KX_LightObject attribute), 1113 lifetime ([Link] attribute), 658
layer ([Link] attribute), 292 lifetime ([Link] attribute), 1012
layer ([Link] attribute), 305 lifetime_random ([Link] attribute),
layer_add() (in module [Link]), 36 658
layers ([Link] attribute), 170 lift ([Link] attribute),
layers ([Link] attribute), 224 269
layers ([Link] attribute), 363 lift ([Link] attribute),
layers ([Link] attribute), 433 270
layers ([Link] attribute), 608 lift ([Link] attribute), 766
layers ([Link] attribute), 619 light_group ([Link] attribute), 516
layers ([Link] attribute), 740 light_method ([Link] attribute), 539
layers ([Link] attribute), 750 light_override ([Link] attribute),
layers ([Link].SpaceView3D attribute), 841 750
layers() (in module [Link].view3d), 132 lightlayer ([Link].KX_PolygonMaterial attribute),
layers_from_view() ([Link] method), 619 1126
layers_ignore ([Link] attribute), 375 lightmap_pack() (in module [Link]), 126
layers_protected ([Link] attribute), 170 lights ([Link].KX_Scene attribute), 1132
layers_show_all() (in module [Link]), 18 limit ([Link].KX_ConstraintActuator attribute), 1101
layers_zmask ([Link] attribute), limit ([Link] attribute), 325
750 limit_angle_max_x ([Link]
LEFTALTKEY (in module [Link]), 1182 attribute), 734
LEFTARROWKEY (in module [Link]), 1183 limit_angle_max_y ([Link]
LEFTBRACKETKEY (in module [Link]), 1184 attribute), 734
LEFTCTRLKEY (in module [Link]), 1182 limit_angle_max_z ([Link]
LEFTMOUSE (in module [Link]), 1181 attribute), 734
LEFTSHIFTKEY (in module [Link]), 1182 limit_angle_min_x ([Link]
length ([Link].BL_ArmatureBone attribute), 1162 attribute), 734
length ([Link] attribute), 225 limit_angle_min_y ([Link]
length ([Link] attribute), 365 attribute), 734
length ([Link] attribute), 693 limit_angle_min_z ([Link]
length ([Link] attribute), 1060 attribute), 734
length_factor ([Link] at- limit_channel ([Link]
tribute), 665 attribute), 268
length_mode ([Link] attribute), 643 limit_channel ([Link] at-
length_random ([Link] attribute), 658 tribute), 272
lennardjones ([Link] attribute), 371 limit_max ([Link] at-
lens ([Link].KX_Camera attribute), 1148 tribute), 268
lens ([Link] attribute), 239 limit_max ([Link]
lens ([Link].SpaceView3D attribute), 841 attribute), 296
lens_unit ([Link] attribute), 239 limit_max ([Link] attribute), 325
level ([Link].SCA_ISensor attribute), 1092 limit_max_x ([Link]
level ([Link] attribute), 214 attribute), 734
levels ([Link] attribute), 586 limit_max_y ([Link]
levels ([Link] attribute), 862 attribute), 734
LibFree() (in module [Link]), 1166 limit_max_z ([Link]
LibList() (in module [Link]), 1166 attribute), 734
LibLoad() (in module [Link]), 1165 limit_method ([Link] attribute), 180
LibNew() (in module [Link]), 1165 limit_method ([Link]
Library (class in [Link]), 500 attribute), 268
[Link] (in module [Link]), 500 limit_method ([Link] at-
Library.users_id (in module [Link]), 500 tribute), 273

1240 Index
Blender Index, Release 2.57.0 r36138 - API

limit_min ([Link] at- link() ([Link] method), 331


tribute), 268 link() ([Link] method), 436
limit_min ([Link] link() ([Link] method), 748
attribute), 296 link() ([Link] method), 762
limit_min ([Link] attribute), 325 link() (in module [Link]), 67
limit_min_x ([Link] link_append() (in module [Link]), 141
attribute), 734 link_make() (in module [Link]), 68
limit_min_y ([Link] link_viewer() (in module [Link]), 68
attribute), 735 links_cut() (in module [Link]), 49
limit_min_z ([Link] at- links_cut() (in module [Link]), 68
tribute), 735 linV ([Link].KX_ObjectActuator attribute), 1119
limit_mode ([Link] attribute), linVelocityMax ([Link].KX_GameObject attribute),
488 1102
limit_mode ([Link] at- linVelocityMin ([Link].KX_GameObject attribute),
tribute), 501 1102
limitdistance_reset() (in module [Link]), 23 list ([Link] attribute), 906
LimitDistanceConstraint (class in [Link]), 501 list ([Link] attribute), 908
LimitLocationConstraint (class in [Link]), 502 list ([Link] attribute), 912
LimitRotationConstraint (class in [Link]), 504 list ([Link] attribute), 919
limits ([Link] attribute), 800 list ([Link] attribute), 921
LimitScaleConstraint (class in [Link]), 506 list_text ([Link] attribute), 907
lin_attenuation ([Link].KX_LightObject attribute), list_text ([Link] attribute), 908
1114 list_text ([Link] attribute), 912
lin_error ([Link].BL_ArmatureConstraint attribute), list_text ([Link] attribute), 919
1156 list_text ([Link] attribute), 921
line_break() (in module [Link]), 35 list_text_hi ([Link] attribute), 907
line_break() (in module [Link]), 112 list_text_hi ([Link] attribute), 908
line_count ([Link] attribute), 522 list_text_hi ([Link] attribute), 912
line_error ([Link] attribute), 904 list_text_hi ([Link] attribute), 919
line_info ([Link] attribute), 905 list_text_hi ([Link] attribute), 921
line_input ([Link] attribute), 905 list_title ([Link] attribute), 907
line_length_head ([Link] attribute), list_title ([Link] attribute), 909
658 list_title ([Link] attribute), 912
line_length_tail ([Link] attribute), 658 list_title ([Link] attribute), 919
line_number() (in module [Link]), 112 list_title ([Link] attribute), 921
line_numbers_background ([Link] listener_location ([Link] attribute), 1083
attribute), 928 listener_orientation ([Link] attribute), 1083
line_output ([Link] attribute), 905 listener_velocity ([Link] attribute), 1083
line_width ([Link] attribute), 416 LKEY (in module [Link]), 1181
linear_attenuation ([Link] attribute), 686 load() ([Link] method), 191
linear_attenuation ([Link] attribute), 852 load() ([Link] method), 194
linear_drag ([Link] attribute), 400 load() ([Link] method), 197
linear_stiffness ([Link] load() ([Link] method), 207
attribute), 427 load() (in module blf), 1080
linear_velocity ([Link] attribute), load_from_file() ([Link] method), 719
367 load_from_file() ([Link] method), 722
linear_velocity ([Link] attribute), 617 load_scripts() (in module [Link]), 1037
linear_viscosity ([Link] attribute), loadGlobalDict() (in module [Link]), 1165
737 loc ([Link] attribute), 630
linearVelocity ([Link].KX_SCA_AddObjectActuator loc_clear() (in module [Link]), 93
attribute), 1130 localAngularVelocity ([Link].KX_GameObject
LINEFEEDKEY (in module [Link]), 1184 attribute), 1104
link ([Link] attribute), 528 localInertia ([Link].KX_GameObject attribute), 1102
link() ([Link] method), 154

Index 1241
Blender Index, Release 2.57.0 r36138 - API

localLinearVelocity ([Link].KX_GameObject at- lock_location_y ([Link] at-


tribute), 1104 tribute), 422
localOrientation ([Link].KX_GameObject attribute), lock_location_y ([Link] at-
1103 tribute), 488
localPosition ([Link].KX_GameObject attribute), lock_location_z ([Link] at-
1104 tribute), 422
localScale ([Link].KX_GameObject attribute), 1103 lock_location_z ([Link] at-
localview() (in module [Link].view3d), 133 tribute), 489
location ([Link] attribute), 1089 lock_object ([Link].SpaceView3D attribute), 841
location ([Link].BL_ArmatureChannel attribute), lock_rotation ([Link] attribute), 608
1158 lock_rotation ([Link] attribute), 692
location ([Link] attribute), 597 lock_rotation ([Link].RegionView3D attribute), 712
location ([Link] attribute), 608 lock_rotation_w ([Link] attribute), 608
location ([Link] attribute), lock_rotation_w ([Link] attribute), 692
632 lock_rotation_x ([Link] at-
location ([Link] attribute), 642 tribute), 422
location ([Link] attribute), 651 lock_rotation_x ([Link] at-
location ([Link] attribute), 691 tribute), 489
location ([Link] attribute), 777 lock_rotation_y ([Link] at-
location ([Link] attribute), 867 tribute), 422
location_apply() (in module [Link]), 75 lock_rotation_y ([Link] at-
location_clear() (in module [Link]), 75 tribute), 489
location_iterations ([Link] at- lock_rotation_z ([Link] at-
tribute), 427 tribute), 423
location_mass_center ([Link] lock_rotation_z ([Link] at-
attribute), 810 tribute), 489
lock ([Link] attribute), 151 lock_rotations_4d ([Link] attribute), 608
lock ([Link] attribute), 363 lock_rotations_4d ([Link] attribute), 692
lock ([Link] attribute), 383 lock_scale ([Link] attribute), 608
lock ([Link] attribute), 416 lock_scale ([Link] attribute), 692
lock ([Link] attribute), 595 lock_x ([Link] attribute), 760
lock ([Link] attribute), 764 lock_x ([Link] attribute), 800
lock() (in module [Link]), 104 lock_y ([Link] attribute), 760
lock_axis ([Link] attribute), lock_y ([Link] attribute), 800
507 lock_z ([Link] attribute), 760
lock_billboard ([Link] attribute), 658 LockedTrackConstraint (class in [Link]), 507
lock_boids_to_surface ([Link] at- log ([Link] attribute), 478
tribute), 658 logic_bricks_copy() (in module [Link]), 75
lock_bone ([Link].SpaceView3D attribute), 841 logic_step_max ([Link] attribute),
lock_bounds ([Link] attribute), 838 745
lock_camera_and_layers ([Link].SpaceView3D long_key ([Link] attribute), 907
attribute), 841 long_key_selected ([Link] at-
lock_cursor ([Link].SpaceView3D attribute), 841 tribute), 907
lock_frame ([Link] attribute), 416 look_ahead ([Link] at-
lock_ik_x ([Link] attribute), 691 tribute), 215
lock_ik_y ([Link] attribute), 691 loop_count ([Link] attribute), 1089
lock_ik_z ([Link] attribute), 691 loop_multi_select() (in module [Link]), 55
lock_location ([Link] attribute), 608 loop_select() (in module [Link]), 55
lock_location ([Link] attribute), 692 loop_to_region() (in module [Link]), 55
lock_location_x ([Link] at- loopcut() (in module [Link]), 55
tribute), 422 loopcut_slide() (in module [Link]), 55
lock_location_x ([Link] at- looping ([Link].KX_SoundActuator attribute), 1134
tribute), 488

1242 Index
Blender Index, Release 2.57.0 r36138 - API

M mapping_x ([Link] attribute), 533


Macro (class in [Link]), 508 mapping_x ([Link] at-
[Link] (in module [Link]), 509 tribute), 665
[Link] (in module [Link]), 509 mapping_y ([Link] attribute), 533
MagicTexture (class in [Link]), 510 mapping_y ([Link] at-
MagicTexture.users_material (in module [Link]), 510 tribute), 665
MagicTexture.users_object_modifier (in module mapping_z ([Link] attribute), 533
[Link]), 510 mapping_z ([Link] at-
magnetic ([Link] attribute), 371 tribute), 665
magnitude ([Link] attribute), 1055 marble_type ([Link] attribute), 512
magnitude ([Link] attribute), 1060 MarbleTexture (class in [Link]), 512
main_axis ([Link] attribute), 246 MarbleTexture.users_material (in module [Link]), 513
MaintainVolumeConstraint (class in [Link]), 511 MarbleTexture.users_object_modifier (in module
make_compatible() ([Link] method), 1048 [Link]), 513
make_dupli_face() (in module [Link]), 75 margin_column ([Link] attribute),
make_fluid() (in module [Link]), 75 835
make_fur() (in module [Link]), 75 mark_all() (in module [Link]), 112
make_internal() (in module [Link]), 112 mark_seam() (in module [Link]), 55
make_links_data() (in module [Link]), 76 mark_sharp() (in module [Link]), 55
make_links_scene() (in module [Link]), 50 markers_clear() (in module [Link]), 112
make_links_scene() (in module [Link]), 76 markers_make_local() (in module [Link]), 11
make_local() (in module [Link]), 76 mask ([Link].KX_StateActuator attribute), 1135
make_paths_absolute() (in module [Link]), 32 MaskModifier (class in [Link]), 514
make_paths_relative() (in module [Link]), 32 mass ([Link].KX_GameObject attribute), 1102
make_regular() (in module [Link]), 48 mass ([Link].KX_SCA_DynamicActuator attribute),
make_segment() (in module [Link]), 24 1130
make_single_user() (in module [Link]), 76 mass ([Link] attribute), 251
make_smoke() (in module [Link]), 76 mass ([Link] attribute), 367
makeScreenshot() (in module [Link]), 1178 mass ([Link] attribute), 423
manipulator() (in module [Link].view3d), 133 mass ([Link] attribute), 658
manipulator_handle_size mass ([Link] attribute), 810
([Link] attribute), material ([Link].KX_PolygonMaterial attribute), 1125
994 material ([Link].KX_PolyProxy attribute), 1121
manipulator_hotspot ([Link] at- material ([Link] attribute), 256
tribute), 994 material ([Link] attribute), 325
manipulator_size ([Link] material ([Link] attribute), 528
attribute), 994 material ([Link] attribute), 658
map_from ([Link] attribute), 950 material ([Link] attribute), 710
map_mode ([Link] attribute), 236 material ([Link] at-
map_to ([Link] attribute), 950 tribute), 774
map_to_x_from ([Link] at- material ([Link] attribute), 779
tribute), 950 material ([Link] attribute), 947
map_to_y_from ([Link] at- Material (class in [Link]), 515
tribute), 950 material (in module [Link]), 8
map_to_z_from ([Link] at- Material.animation_data (in module [Link]), 515
tribute), 950 Material.diffuse_ramp (in module [Link]), 516
map_type ([Link] attribute), 471 [Link] (in module [Link]), 516
mapping ([Link] at- Material.node_tree (in module [Link]), 517
tribute), 303 [Link] (in module [Link]), 517
mapping ([Link] attribute), 375 Material.raytrace_mirror (in module [Link]), 517
mapping ([Link] attribute), 446 Material.raytrace_transparency (in module [Link]),
mapping ([Link] attribute), 533 517
mapping ([Link] at- Material.specular_ramp (in module [Link]), 518
tribute), 665 [Link] (in module [Link]), 518

Index 1243
Blender Index, Release 2.57.0 r36138 - API

Material.subsurface_scattering (in module [Link]), max ([Link].KX_CameraActuator attribute), 1100


518 max ([Link].KX_ConstraintActuator attribute), 1101
Material.texture_slots (in module [Link]), 518 max ([Link].SCA_PropertySensor attribute), 1145
[Link] (in module [Link]), 521 max ([Link] attribute), 149
material_index ([Link] attribute), 553 max ([Link] attribute), 241
material_index ([Link] attribute), 846 max ([Link] attribute),
material_link ([Link] attribute), 297
984 max ([Link] at-
material_mode ([Link] attribute), tribute), 392
745 max ([Link] attribute), 777
material_offset ([Link] attribute), max ([Link] attribute), 867
812 max_x ([Link] attribute), 277
material_offset_rim ([Link] at- max_x ([Link] attribute), 395
tribute), 813 max_x ([Link] attribute),
material_override ([Link] at- 502
tribute), 750 max_x ([Link] attribute), 504
material_slot (in module [Link]), 8 max_x ([Link] attribute), 506
material_slot_add() (in module [Link]), 76 max_x ([Link] attribute), 767
material_slot_assign() (in module [Link]), 76 max_y ([Link] attribute), 277
material_slot_copy() (in module [Link]), 76 max_y ([Link] attribute), 395
material_slot_deselect() (in module [Link]), 76 max_y ([Link] attribute),
material_slot_remove() (in module [Link]), 76 502
material_slot_select() (in module [Link]), 77 max_y ([Link] attribute), 504
MaterialHalo (class in [Link]), 522 max_y ([Link] attribute), 506
MaterialPhysics (class in [Link]), 524 max_y ([Link] attribute), 767
MaterialRaytraceMirror (class in [Link]), 525 max_z ([Link] attribute), 502
MaterialRaytraceTransparency (class in [Link]), 527 max_z ([Link] attribute), 504
materials ([Link].KX_MeshProxy attribute), 1115 max_z ([Link] attribute), 506
MaterialSlot (class in [Link]), 528 median_scale ([Link] attribute), 1053
[Link] (in module [Link]), 528 memory_cache_limit ([Link]
MaterialStrand (class in [Link]), 529 attribute), 992
MaterialStrand.use_surface_diffuse (in module memory_statistics() (in module [Link]), 141
[Link]), 530 Menu (class in [Link]), 542
MaterialSubsurfaceScattering (class in [Link]), 531 menu() ([Link] method), 971
MaterialTextureSlot (class in [Link]), 532 [Link] (in module [Link]), 542
MaterialTextureSlots (class in [Link]), 537 merge() (in module [Link]), 18
MaterialVolume (class in [Link]), 538 merge() (in module [Link]), 55
mathutils (module), 1047 merge_threshold ([Link] attribute), 178
[Link] (module), 1076 merge_threshold ([Link] attribute),
matid ([Link].KX_PolyProxy attribute), 1121 575
matname ([Link].KX_PolyProxy attribute), 1121 mesh ([Link].KX_SCA_ReplaceMeshActuator
matrix ([Link] attribute), 224 attribute), 1131
matrix ([Link] attribute), 360 mesh ([Link] attribute), 367
matrix ([Link] attribute), 952 Mesh (class in [Link]), 543
Matrix (class in mathutils), 1049 mesh (in module [Link]), 7
[Link]() (in module mathutils), 1051 Mesh.animation_data (in module [Link]), 543
matrix_basis ([Link] attribute), 609 Mesh.edge_face_count (in module [Link]), 546
matrix_basis ([Link] attribute), 692 Mesh.edge_face_count_dict (in module [Link]), 546
matrix_local ([Link] attribute), 224 Mesh.edge_keys (in module [Link]), 546
matrix_local ([Link] attribute), 609 [Link] (in module [Link]), 543
matrix_original ([Link] attribute), 361 [Link] (in module [Link]), 543
matrix_world ([Link] attribute), 609 Mesh.layers_float (in module [Link]), 543
matte_channel ([Link] Mesh.layers_int (in module [Link]), 543
attribute), 268 Mesh.layers_string (in module [Link]), 543

1244 Index
Blender Index, Release 2.57.0 r36138 - API

[Link] (in module [Link]), 543 meta_remove() (in module [Link]), 65


Mesh.shape_keys (in module [Link]), 543 meta_separate() (in module [Link]), 104
[Link] (in module [Link]), 545 meta_strip ([Link] attribute),
Mesh.total_edge_sel (in module [Link]), 545 926
Mesh.total_face_sel (in module [Link]), 545 meta_toggle() (in module [Link]), 104
Mesh.total_vert_sel (in module [Link]), 545 MetaBall (class in [Link]), 568
Mesh.uv_textures (in module [Link]), 546 MetaBall.animation_data (in module [Link]), 568
Mesh.vertex_colors (in module [Link]), 546 [Link] (in module [Link]), 568
[Link] (in module [Link]), 546 [Link] (in module [Link]), 568
mesh_select_mode ([Link] attribute), metaball_add() (in module [Link]), 77
944 MetaBallElements (class in [Link]), 570
MeshColor (class in [Link]), 548 [Link] (in module [Link]), 570
MeshColorLayer (class in [Link]), 549 MetaElement (class in [Link]), 571
[Link] (in module [Link]), 549 MetaSequence (class in [Link]), 572
meshdeform_bind() (in module [Link]), 77 MetaSequence.color_balance (in module [Link]), 572
MeshDeformModifier (class in [Link]), 550 [Link] (in module [Link]), 572
MeshDeformModifier.is_bound (in module [Link]), [Link] (in module [Link]), 572
550 [Link] (in module [Link]), 573
MeshEdge (class in [Link]), 551 [Link] (in module [Link]), 573
[Link] (in module [Link]), 551 mid_level ([Link] attribute), 349
[Link] (in module [Link]), 552 MIDDLEMOUSE (in module [Link]), 1181
MeshEdges (class in [Link]), 552 min ([Link].KX_CameraActuator attribute), 1100
meshes ([Link].KX_GameObject attribute), 1104 min ([Link].KX_ConstraintActuator attribute), 1101
MeshFace (class in [Link]), 553 min ([Link].SCA_PropertySensor attribute), 1145
[Link] (in module [Link]), 553 min ([Link] attribute), 149
[Link] (in module [Link]), 554 min ([Link] attribute), 241
MeshFace.edge_keys (in module [Link]), 554 min ([Link] attribute), 297
[Link] (in module [Link]), 553 min ([Link] at-
[Link] (in module [Link]), 553 tribute), 392
MeshFaces (class in [Link]), 554 min ([Link] attribute), 777
MeshFaces.active_tface (in module [Link]), 555 min ([Link] attribute), 867
MeshFloatProperty (class in [Link]), 555 min_x ([Link] attribute), 277
MeshFloatPropertyLayer (class in [Link]), 556 min_x ([Link] attribute), 395
[Link] (in module [Link]), 556 min_x ([Link] attribute), 503
MeshIntProperty (class in [Link]), 557 min_x ([Link] attribute), 504
MeshIntPropertyLayer (class in [Link]), 558 min_x ([Link] attribute), 506
[Link] (in module [Link]), 558 min_x ([Link] attribute), 767
MeshSticky (class in [Link]), 558 min_y ([Link] attribute), 277
MeshStringProperty (class in [Link]), 559 min_y ([Link] attribute), 395
MeshStringPropertyLayer (class in [Link]), 560 min_y ([Link] attribute), 503
[Link] (in module [Link]), min_y ([Link] attribute), 504
560 min_y ([Link] attribute), 506
MeshTextureFace (class in [Link]), 561 min_y ([Link] attribute), 767
MeshTextureFaceLayer (class in [Link]), 563 min_z ([Link] attribute), 503
[Link] (in module [Link]), 563 min_z ([Link] attribute), 504
MeshVertex (class in [Link]), 564 min_z ([Link] attribute), 506
[Link] (in module [Link]), 564 mini_axis_brightness ([Link]
[Link] (in module [Link]), 564 attribute), 995
MeshVertices (class in [Link]), 565 mini_axis_size ([Link] at-
MessageActuator (class in [Link]), 566 tribute), 995
MessageSensor (class in [Link]), 567 minimize_stretch() (in module [Link]), 127
meta_add() (in module [Link]), 65 minkovsky_exponent ([Link] at-
meta_ball (in module [Link]), 8 tribute), 1007
meta_make() (in module [Link]), 104 MINUSKEY (in module [Link]), 1184

Index 1245
Blender Index, Release 2.57.0 r36138 - API

mirror() (in module [Link]), 12 MODELMATRIX (in module [Link]), 1176


mirror() (in module [Link]), 38 MODELMATRIX_INVERSE (in module [Link]),
mirror() (in module [Link]), 90 1176
mirror() (in module [Link]), 117 MODELMATRIX_INVERSETRANSPOSE (in module
mirror_color ([Link] attribute), 517 [Link]), 1176
mirror_factor ([Link] attribute), MODELMATRIX_TRANSPOSE (in module [Link]),
533 1176
mirror_object ([Link] attribute), 575 modelview_matrix ([Link].KX_Camera attribute),
MirrorModifier (class in [Link]), 575 1149
mix ([Link] attribute), 288 MODELVIEWMATRIX (in module [Link]), 1176
MKEY (in module [Link]), 1182 MODELVIEWMATRIX_INVERSE (in module
modal() ([Link] method), 629 [Link]), 1176
modal_handler_add() ([Link] class MODELVIEWMATRIX_INVERSETRANSPOSE (in
method), 1015 module [Link]), 1176
mode ([Link].BL_ActionActuator attribute), 1094 MODELVIEWMATRIX_TRANSPOSE (in module
mode ([Link].BL_ShapeActionActuator attribute), [Link]), 1176
1099 Modifier (class in [Link]), 576
mode ([Link].KX_GameActuator attribute), 1102 [Link] (in module [Link]), 577
mode ([Link].KX_IpoActuator attribute), 1113 modifier_add() (in module [Link]), 77
mode ([Link].KX_ParentActuator attribute), 1120 modifier_apply() (in module [Link]), 77
mode ([Link].KX_SCA_DynamicActuator attribute), modifier_convert() (in module [Link]), 77
1130 modifier_copy() (in module [Link]), 78
mode ([Link].KX_SceneActuator attribute), 1134 modifier_key_1 ([Link] attribute),
mode ([Link].KX_SoundActuator attribute), 1135 478
mode ([Link].SCA_2DFilterActuator attribute), 1141 modifier_key_2 ([Link] attribute),
mode ([Link].SCA_MouseSensor attribute), 1116 478
mode ([Link].SCA_PropertyActuator attribute), 1145 modifier_move_down() (in module [Link]), 78
mode ([Link].SCA_PropertySensor attribute), 1145 modifier_move_up() (in module [Link]), 78
mode ([Link].SCA_PythonController attribute), 1146 modifier_remove() (in module [Link]), 78
mode ([Link] attribute), 172 module ([Link] attribute), 156
mode ([Link] attribute), module ([Link] attribute), 704
275 module_names() (in module [Link]), 1039
mode ([Link] attribute), modules_from_path() (in module [Link]), 1037
309 motion_blur_factor ([Link].Filter2DActuator at-
mode ([Link] attribute), 325 tribute), 405
mode ([Link] attribute), 367 motion_blur_samples ([Link] at-
mode ([Link].Filter2DActuator attribute), 405 tribute), 727
mode ([Link] attribute), 394 motion_blur_shutter ([Link] attribute),
mode ([Link] attribute), 419 727
mode ([Link] attribute), 440 MotionPath (class in [Link]), 578
mode ([Link] attribute), 462 MotionPath.frame_end (in module [Link]), 578
mode ([Link] attribute), 514 MotionPath.frame_start (in module [Link]), 578
mode ([Link] attribute), 617 [Link] (in module [Link]), 578
mode ([Link] attribute), 640 [Link] (in module [Link]), 578
mode ([Link] attribute), 698 MotionPath.use_bone_head (in module [Link]), 578
mode ([Link] attribute), 704 MotionPathVert (class in [Link]), 579
mode ([Link] attribute), 743 mouse ([Link] attribute), 632
mode ([Link] attribute), 792 mouse (in module [Link]), 1165
mode ([Link] attribute), 815 mouse_double_click_time
mode ([Link] attribute), 820 ([Link] attribute),
mode ([Link] attribute), 823 989
mode_after ([Link] attribute), 390 mouse_event ([Link] attribute), 580
mode_before ([Link] attribute), 390 MouseSensor (class in [Link]), 580
mode_set() (in module [Link]), 77 MOUSEX (in module [Link]), 1181

1246 Index
Blender Index, Release 2.57.0 r36138 - API

MOUSEY (in module [Link]), 1181 mute ([Link] attribute), 323


move() (in module [Link]), 22 mute ([Link] attribute), 383
move() (in module [Link]), 35 mute ([Link] attribute), 389
move() (in module [Link]), 50 mute ([Link] attribute), 592
move() (in module [Link]), 112 mute ([Link] attribute), 595
move() (in module [Link].view3d), 133 mute ([Link] attribute), 764
move_down() (in module [Link]), 23 mute ([Link] attribute), 794
move_down() (in module [Link]), 65 mute() (in module [Link]), 104
move_select() (in module [Link]), 35 mute_toggle() (in module [Link]), 65
move_select() (in module [Link]), 112 mute_toggle() (in module [Link]), 68
move_to_layer() (in module [Link]), 78
move_up() (in module [Link]), 23 N
move_up() (in module [Link]), 65 nabla ([Link] attribute), 252
movie_strip ([Link] attribute), nabla ([Link] attribute), 351
926 nabla ([Link] attribute), 512
movie_strip_add() (in module [Link]), 104 nabla ([Link] attribute), 588
MovieSequence (class in [Link]), 581 nabla ([Link] attribute), 1007
MovieSequence.color_balance (in module [Link]), nabla ([Link] attribute), 1019
581 name ([Link].BL_ArmatureBone attribute), 1161
[Link] (in module [Link]), 581 name ([Link].BL_ArmatureChannel attribute), 1157
[Link] (in module [Link]), 581 name ([Link].BL_ArmatureConstraint attribute), 1156
[Link] (in module [Link]), 581 name ([Link] attribute), 1091
[Link] (in module [Link]), 581 name ([Link].KX_GameObject attribute), 1102
mpeg_preseek ([Link] attribute), 581 name ([Link].KX_Scene attribute), 1132
ms_diffusion ([Link] attribute), 539 name ([Link].SCA_ILogicBrick attribute), 1091
ms_intensity ([Link] attribute), 539 name ([Link] attribute), 151
ms_spread ([Link] attribute), 539 name ([Link] attribute), 154
multicam_source ([Link] at- name ([Link] attribute), 213
tribute), 584 name ([Link] attribute), 222
MulticamSequence (class in [Link]), 583 name ([Link] attribute), 224
MulticamSequence.color_balance (in module [Link]), name ([Link] attribute), 227
584 name ([Link] attribute), 323
[Link] (in module [Link]), 584 name ([Link] attribute), 331
[Link] (in module [Link]), 584 name ([Link] attribute), 359
[Link] (in module [Link]), 584 name ([Link] attribute), 364
multiply_speed ([Link] name ([Link] attribute), 425
attribute), 844 name ([Link] attribute), 442
multires_base_apply() (in module [Link]), 78 name ([Link] attribute), 466
multires_external_pack() (in module [Link]), 78 name ([Link] attribute), 481
multires_external_save() (in module [Link]), 78 name ([Link] attribute), 549
multires_higher_levels_delete() (in module name ([Link] attribute), 556
[Link]), 79 name ([Link] attribute), 558
multires_reshape() (in module [Link]), 79 name ([Link] attribute), 560
multires_subdivide() (in module [Link]), 79 name ([Link] attribute), 563
MultiresModifier (class in [Link]), 586 name ([Link] attribute), 576
MultiresModifier.is_external (in module [Link]), 586 name ([Link] attribute), 592
MultiresModifier.total_levels (in module [Link]), 587 name ([Link] attribute), 595
musgrave_type ([Link] attribute), name ([Link] attribute), 597
588 name ([Link] attribute), 601
MusgraveTexture (class in [Link]), 587 name ([Link] attribute), 630
MusgraveTexture.users_material (in module [Link]), name ([Link] attribute), 670
588 name ([Link] attribute), 680
MusgraveTexture.users_object_modifier (in module name ([Link] attribute), 692
[Link]), 588 name ([Link] attribute), 700

Index 1247
Blender Index, Release 2.57.0 r36138 - API

name ([Link] attribute), 750 new() ([Link] method), 596


name ([Link] attribute), 761 new() ([Link] method), 600
name ([Link] attribute), 764 new() ([Link] method), 620
name ([Link] attribute), 794 new() ([Link] method), 621
name ([Link] attribute), 900 new() ([Link] method), 695
name ([Link] attribute), 940 new() ([Link] method), 791
name ([Link] attribute), 952 new() ([Link] method), 897
name ([Link] attribute), 1002 new() ([Link] method), 941
NandController (class in [Link]), 589 new() ([Link] method), 979
narrowness ([Link] attribute), 1012 new() ([Link] method), 1001
ndof_pan_speed ([Link] at- new() ([Link] method), 1004
tribute), 989 new() (in module [Link]), 12
ndof_rotate_speed ([Link] at- new() (in module [Link]), 41
tribute), 989 new() (in module [Link]), 51
near ([Link].KX_Camera attribute), 1148 new() (in module [Link]), 91
NearSensor (class in [Link]), 590 new() (in module [Link]), 96
negate() ([Link] method), 1058 new() (in module [Link]), 97
new() ([Link] method), 150 new() (in module [Link]), 99
new() ([Link] method), 152 new() (in module [Link]), 113
new() ([Link] method), 153 new() (in module [Link]), 116
new() ([Link] class method), 157 new() (in module [Link]), 145
new() ([Link] method), 174 new_modal() ([Link] method), 474
new() ([Link] method), 186 new_target() (in module [Link]), 91
new() ([Link] method), 187 next() (in module [Link]), 32
new() ([Link] method), 188 next_edit() (in module [Link]), 105
new() ([Link] method), 189 next_marker() (in module [Link]), 113
new() ([Link] method), 190 NINEKEY (in module [Link]), 1182
new() ([Link] method), 193 NKEY (in module [Link]), 1182
new() ([Link] method), 194 NlaStrip (class in [Link]), 591
new() ([Link] method), 195 [Link] (in module [Link]), 591
new() ([Link] method), 196 [Link] (in module [Link]), 592
new() ([Link] method), 198 [Link] (in module [Link]), 592
new() ([Link] method), 199 [Link] (in module [Link]), 592
new() ([Link] method), 200 [Link] (in module [Link]), 592
new() ([Link] method), 201 NlaStrips (class in [Link]), 594
new() ([Link] method), 202 NlaTrack (class in [Link]), 595
new() ([Link] method), 203 [Link] (in module [Link]), 595
new() ([Link] method), 204 NlaTrack.is_solo (in module [Link]), 595
new() ([Link] method), 207 [Link] (in module [Link]), 595
new() ([Link] method), 208 NlaTracks (class in [Link]), 596
new() ([Link] method), 210 Node (class in [Link]), 597
new() ([Link] method), 243 [Link] (in module [Link]), 597
new() ([Link] method), 260 [Link] (in module [Link]), 597
new() ([Link] method), 320 node_backdrop ([Link] attribute),
new() ([Link] method), 345 921
new() ([Link] method), 387 node_output ([Link] at-
new() ([Link] method), 435 tribute), 311
new() ([Link] method), 437 node_output ([Link] attribute),
new() ([Link] method), 467 786
new() ([Link] method), 486 node_output ([Link] attribute),
new() ([Link] method), 473 893
new() ([Link] method), 476 node_tree ([Link] attribute), 598
new() ([Link] method), 570 NodeGroup (class in [Link]), 598
new() ([Link] method), 594 NodeLink (class in [Link]), 599

1248 Index
Blender Index, Release 2.57.0 r36138 - API

NodeLink.from_node (in module [Link]), 599 normal ([Link] attribute), 564


NodeLink.from_socket (in module [Link]), 599 normal ([Link] attribute), 903
NodeLink.to_node (in module [Link]), 599 normal ([Link].ThemeView3D attribute), 936
NodeLink.to_socket (in module [Link]), 599 normal() (in module [Link]), 1079
NodeLinks (class in [Link]), 600 normal_angle ([Link] attribute), 449
NodeSocket (class in [Link]), 601 normal_factor ([Link] attribute),
[Link] (in module [Link]), 601 533
NodeTree (class in [Link]), 602 normal_factor ([Link] attribute), 658
NodeTree.animation_data (in module [Link]), 602 normal_map_space ([Link] at-
[Link] (in module [Link]), 602 tribute), 533
[Link] (in module [Link]), 602 normal_size ([Link] attribute), 944
[Link] (in module [Link]), 602 normal_weight ([Link] attribute), 232
[Link] (in module [Link]), 602 normalize() ([Link] method), 1058
noise ([Link] attribute), 400 normalized() ([Link] method), 1058
noise() (in module [Link]), 55 normals_make_consistent() (in module [Link]), 55
noise_basis ([Link] attribute), 252 numAxis ([Link].SCA_JoystickSensor attribute), 1143
noise_basis ([Link] attribute), numButtons ([Link].SCA_JoystickSensor attribute),
351 1143
noise_basis ([Link] attribute), 512 numHats ([Link].SCA_JoystickSensor attribute), 1143
noise_basis ([Link] attribute), 588 numMaterials ([Link].KX_MeshProxy attribute), 1115
noise_basis ([Link] attribute), 683 numPolygons ([Link].KX_MeshProxy attribute), 1115
noise_basis ([Link] attribute), 860 nurb_sel_uline ([Link].ThemeView3D attribute), 936
noise_basis ([Link] attribute), 1019 nurb_sel_vline ([Link].ThemeView3D attribute), 936
noise_basis_2 ([Link] attribute), 512 nurb_uline ([Link].ThemeView3D attribute), 936
noise_basis_2 ([Link] attribute), 1020 nurb_vline ([Link].ThemeView3D attribute), 936
noise_depth ([Link] attribute), 253
noise_depth ([Link] attribute), 510 O
noise_depth ([Link] attribute), 512 obj() (in module [Link].export_scene), 30
noise_distortion ([Link] obj() (in module [Link].import_scene), 46
attribute), 351 object ([Link].KX_CameraActuator attribute), 1100
noise_intensity ([Link] attribute), object ([Link].KX_ParentActuator attribute), 1120
588 object ([Link].KX_SCA_AddObjectActuator at-
noise_intensity ([Link] attribute), tribute), 1129
1007 object ([Link].KX_TrackToActuator attribute), 1135
noise_scale ([Link] attribute), 253 object ([Link] attribute), 175
noise_scale ([Link] attribute), object ([Link] attribute), 215
351 object ([Link] attribute), 217
noise_scale ([Link] attribute), 512 object ([Link] attribute), 218
noise_scale ([Link] attribute), 588 object ([Link] attribute), 228
noise_scale ([Link] attribute), 860 object ([Link] attribute), 241
noise_scale ([Link] attribute), 1007 object ([Link] attribute), 242
noise_scale ([Link] attribute), 1020 object ([Link] attribute), 344
noise_type ([Link] attribute), 253 object ([Link] attribute), 367
noise_type ([Link] attribute), 513 object ([Link] attribute), 441
noise_type ([Link] attribute), object ([Link] attribute), 494
803 object ([Link] attribute), 498
noise_type ([Link] attribute), 860 object ([Link] attribute), 534
noise_type ([Link] attribute), 1020 object ([Link] attribute), 550
NoiseTexture (class in [Link]), 603 object ([Link] attribute), 640
NoiseTexture.users_material (in module [Link]), 603 object ([Link] attribute), 649
NoiseTexture.users_object_modifier (in module object ([Link] attribute),
[Link]), 603 665
NorController (class in [Link]), 605 object ([Link] attribute), 675
normal ([Link].KX_VertexProxy attribute), 1138 object ([Link] attribute), 683

Index 1249
Blender Index, Release 2.57.0 r36138 - API

object ([Link] attribute), 698 ObjectModifiers (class in [Link]), 621


object ([Link] attribute), 759 objects ([Link].KX_Scene attribute), 1132
object ([Link] attribute), 979 objects_add_active() (in module [Link]), 41
object ([Link] attribute), 1028 objects_remove() (in module [Link]), 41
Object (class in [Link]), 605 objects_remove_active() (in module [Link]), 41
object (in module [Link]), 6, 7 objectsInactive ([Link].KX_Scene attribute), 1132
Object.active_shape_key (in module [Link]), 605 ObstacleFluidSettings (class in [Link]), 622
Object.animation_data (in module [Link]), 606 occlusion ([Link].KX_GameObject attribute), 1103
Object.animation_visualisation (in module [Link]), occlusion_culling_resolution ([Link]
606 attribute), 745
Object.bound_box (in module [Link]), 606 octaves ([Link] attribute), 588
[Link] (in module [Link]), 612 octree_resolution ([Link] attribute),
[Link] (in module [Link]), 606 727
[Link] (in module [Link]), 606 offset ([Link] at-
Object.dupli_list (in module [Link]), 607 tribute), 271
[Link] (in module [Link]), 607 offset ([Link] attribute),
[Link] (in module [Link]), 608 297
Object.is_duplicator (in module [Link]), 608 offset ([Link] attribute),
Object.material_slots (in module [Link]), 609 314
[Link] (in module [Link]), 609 offset ([Link] attribute), 338
[Link] (in module [Link]), 609 offset ([Link] attribute), 408
Object.motion_path (in module [Link]), 609 offset ([Link] attribute), 412
Object.parent_vertices (in module [Link]), 609 offset ([Link] attribute), 588
Object.particle_systems (in module [Link]), 609 offset ([Link] attribute), 676
[Link] (in module [Link]), 610 offset ([Link] attribute), 798
[Link] (in module [Link]), 610 offset ([Link] attribute), 813
Object.proxy_group (in module [Link]), 610 offset ([Link] attribute), 880
Object.soft_body (in module [Link]), 611 offset ([Link] attribute), 899
[Link] (in module [Link]), 611 offset_factor ([Link] attribute),
Object.users_group (in module [Link]), 612 412
Object.users_scene (in module [Link]), 612 offset_frequency ([Link] at-
Object.vertex_groups (in module [Link]), 612 tribute), 880
object_active ([Link].ThemeView3D attribute), 936 offset_location ([Link] attribute), 617
object_align ([Link] attribute), offset_object ([Link] attribute), 178
984 offset_rotation ([Link] attribute), 617
object_align_factor ([Link] attribute), offset_x ([Link] attribute), 179
658 offset_x ([Link] attribute), 771
object_as_camera() (in module [Link].view3d), 133 offset_x ([Link] attribute), 833
object_factor ([Link] attribute), 658 offset_x ([Link] attribute), 872
object_grouped ([Link].ThemeView3D attribute), 936 offset_y ([Link] attribute), 179
object_grouped_active ([Link].ThemeView3D at- offset_y ([Link] attribute), 771
tribute), 936 offset_y ([Link] attribute), 833
object_operation() (in module [Link]), 86 offset_y ([Link] attribute), 873
object_origin_size ([Link] at- offset_z ([Link] attribute), 517
tribute), 995 OKEY (in module [Link]), 1182
object_property ([Link] attribute), ONEKEY (in module [Link]), 1182
698 opacity ([Link] attribute), 179
object_selected ([Link].ThemeView3D attribute), 936 open() (in module [Link]), 35
ObjectActuator (class in [Link]), 616 open() (in module [Link]), 42
ObjectBase (class in [Link]), 619 open() (in module [Link]), 108
[Link] (in module [Link]), 619 open() (in module [Link]), 113
ObjectConstraints (class in [Link]), 620 open_left_mouse_delay ([Link]
objectLastCreated ([Link].KX_SCA_AddObjectActuator attribute), 995
attribute), 1129 open_mainfile() (in module [Link]), 141

1250 Index
Blender Index, Release 2.57.0 r36138 - API

open_right_mouse_delay ortho_scale ([Link].KX_Camera attribute), 1148


([Link] attribute), ortho_scale ([Link] attribute), 239
995 OrthoProjection() ([Link] class method), 1049
open_sublevel_delay ([Link] at- oskey ([Link] attribute), 471
tribute), 995 OutflowFluidSettings (class in [Link]), 634
open_toplevel_delay ([Link] at- outline ([Link] attribute), 938
tribute), 995 outline_width ([Link].ThemeView3D attribute), 936
opengl() (in module [Link]), 97 output_node ([Link] attribute), 899
operation ([Link].KX_StateActuator attribute), 1135 overlay_frame ([Link] attribute), 768
operation ([Link] attribute), 229 overlay_lock ([Link] attribute), 768
operation ([Link] attribute), overwrite_toggle() (in module [Link]), 113
298 owner ([Link].SCA_ILogicBrick attribute), 1091
operation ([Link] attribute), 780 owner ([Link] attribute), 1048
operation ([Link] attribute), owner ([Link] attribute), 1049
790 owner ([Link] attribute), 1053
operation ([Link] attribute), 855 owner ([Link] attribute), 1055
operation ([Link] attribute), 888 owner ([Link] attribute), 1060
operation() (in module [Link]), 86 owner_space ([Link] attribute), 323
Operator (class in [Link]), 627
operator() ([Link] method), 964 P
Operator.has_reports (in module [Link]), 628 pack() (in module [Link]), 42
[Link] (in module [Link]), 628 pack() (in module [Link]), 109
[Link] (in module [Link]), 628 pack_all() (in module [Link]), 32
[Link] (in module [Link]), 628 pack_islands() (in module [Link]), 127
operator_cheat_sheet() (in module [Link]), 41 PackedFile (class in [Link]), 635
operator_context ([Link] attribute), 955 [Link] (in module [Link]), 635
operator_enum() ([Link] method), 966 PAD0 (in module [Link]), 1183
operator_menu_enum() ([Link] method), PAD1 (in module [Link]), 1183
967 PAD2 (in module [Link]), 1183
operator_node ([Link] attribute), PAD3 (in module [Link]), 1183
921 PAD4 (in module [Link]), 1183
operator_preset_add() (in module [Link]), 142 PAD5 (in module [Link]), 1183
OperatorFileListElement (class in [Link]), 630 PAD6 (in module [Link]), 1183
OperatorMousePath (class in [Link]), 630 PAD7 (in module [Link]), 1183
OperatorProperties (class in [Link]), 631 PAD8 (in module [Link]), 1183
OperatorStrokeElement (class in [Link]), 632 PAD9 (in module [Link]), 1183
OperatorTypeMacro (class in [Link]), 633 PADASTERKEY (in module [Link]), 1183
[Link] (in module [Link]), PADENTER (in module [Link]), 1183
633 PADMINUS (in module [Link]), 1183
option ([Link].KX_ConstraintActuator attribute), PADPERIOD (in module [Link]), 1183
1101 PADPLUSKEY (in module [Link]), 1183
OrController (class in [Link]), 634 PADSLASHKEY (in module [Link]), 1183
order ([Link] attribute), 1049 PAGEDOWNKEY (in module [Link]), 1184
order_u ([Link] attribute), 846 PAGEUPKEY (in module [Link]), 1184
order_v ([Link] attribute), 846 Paint (class in [Link]), 636
orient_weight ([Link] attribute), pan() (in module [Link].view2d), 130
489 panel ([Link] attribute), 913
orientation ([Link] attribute), 1089 panel ([Link] attribute), 917
orientation ([Link].KX_GameObject attribute), 1103 panel ([Link] attribute), 924
orientation ([Link].KX_SoundActuator attribute), panel ([Link].ThemeView3D attribute), 936
1135 Panel (class in [Link]), 639
origin ([Link] attribute), 800 [Link] (in module [Link]), 639
origin_clear() (in module [Link]), 79 panelzoom ([Link] attribute), 927
origin_set() (in module [Link]), 79 para1 ([Link].SCA_RandomActuator attribute), 1146

Index 1251
Blender Index, Release 2.57.0 r36138 - API

para2 ([Link].SCA_RandomActuator attribute), 1146 [Link] (in module [Link]), 646


parent ([Link].BL_ArmatureBone attribute), 1163 ParticleFluidSettings (class in [Link]), 647
parent ([Link].BL_ArmatureChannel attribute), 1157 ParticleHairKey (class in [Link]), 648
parent ([Link].KX_GameObject attribute), 1103 ParticleInstanceModifier (class in [Link]), 649
parent ([Link] attribute), 364 ParticleKey (class in [Link]), 651
parent ([Link] attribute), 609 ParticleSettings (class in [Link]), 652
parent ([Link] attribute), 670 ParticleSettings.active_dupliweight (in module
parent() (in module [Link]), 33 [Link]), 652
parent_bone ([Link] attribute), 609 ParticleSettings.animation_data (in module [Link]),
parent_clear() (in module [Link]), 18 653
parent_clear() (in module [Link]), 79 [Link] (in module [Link]), 653
parent_index() ([Link] method), 226 ParticleSettings.dupli_weights (in module [Link]), 656
parent_index() ([Link] method), 365 ParticleSettings.effector_weights (in module [Link]),
parent_index() ([Link] method), 694 656
parent_no_inverse_set() (in module [Link]), 79 [Link] (in module [Link]), 656
parent_set() (in module [Link]), 18 ParticleSettings.force_field_1 (in module [Link]), 656
parent_set() (in module [Link]), 79 ParticleSettings.force_field_2 (in module [Link]), 656
parent_type ([Link] attribute), 609 ParticleSettings.is_fluid (in module [Link]), 657
ParentActuator (class in [Link]), 640 ParticleSettings.texture_slots (in module [Link]), 661
partial_slip_factor ([Link] at- ParticleSettingsTextureSlot (class in [Link]), 664
tribute), 353 ParticleSettingsTextureSlots (class in [Link]), 668
partial_slip_factor ([Link] at- ParticleSystem (class in [Link]), 669
tribute), 622 ParticleSystem.active_particle_target (in module
Particle (class in [Link]), 641 [Link]), 669
Particle.hair_keys (in module [Link]), 642 ParticleSystem.child_particles (in module [Link]), 669
Particle.is_exist (in module [Link]), 642 [Link] (in module [Link]), 669
Particle.is_visible (in module [Link]), 642 ParticleSystem.has_multiple_caches (in module
Particle.particle_keys (in module [Link]), 642 [Link]), 669
particle_cache_space ([Link] attribute), ParticleSystem.is_editable (in module [Link]), 670
683 ParticleSystem.is_edited (in module [Link]), 670
particle_edit_object (in module [Link]), 6 ParticleSystem.is_global_hair (in module [Link]), 670
particle_edit_toggle() (in module [Link]), 91 [Link] (in module [Link]), 670
particle_factor ([Link] attribute), 659 ParticleSystem.point_cache (in module [Link]), 671
particle_influence ([Link] [Link] (in module [Link]), 671
attribute), 647 ParticleSystemModifier (class in [Link]), 673
particle_size ([Link] attribute), 659 ParticleSystemModifier.particle_system (in module
particle_system ([Link] attribute), 683 [Link]), 673
particle_system ([Link] attribute), ParticleSystems (class in [Link]), 674
804 [Link] (in module [Link]), 674
particle_system (in module [Link]), 8 ParticleTarget (class in [Link]), 674
particle_system_add() (in module [Link]), 79 [Link] (in module [Link]), 675
particle_system_editable (in module [Link]), 8 parts_x ([Link] attribute), 727
particle_system_index ([Link] parts_y ([Link] attribute), 727
attribute), 649 pass_index ([Link] attribute), 610
particle_system_remove() (in module [Link]), 79 passepartout_alpha ([Link] attribute), 239
particle_uv ([Link] attribute), 380 passes ([Link] attribute), 1024
ParticleBrush (class in [Link]), 643 passNumber ([Link].SCA_2DFilterActuator at-
[Link] (in module [Link]), 643 tribute), 1141
ParticleDupliWeight (class in [Link]), 644 paste() (in module [Link]), 12
[Link] (in module [Link]), 644 paste() (in module [Link]), 22
ParticleEdit (class in [Link]), 645 paste() (in module [Link]), 38
[Link] (in module [Link]), 645 paste() (in module [Link]), 51
ParticleEdit.is_editable (in module [Link]), 646 paste() (in module [Link]), 93
ParticleEdit.is_hair (in module [Link]), 646 paste() (in module [Link]), 105

1252 Index
Blender Index, Release 2.57.0 r36138 - API

paste() (in module [Link]), 113 pivot_x ([Link] attribute),


paste_driver_button() (in module [Link]), 16 735
path_duration ([Link] attribute), 338 pivot_y ([Link] attribute),
path_end ([Link] attribute), 659 735
path_from_id() ([Link].bpy_struct method), 1036 pivot_z ([Link] attribute),
path_menu() ([Link] method), 542 735
path_open() (in module [Link]), 142 PivotConstraint (class in [Link]), 676
path_resolve() ([Link].bpy_struct method), 1037 pixel_aspect_x ([Link] attribute), 728
path_start ([Link] attribute), 659 pixel_aspect_y ([Link] attribute), 728
paths_calculate() (in module [Link]), 79 pixel_filter_type ([Link] attribute),
paths_calculate() (in module [Link]), 94 728
paths_clear() (in module [Link]), 80 pixels ([Link] attribute), 446
paths_clear() (in module [Link]), 94 PKEY (in module [Link]), 1182
PAUSEKEY (in module [Link]), 1184 plane_offset ([Link] attribute), 232
pen_flip ([Link] attribute), plane_trim ([Link] attribute), 232
632 plastic ([Link] attribute), 810
PERIODKEY (in module [Link]), 1184 plasticity ([Link] attribute), 737
permeability ([Link] attribute), 257 play_mode ([Link] attribute), 147
perspective ([Link].KX_Camera attribute), 1149 play_rendered_anim() (in module [Link]), 97
phase ([Link] attribute), 396 play_type ([Link] attribute), 385
phase_factor ([Link] attribute), 659 plugin_strip ([Link] attribute),
phase_factor_random ([Link] at- 926
tribute), 659 PluginSequence (class in [Link]), 677
phase_multiplier ([Link] [Link] (in module [Link]), 677
attribute), 393 PluginTexture (class in [Link]), 678
phase_offset ([Link] at- PluginTexture.users_material (in module [Link]), 678
tribute), 393 PluginTexture.users_object_modifier (in module
physics_engine ([Link] attribute), [Link]), 678
746 ply() (in module [Link].export_mesh), 28
physics_gravity ([Link] attribute), ply() (in module [Link].import_mesh), 46
746 point_cache_compress_type
physics_step_max ([Link] attribute), ([Link] attribute),
746 803
physics_step_sub ([Link] attribute), point_source ([Link] attribute), 683
746 PointCache (class in [Link]), 680
physics_type ([Link] attribute), PointCache.frames_skipped (in module [Link]), 680
423 [Link] (in module [Link]), 680
physics_type ([Link] attribute), 659 PointCache.is_baked (in module [Link]), 680
pid ([Link].KX_ObjectActuator attribute), 1120 PointCache.is_baking (in module [Link]), 680
pin ([Link] attribute), 154 PointCache.is_outdated (in module [Link]), 680
pin ([Link] attribute), 762 PointCache.point_caches (in module [Link]), 680
pin() (in module [Link]), 127 PointCaches (class in [Link]), 681
pin_id ([Link] attribute), 832 PointDensity (class in [Link]), 682
pin_stiffness ([Link] attribute), 251 PointDensity.color_ramp (in module [Link]), 682
pin_uv ([Link] attribute), 561 PointDensityTexture (class in [Link]), 684
pitch ([Link] attribute), 1089 PointDensityTexture.point_density (in module
pitch ([Link].KX_SoundActuator attribute), 1134 [Link]), 684
pitch ([Link] attribute), 220 PointDensityTexture.users_material (in module
pitch ([Link] attribute), 816 [Link]), 684
pivot_point ([Link] attribute), 823 PointDensityTexture.users_object_modifier (in module
pivot_point ([Link] attribute), 838 [Link]), 684
pivot_point ([Link].SpaceView3D attribute), 841 PointerProperty (class in [Link]), 688
pivot_type ([Link] at- PointerProperty() (in module [Link]), 1045
tribute), 735 PointerProperty.fixed_type (in module [Link]), 688

Index 1253
Blender Index, Release 2.57.0 r36138 - API

pointInsideFrustum() ([Link].KX_Camera method), PoseBone.parent_recursive (in module [Link]), 694


1150 [Link] (in module [Link]), 693
PointLamp (class in [Link]), 686 [Link] (in module [Link]), 694
PointLamp.falloff_curve (in module [Link]), 686 PoseBone.x_axis (in module [Link]), 694
points ([Link] attribute), 910 PoseBone.y_axis (in module [Link]), 694
points_u ([Link] attribute), 497 PoseBone.z_axis (in module [Link]), 694
points_v ([Link] attribute), 497 PoseBoneConstraints (class in [Link]), 695
points_w ([Link] attribute), 497 posemode_toggle() (in module [Link]), 80
pole_angle ([Link] attribute), position ([Link] attribute), 1089
489 position ([Link].KX_GameObject attribute), 1103
pole_subtarget ([Link] attribute), position ([Link].KX_SoundActuator attribute), 1134
489 position ([Link].SCA_MouseSensor attribute), 1116
pole_target ([Link] attribute), position ([Link].SCA_PythonMouse attribute), 1092
489 position ([Link] attribute), 260
poll() ([Link] method), 483 position ([Link] attribute),
poll() ([Link] class method), 509 649
poll() ([Link] class method), 542 position() (in module blf), 1080
poll() ([Link] class method), 628 positive ([Link].SCA_ISensor attribute), 1093
poll() ([Link] class method), 639 post_draw ([Link].KX_Scene attribute), 1133
poly_order ([Link] attribute), 394 power ([Link] at-
pop() ([Link] method), 443 tribute), 271
Pose (class in [Link]), 689 pre_draw ([Link].KX_Scene attribute), 1133
Pose.animation_visualisation (in module [Link]), 689 pre_roll ([Link] attribute), 251
Pose.bone_groups (in module [Link]), 689 precision ([Link] attribute), 462
[Link] (in module [Link]), 689 precision ([Link] attribute), 550
Pose.ik_param (in module [Link]), 689 prefetch_frames ([Link] at-
pose_add() (in module [Link]), 96 tribute), 992
pose_bone (in module [Link]), 8 premul ([Link] attribute),
pose_head ([Link].BL_ArmatureChannel attribute), 264
1160 prepend() ([Link] class method), 438
pose_library ([Link] attribute), 610 prepend() ([Link] class method),
pose_matrix ([Link].BL_ArmatureChannel attribute), 459
1160 prepend() ([Link] class method), 542
pose_position ([Link] attribute), 170 prepend() ([Link] class method), 640
pose_remove() (in module [Link]), 96 preset_add() (in module [Link]), 21
pose_rename() (in module [Link]), 96 preset_add() (in module [Link]), 97
pose_tail ([Link].BL_ArmatureChannel attribute), preset_find() (in module [Link]), 1038
1160 preset_paths() (in module [Link]), 1038
PoseBone (class in [Link]), 690 pressure ([Link] attribute), 418
[Link] (in module [Link]), 693 pressure ([Link] attribute),
[Link] (in module [Link]), 690 632
[Link] (in module [Link]), 693 prev_angular_velocity ([Link] attribute), 642
[Link] (in module [Link]), 690 prev_location ([Link] attribute), 642
[Link] (in module [Link]), 693 prev_rotation ([Link] attribute), 642
PoseBone.children_recursive (in module [Link]), 693 prev_velocity ([Link] attribute), 642
PoseBone.children_recursive_basename (in module preview_render_type ([Link] attribute), 517
[Link]), 693 preview_resolution ([Link] at-
[Link] (in module [Link]), 690 tribute), 353
[Link] (in module [Link]), 690 preview_toggle() (in module [Link]), 68
PoseBone.is_in_ik_chain (in module [Link]), 691 previewrange_clear() (in module [Link]), 16
[Link] (in module [Link]), 692 previewrange_set() (in module [Link]), 12
PoseBone.matrix_channel (in module [Link]), 692 previewrange_set() (in module [Link]), 16
PoseBone.motion_path (in module [Link]), 692 previewrange_set() (in module [Link]), 39
[Link] (in module [Link]), 692 previous() (in module [Link]), 33

1254 Index
Blender Index, Release 2.57.0 r36138 - API

previous_edit() (in module [Link]), 105 propagate() (in module [Link]), 94


previous_marker() (in module [Link]), 113 properties() (in module [Link]), 39
primitive_bezier_circle_add() (in module [Link]), properties() (in module [Link]), 42
24 properties() (in module [Link]), 49
primitive_bezier_curve_add() (in module [Link]), properties() (in module [Link]), 65
24 properties() (in module [Link]), 68
primitive_circle_add() (in module [Link]), 55 properties() (in module [Link]), 105
primitive_cone_add() (in module [Link]), 56 properties() (in module [Link]), 113
primitive_cube_add() (in module [Link]), 56 properties() (in module [Link].view3d), 133
primitive_cylinder_add() (in module [Link]), 57 properties_add() (in module [Link]), 142
primitive_grid_add() (in module [Link]), 57 properties_edit() (in module [Link]), 142
primitive_ico_sphere_add() (in module [Link]), 58 properties_remove() (in module [Link]), 143
primitive_monkey_add() (in module [Link]), 58 property ([Link] attribute), 148
primitive_nurbs_circle_add() (in module [Link]), property ([Link] attribute), 256
25 property ([Link] attribute), 325
primitive_nurbs_curve_add() (in module [Link]), property ([Link] attribute), 385
25 property ([Link] attribute), 590
primitive_nurbs_path_add() (in module [Link]), property ([Link] attribute), 698
26 property ([Link] attribute), 702
primitive_nurbs_surface_circle_add() (in module property ([Link] attribute), 706
[Link]), 109 property ([Link] attribute), 708
primitive_nurbs_surface_curve_add() (in module property ([Link] attribute), 710
[Link]), 109 property ([Link] attribute), 793
primitive_nurbs_surface_cylinder_add() (in module Property (class in [Link]), 696
[Link]), 110 [Link] (in module [Link]), 696
primitive_nurbs_surface_sphere_add() (in module [Link] (in module [Link]), 696
[Link]), 110 Property.is_enum_flag (in module [Link]), 696
primitive_nurbs_surface_surface_add() (in module Property.is_hidden (in module [Link]), 696
[Link]), 111 Property.is_never_none (in module [Link]), 696
primitive_nurbs_surface_torus_add() (in module Property.is_output (in module [Link]), 696
[Link]), 111 Property.is_readonly (in module [Link]), 696
primitive_plane_add() (in module [Link]), 58 Property.is_registered (in module [Link]), 696
primitive_torus_add() (in module [Link]), 59 Property.is_registered_optional (in module [Link]),
primitive_uv_sphere_add() (in module [Link]), 59 697
PrintGLInfo() (in module [Link]), 1168 Property.is_required (in module [Link]), 697
priority ([Link].BL_ActionActuator attribute), 1094 Property.is_runtime (in module [Link]), 697
priority ([Link].BL_ShapeActionActuator attribute), [Link] (in module [Link]), 697
1098 [Link] (in module [Link]), 697
priority ([Link] attribute), 147 [Link] (in module [Link]), 697
priority ([Link] attribute), 792 [Link] (in module [Link]), 697
progression ([Link] attribute), 211 [Link] (in module [Link]), 697
project_apply() (in module [Link]), 42 PropertyActuator (class in [Link]), 698
project_edit() (in module [Link]), 42 PropertyGroup (class in [Link]), 700
project_from_view() (in module [Link]), 127 PropertyGroupItem (class in [Link]), 700
project_image() (in module [Link]), 88 [Link] (in module [Link]), 700
projection_matrix ([Link].KX_Camera attribute), [Link] (in module [Link]), 701
1149 PropertyGroupItem.idp_array (in module [Link]), 701
projector_count ([Link] attribute), PropertySensor (class in [Link]), 702
977 propName ([Link].BL_ActionActuator attribute),
prompt ([Link] attribute), 819 1094
prop() ([Link] method), 956 propName ([Link].BL_ShapeActionActuator at-
prop_enum() ([Link] method), 960 tribute), 1098
prop_menu_enum() ([Link] method), 958 propName ([Link].KX_ConstraintActuator attribute),
prop_search() ([Link] method), 962 1101

Index 1255
Blender Index, Release 2.57.0 r36138 - API

propName ([Link].KX_IpoActuator attribute), 1112 [Link]() (in module mathutils), 1053


propName ([Link].KX_NetworkMessageActuator at- [Link]() (in module mathutils), 1053
tribute), 1118 [Link]() (in module mathutils), 1054
propName ([Link].KX_RaySensor attribute), 1128 [Link]() (in module mathutils), 1054
propName ([Link].KX_TouchSensor attribute), 1117 [Link]() (in module mathutils), 1054
propName ([Link].SCA_PropertyActuator attribute), [Link]() (in module mathutils), 1054
1145 [Link]() (in module mathutils), 1054
propName ([Link].SCA_PropertySensor attribute), [Link]() (in module mathutils), 1054
1145 [Link]() (in module mathutils), 1054
propName ([Link].SCA_RandomActuator attribute), [Link]() (in module mathutils), 1055
1146 quaternions_flip() (in module [Link]), 94
proportional_coefficient ([Link] at- queue_count ([Link] at-
tribute), 617 tribute), 217
proportional_edit ([Link] attribute), 944 quit_blender() (in module [Link]), 143
proportional_edit_falloff ([Link] at- QUOTEKEY (in module [Link]), 1184
tribute), 944
proportional_size ([Link] attribute), 944 R
props_enum() ([Link] method), 958 r ([Link].KX_VertexProxy attribute), 1139
propvalue ([Link] attribute), 471 r ([Link] attribute), 1048
protect ([Link] attribute), 380 RadarSensor (class in [Link]), 706
proxy_make() (in module [Link]), 80 radial_control() (in module [Link]), 101
proxy_render_size ([Link] at- radial_falloff ([Link] attribute), 401
tribute), 833 radial_max ([Link] attribute), 401
puff_mode ([Link] attribute), 643 radial_min ([Link] attribute), 401
pull ([Link] attribute), 810 radial_symmetry ([Link] attribute), 760
push ([Link] attribute), 810 radius ([Link] attribute), 182
push() (in module [Link]), 94 radius ([Link] attribute), 242
push_pull() (in module [Link]), 117 radius ([Link] attribute), 423
PyObjectPlus (class in [Link]), 1091 radius ([Link] attribute),
python_file_run() (in module [Link]), 100 531
PythonConstraint (class in [Link]), 703 radius ([Link] attribute), 571
PythonConstraint.has_script_error (in module [Link]), radius ([Link] attribute), 683
703 radius ([Link] attribute), 850
[Link] (in module [Link]), 703 radius_interpolation ([Link] attribute), 846
PythonController (class in [Link]), 704 radius_set() (in module [Link]), 26
random_position ([Link] at-
Q tribute), 650
QKEY (in module [Link]), 1182 RandomActuator (class in [Link]), 707
quad_attenuation ([Link].KX_LightObject attribute), randomize_transform() (in module [Link]), 80
1114 RandomSensor (class in [Link]), 709
quadratic_attenuation ([Link] attribute), range ([Link].KX_RaySensor attribute), 1128
686 range ([Link] attribute), 220
quadratic_attenuation ([Link] attribute), range ([Link] attribute), 326
852 range ([Link] attribute), 710
quadratic_drag ([Link] attribute), 401 range() ([Link] method), 383
quads_convert_to_tris() (in module [Link]), 60 RAS_2DFILTER_BLUR (in module [Link]), 1175
quality ([Link] attribute), 251 RAS_2DFILTER_CUSTOMFILTER (in module
quality ([Link] attribute), 288 [Link]), 1175
quality ([Link] attribute), RAS_2DFILTER_DILATION (in module [Link]),
302 1175
quality ([Link] attribute), 330 RAS_2DFILTER_DISABLED (in module [Link]),
quality ([Link] attribute), 430 1175
Quaternion (class in mathutils), 1053 RAS_2DFILTER_ENABLED (in module [Link]),
[Link]() (in module mathutils), 1053 1175

1256 Index
Blender Index, Release 2.57.0 r36138 - API

RAS_2DFILTER_EROSION (in module [Link]), 1175 rect ([Link] attribute), 717


RAS_2DFILTER_GRAYSCALE (in module [Link]), rect ([Link] attribute), 721
1175 redo() (in module [Link]), 28
RAS_2DFILTER_INVERT (in module [Link]), 1175 redo_last() (in module [Link]), 99
RAS_2DFILTER_LAPLACIAN (in module [Link]), redraw_timer() (in module [Link]), 144
1175 reference ([Link].KX_ObjectActuator attribute), 1120
RAS_2DFILTER_MOTIONBLUR (in module reference_axis ([Link] attribute),
[Link]), 1175 489
RAS_2DFILTER_NOFILTER (in module [Link]), reference_object ([Link] attribute),
1175 617
RAS_2DFILTER_PREWITT (in module [Link]), 1175 reference_value ([Link] attribute),
RAS_2DFILTER_SEPIA (in module [Link]), 1176 391
RAS_2DFILTER_SHARPEN (in module [Link]), reflect() ([Link] method), 1058
1176 reflect_factor ([Link] at-
RAS_2DFILTER_SOBEL (in module [Link]), 1176 tribute), 526
rate ([Link] attribute), 1083 reflection ([Link] attribute), 539
rate ([Link] attribute), 232 reflection_color ([Link] attribute),
ratio ([Link] attribute), 539
273 reflection_color_factor ([Link] at-
ratio ([Link] attribute), 347 tribute), 534
ray_cast() ([Link] method), 613 reflection_factor ([Link] at-
ray_type ([Link] attribute), 710 tribute), 534
rayCast() ([Link].KX_GameObject method), 1110 refresh() (in module [Link]), 33
rayCastTo() ([Link].KX_GameObject method), 1110 refresh_all() (in module [Link]), 105
rayDirection ([Link].KX_MouseFocusSensor at- refresh_pyconstraints() (in module [Link]), 113
tribute), 1117 Region (class in [Link]), 711
rayDirection ([Link].KX_RaySensor attribute), 1129 [Link] (in module [Link]), 711
rayLength ([Link].KX_ConstraintActuator attribute), [Link] (in module [Link]), 711
1101 [Link] (in module [Link]), 711
raymir_factor ([Link] attribute), [Link] (in module [Link]), 711
534 region_flip() (in module [Link]), 99
RaySensor (class in [Link]), 710 region_quadview() (in module [Link]), 99
raySource ([Link].KX_MouseFocusSensor attribute), region_scale() (in module [Link]), 99
1116 region_to_loop() (in module [Link]), 60
rayTarget ([Link].KX_MouseFocusSensor attribute), RegionView3D (class in [Link]), 712
1117 RegionView3D.perspective_matrix (in module
raytrace_method ([Link] attribute), [Link]), 712
728 RegionView3D.view_matrix (in module [Link]), 712
react_event ([Link] attribute), 659 register_class() (in module [Link]), 1038
reactor_factor ([Link] attribute), 659 register_module() (in module [Link]), 1038
reactor_target_object ([Link] at- regrow_hair ([Link] attribute), 659
tribute), 671 reinstancePhysicsMesh() ([Link].KX_GameObject
reactor_target_particle_system ([Link] method), 1112
attribute), 671 reiteration_method ([Link] attribute), 462
read_factory_settings() (in module [Link]), 143 rekey() (in module [Link]), 91
read_fullsamplelayers() (in module [Link]), 68 rel_max_x ([Link] attribute),
read_homefile() (in module [Link]), 143 277
read_renderlayers() (in module [Link]), 68 rel_max_y ([Link] attribute),
reassign_inputs() (in module [Link]), 105 277
recent_files ([Link] at- rel_min_x ([Link] attribute),
tribute), 987 278
record_composite() (in module [Link]), 42 rel_min_y ([Link] attribute),
recover_auto_save() (in module [Link]), 143 278
recover_last_session() (in module [Link]), 143 relative ([Link] attribute), 1089

Index 1257
Blender Index, Release 2.57.0 r36138 - API

relative ([Link] attribute), 278 remove() ([Link] method), 600


relative_key ([Link] attribute), 794 remove() ([Link] method), 620
relative_offset_displace ([Link] at- remove() ([Link] method), 621
tribute), 178 remove() ([Link] class method), 640
relax() (in module [Link]), 94 remove() ([Link] method), 695
reload() ([Link] method), 448 remove() ([Link] method), 791
reload() (in module [Link]), 42 remove() ([Link] method), 897
reload() (in module [Link]), 101 remove() ([Link] method), 941
reload() (in module [Link]), 105 remove() ([Link] method), 1002
reload() (in module [Link]), 113 remove() ([Link] method), 1004
relpath() (in module [Link]), 1039 remove() (in module [Link]), 96
remove() ([Link] method), 150 remove_doubles() (in module [Link]), 60
remove() ([Link] method), 152 remove_doubles() (in module [Link]), 91
remove() ([Link] method), 153 removeParent() ([Link].KX_GameObject method),
remove() ([Link] class method), 157 1109
remove() ([Link] method), 174 RemoveProperty() (in module [Link]), 1045
remove() ([Link] method), 186 rename() (in module [Link]), 33
remove() ([Link] method), 187 rename() (in module [Link]), 50
remove() ([Link] method), 188 render() ([Link] method), 715
remove() ([Link] method), 189 render() (in module [Link]), 97
remove() ([Link] method), 190 render_border() (in module [Link].view3d), 133
remove() ([Link] method), 191 render_changed() (in module [Link]), 68
remove() ([Link] method), 193 render_display_mode ([Link]
remove() ([Link] method), 194 attribute), 353
remove() ([Link] method), 195 render_layer_add() (in module [Link]), 97
remove() ([Link] method), 196 render_layer_remove() (in module [Link]), 97
remove() ([Link] method), 198 render_levels ([Link] attribute), 586
remove() ([Link] method), 199 render_levels ([Link] attribute), 862
remove() ([Link] method), 200 render_output_directory ([Link]
remove() ([Link] method), 201 attribute), 987
remove() ([Link] method), 202 render_resolution ([Link] attribute), 568
remove() ([Link] method), 203 render_resolution_u ([Link] attribute), 338
remove() ([Link] method), 204 render_resolution_v ([Link] attribute), 338
remove() ([Link] method), 207 render_step ([Link] attribute), 659
remove() ([Link] method), 208 render_steps ([Link] attribute), 759
remove() ([Link] method), 210 render_type ([Link] attribute), 659
remove() ([Link] method), renderability_toggle() (in module [Link]), 86
243 rendered_child_count ([Link] at-
remove() ([Link] method), 261 tribute), 659
remove() ([Link] method), 321 RenderEngine (class in [Link]), 714
remove() ([Link] method), 345 RenderLayer (class in [Link]), 716
remove() ([Link] method), RenderLayer.exclude_ambient_occlusion (in module
386 [Link]), 716
remove() ([Link] method), 387 RenderLayer.exclude_emit (in module [Link]), 716
remove() ([Link] class method), 438 RenderLayer.exclude_environment (in module
remove() ([Link] class method), [Link]), 716
459 RenderLayer.exclude_indirect (in module [Link]), 716
remove() ([Link] method), 467 RenderLayer.exclude_reflection (in module [Link]),
remove() ([Link] method), 485 716
remove() ([Link] method), 475 RenderLayer.exclude_refraction (in module [Link]),
remove() ([Link] class method), 542 716
remove() ([Link] method), 570 RenderLayer.exclude_shadow (in module [Link]), 717
remove() ([Link] method), 594 RenderLayer.exclude_specular (in module [Link]),
remove() ([Link] method), 596 717

1258 Index
Blender Index, Release 2.57.0 r36138 - API

RenderLayer.invert_zmask (in module [Link]), 717 RenderResult.resolution_y (in module [Link]), 722
[Link] (in module [Link]), 717 RenderSettings (class in [Link]), 723
RenderLayer.layers_zmask (in module [Link]), 717 RenderSettings.file_extension (in module [Link]), 726
RenderLayer.light_override (in module [Link]), 717 RenderSettings.has_multiple_engines (in module
RenderLayer.material_override (in module [Link]), [Link]), 727
717 RenderSettings.is_movie_format (in module [Link]),
[Link] (in module [Link]), 717 727
[Link] (in module [Link]), 717 [Link] (in module [Link]), 727
[Link] (in module [Link]), 717 RenderSettings.use_game_engine (in module [Link]),
RenderLayer.use_all_z (in module [Link]), 717 730
RenderLayer.use_edge_enhance (in module [Link]), rendersize() (in module [Link]), 105
717 repeat ([Link].SCA_DelaySensor attribute), 1142
RenderLayer.use_halo (in module [Link]), 717 repeat ([Link] attribute), 592
RenderLayer.use_pass_ambient_occlusion (in module repeat_history() (in module [Link]), 99
[Link]), 718 repeat_last() (in module [Link]), 99
RenderLayer.use_pass_color (in module [Link]), 718 repeat_x ([Link] attribute), 454
RenderLayer.use_pass_combined (in module [Link]), repeat_y ([Link] attribute), 454
718 replace() ([Link].KX_Scene method), 1133
RenderLayer.use_pass_diffuse (in module [Link]), 718 replace() (in module [Link]), 43
RenderLayer.use_pass_emit (in module [Link]), 718 replace() (in module [Link]), 114
RenderLayer.use_pass_environment (in module replace_set_selected() (in module [Link]), 114
[Link]), 718 replace_text ([Link] attribute), 835
RenderLayer.use_pass_indirect (in module [Link]), replaceMesh() ([Link].KX_GameObject method),
718 1105
RenderLayer.use_pass_mist (in module [Link]), 718 report() ([Link] method), 509
RenderLayer.use_pass_normal (in module [Link]), report() ([Link] method), 628
718 report_copy() (in module [Link]), 47
RenderLayer.use_pass_object_index (in module report_delete() (in module [Link]), 47
[Link]), 718 report_missing_files() (in module [Link]), 33
RenderLayer.use_pass_reflection (in module [Link]), report_replay() (in module [Link]), 47
718 reports_display_update() (in module [Link]), 47
RenderLayer.use_pass_refraction (in module [Link]), reports_to_textblock() (in module [Link]), 125
718 repulsion ([Link] attribute), 737
RenderLayer.use_pass_shadow (in module [Link]), reset() ([Link].SCA_ISensor method), 1093
718 reset() (in module [Link]), 20
RenderLayer.use_pass_specular (in module [Link]), reset() (in module [Link]), 128
719 reset() (in module [Link].view2d), 130
RenderLayer.use_pass_uv (in module [Link]), 719 reset_default_button() (in module [Link]), 125
RenderLayer.use_pass_vector (in module [Link]), 719 reset_default_theme() (in module [Link]), 125
RenderLayer.use_pass_z (in module [Link]), 719 reset_distance ([Link] attribute), 590
RenderLayer.use_sky (in module [Link]), 719 resetDistance ([Link].KX_NearSensor attribute), 1118
RenderLayer.use_solid (in module [Link]), 719 resize() (in module [Link]), 68
RenderLayer.use_strand (in module [Link]), 719 resize() (in module [Link]), 118
RenderLayer.use_zmask (in module [Link]), 719 resize_2d() ([Link] method), 1058
RenderLayer.use_ztransp (in module [Link]), 719 resize_3d() ([Link] method), 1058
RenderLayers (class in [Link]), 720 resize_4d() ([Link] method), 1059
RenderPass (class in [Link]), 721 resize_4x4() ([Link] method), 1051
RenderPass.channel_id (in module [Link]), 721 resolution ([Link] attribute), 353
[Link] (in module [Link]), 721 resolution ([Link] attribute), 375
[Link] (in module [Link]), 721 resolution ([Link] attribute), 568
[Link] (in module [Link]), 721 resolution ([Link] attribute), 1009
RenderResult (class in [Link]), 722 resolution_max ([Link] at-
[Link] (in module [Link]), 722 tribute), 803
RenderResult.resolution_x (in module [Link]), 722

Index 1259
Blender Index, Release 2.57.0 r36138 - API

resolution_percentage ([Link] at- rot_clear() (in module [Link]), 94


tribute), 728 rot_error ([Link].BL_ArmatureConstraint attribute),
resolution_u ([Link] attribute), 339 1156
resolution_u ([Link] attribute), 846 rotate() (in module [Link]), 119
resolution_v ([Link] attribute), 339 rotate() (in module [Link].view3d), 133
resolution_v ([Link] attribute), 846 rotate() ([Link] method), 1048
resolution_x ([Link] attribute), 728 rotate() ([Link] method), 1052
resolution_x ([Link] attribute), 746 rotate() ([Link] method), 1054
resolution_y ([Link] attribute), 728 rotate_axis() ([Link] method), 1048
resolution_y ([Link] attribute), 746 rotation ([Link] attribute), 571
resolve_conflict() (in module [Link]), 114 rotation ([Link] attribute), 642
resolve_ncase() (in module [Link]), 1040 rotation ([Link] attribute), 651
resource_path() (in module [Link]), 1038 rotation ([Link] attribute), 778
rest_density ([Link] attribute), 737 rotation ([Link] attribute), 867
rest_length ([Link] attribute), 401 ROTATION (in module blf), 1079
rest_length ([Link] attribute), 737 rotation() (in module blf), 1081
rest_length ([Link] attribute), 856 Rotation() ([Link] class method), 1050
rest_shape_key ([Link] attribute), 251 rotation_angle ([Link] at-
restart() ([Link].KX_Scene method), 1133 tribute), 995
restartGame() (in module [Link]), 1165 rotation_apply() (in module [Link]), 80
restore_item_to_default() ([Link] method), rotation_axis_angle ([Link] attribute), 610
469 rotation_axis_angle ([Link] attribute), 692
restore_to_default() ([Link] method), 469 rotation_clear() (in module [Link]), 80
restoreDynamics() ([Link].KX_GameObject method), rotation_damping ([Link] at-
1108 tribute), 423
resume() ([Link].KX_Scene method), 1133 rotation_estimate ([Link] attribute),
RETKEY (in module [Link]), 1184 810
reveal() (in module [Link]), 18 rotation_euler ([Link].BL_ArmatureChannel at-
reveal() (in module [Link]), 26 tribute), 1159
reveal() (in module [Link]), 60 rotation_euler ([Link] attribute), 610
reveal() (in module [Link]), 91 rotation_euler ([Link] attribute), 692
reveal() (in module [Link]), 94 rotation_factor_random ([Link]
reveal() (in module [Link]), 128 attribute), 659
reveal_metaelems() (in module [Link]), 51 rotation_max ([Link] attribute),
reverse() ([Link] method), 1099 326
RGBANodeSocket (class in [Link]), 705 rotation_mode ([Link].BL_ArmatureChannel at-
RIGHTALTKEY (in module [Link]), 1182 tribute), 1159
RIGHTARROWKEY (in module [Link]), 1183 rotation_mode ([Link] attribute), 610
RIGHTBRACKETKEY (in module [Link]), 1184 rotation_mode ([Link] attribute), 660
RIGHTCTRLKEY (in module [Link]), 1182 rotation_mode ([Link] attribute), 693
RIGHTMOUSE (in module [Link]), 1181 rotation_quaternion ([Link].BL_ArmatureChannel at-
RIGHTSHIFTKEY (in module [Link]), 1182 tribute), 1159
RigidBodyJointConstraint (class in [Link]), 734 rotation_quaternion ([Link] attribute), 610
ring_count ([Link] attribute), 523 rotation_quaternion ([Link] attribute), 693
rip() (in module [Link]), 60 rotation_range ([Link] attribute), 676
rip_move() (in module [Link]), 60 rotation_start ([Link] attribute),
RKEY (in module [Link]), 1182 952
roll ([Link].BL_ArmatureBone attribute), 1162 rotDamp ([Link].KX_ConstraintActuator attribute),
roll ([Link] attribute), 364 1101
rolloff_factor_3d ([Link] attribute), rough_factor ([Link] at-
816 tribute), 665
rollOffFactor ([Link].KX_SoundActuator attribute), roughness ([Link] attribute), 517
1134 roughness_1 ([Link] attribute), 660
root_size ([Link] attribute), 529

1260 Index
Blender Index, Release 2.57.0 r36138 - API

roughness_1_size ([Link] attribute), SCA_DelaySensor (class in [Link]), 1141


660 SCA_IActuator (class in [Link]), 1094
roughness_2 ([Link] attribute), 660 SCA_IController (class in [Link]), 1093
roughness_2_size ([Link] attribute), SCA_ILogicBrick (class in [Link]), 1091
660 SCA_IObject (class in [Link]), 1092
roughness_2_threshold ([Link] SCA_ISensor (class in [Link]), 1092
attribute), 660 SCA_JoystickSensor (class in [Link]), 1142
roughness_end_shape ([Link] at- SCA_KeyboardSensor (class in [Link]), 1144
tribute), 660 SCA_MouseSensor (class in [Link]), 1116
roughness_endpoint ([Link] attribute), SCA_NANDController (class in [Link]), 1145
660 SCA_NORController (class in [Link]), 1145
row() ([Link] method), 955 SCA_ORController (class in [Link]), 1145
row_size ([Link] attribute), 1053 SCA_PropertyActuator (class in [Link]), 1145
rule_add() (in module [Link]), 19 SCA_PropertySensor (class in [Link]), 1145
rule_del() (in module [Link]), 19 SCA_PythonController (class in [Link]), 1145
rule_fuzzy ([Link] attribute), 222 SCA_PythonKeyboard (class in [Link]), 1091
rule_move_down() (in module [Link]), 19 SCA_PythonMouse (class in [Link]), 1092
rule_move_up() (in module [Link]), 19 SCA_RandomActuator (class in [Link]), 1146
ruleset_type ([Link] attribute), 222 SCA_RandomSensor (class in [Link]), 1148
run_script() (in module [Link]), 114 SCA_XNORController (class in [Link]), 1148
SCA_XORController (class in [Link]), 1148
S scale ([Link].BL_ArmatureChannel attribute), 1158
s ([Link] attribute), 1048 scale ([Link] attribute), 396
sample() (in module [Link]), 12 scale ([Link] attribute),
sample() (in module [Link]), 39 531
sample() (in module [Link]), 43 scale ([Link] attribute), 592
sample_color() (in module [Link]), 88 scale ([Link] attribute), 610
sample_line() (in module [Link]), 43 scale ([Link] attribute), 693
sample_method ([Link] attribute), scale ([Link] attribute), 778
1024 scale ([Link] attribute), 867
samples ([Link] attribute), scale ([Link] attribute), 899
281 Scale() ([Link] class method), 1050
samples ([Link] attribute), scale_apply() (in module [Link]), 80
318 scale_clear() (in module [Link]), 80
samples ([Link] attribute), 1024 scale_clear() (in module [Link]), 94
saturation ([Link] attribute), 877 scale_estimate ([Link] attribute),
save() ([Link] method), 447 810
save() (in module [Link]), 43 scale_length ([Link] attribute), 980
save() (in module [Link]), 114 scale_size() (in module [Link]), 20
save_as() (in module [Link]), 43 scale_start_x ([Link] attribute),
save_as() (in module [Link]), 114 953
save_as_mainfile() (in module [Link]), 144 scale_start_y ([Link] attribute),
save_dirty() (in module [Link]), 44 953
save_homefile() (in module [Link]), 144 scale_to_length ([Link]
save_mainfile() (in module [Link]), 144 attribute), 844
save_render() ([Link] method), 447 scale_x ([Link] attribute), 955
save_sequence() (in module [Link]), 44 scale_x ([Link] attribute), 978
save_version ([Link] at- scale_y ([Link] attribute), 955
tribute), 987 scale_y ([Link] attribute), 978
saveGlobalDict() (in module [Link]), 1165 scaling ([Link].KX_GameObject attribute), 1103
SCA_2DFilterActuator (class in [Link]), 1141 scattering ([Link] attribute), 539
SCA_ActuatorSensor (class in [Link]), 1141 scattering_factor ([Link] at-
SCA_AlwaysSensor (class in [Link]), 1141 tribute), 534
SCA_ANDController (class in [Link]), 1141 scene ([Link].KX_SceneActuator attribute), 1134

Index 1261
Blender Index, Release 2.57.0 r36138 - API

scene ([Link] attribute), 305 ScrewModifier (class in [Link]), 758


scene ([Link] attribute), 743 script ([Link].SCA_PythonController attribute), 1145
scene ([Link] attribute), 753 script_directory ([Link] at-
scene ([Link] attribute), 757 tribute), 987
Scene (class in [Link]), 738 script_paths() (in module [Link]), 1038
scene (in module [Link]), 5 scroll() (in module [Link]), 114
Scene.animation_data (in module [Link]), 738 scroll_bar ([Link] attribute), 928
Scene.game_settings (in module [Link]), 739 scroll_bar() (in module [Link]), 114
Scene.is_nla_tweakmode (in module [Link]), 740 scroll_down() (in module [Link].view2d), 130
Scene.keying_sets (in module [Link]), 740 scroll_handle ([Link] attribute),
Scene.keying_sets_all (in module [Link]), 740 909
Scene.node_tree (in module [Link]), 740 scroll_left() (in module [Link].view2d), 130
Scene.object_bases (in module [Link]), 740 scroll_page() (in module [Link]), 86
[Link] (in module [Link]), 740 scroll_right() (in module [Link].view2d), 130
[Link] (in module [Link]), 740 scroll_up() (in module [Link].view2d), 131
[Link] (in module [Link]), 740 scrollback ([Link] attribute),
Scene.sequence_editor (in module [Link]), 740 992
Scene.timeline_markers (in module [Link]), 740 scrollback_append() (in module [Link]), 22
Scene.tool_settings (in module [Link]), 740 scrollbar ([Link] attribute), 909
Scene.unit_settings (in module [Link]), 741 scroller_activate() (in module [Link].view2d), 131
scene_camera ([Link] attribute), 753 Sculpt (class in [Link]), 760
scene_strip ([Link] attribute), sculpt_levels ([Link] attribute), 586
926 sculpt_object (in module [Link]), 6
scene_strip_add() (in module [Link]), 105 sculpt_paint_overlay_color
SceneActuator (class in [Link]), 743 ([Link] attribute),
SceneBases (class in [Link]), 744 984
SceneGameData (class in [Link]), 744 sculpt_paint_use_unified_size ([Link] at-
SceneObjects (class in [Link]), 748 tribute), 944
SceneRenderLayer (class in [Link]), 749 sculpt_paint_use_unified_strength
SceneSequence (class in [Link]), 753 ([Link] attribute), 945
SceneSequence.color_balance (in module [Link]), 753 sculpt_plane ([Link] attribute), 232
[Link] (in module [Link]), 753 sculpt_tool ([Link] attribute), 232
[Link] (in module [Link]), 753 sculpt_tool_set() (in module [Link]), 20
[Link] (in module [Link]), 754 sculptmode_toggle() (in module [Link]), 101
scope_back ([Link] attribute), 914 seam_bleed ([Link] attribute), 449
Scopes (class in [Link]), 756 search_menu() (in module [Link]), 145
scopes() (in module [Link]), 44 secondary_target ([Link] attribute),
[Link] (in module [Link]), 756 172
screen ([Link] attribute), 1014 seed ([Link].SCA_RandomActuator attribute), 1146
Screen (class in [Link]), 757 seed ([Link].SCA_RandomSensor attribute), 1148
[Link] (in module [Link]), 757 seed ([Link] attribute), 237
Screen.is_animation_playing (in module [Link]), 757 seed ([Link] attribute), 401
Screen.show_fullscreen (in module [Link]), 757 seed ([Link] attribute), 523
screen_full_area() (in module [Link]), 99 seed ([Link] attribute), 671
screen_grab_size ([Link] attribute), 449 seed ([Link] attribute), 708
screen_set() (in module [Link]), 99 seed ([Link] attribute), 709
screencast() (in module [Link]), 99 select ([Link] attribute), 151
screencast_fps ([Link] at- select ([Link] attribute), 224
tribute), 992 select ([Link] attribute), 342
screencast_wait_time ([Link] select ([Link] attribute), 364
attribute), 992 select ([Link] attribute), 383
screenshot() (in module [Link]), 100 select ([Link] attribute), 388
screw() (in module [Link]), 60 select ([Link] attribute), 414
screw_offset ([Link] attribute), 759 select ([Link] attribute), 416

1262 Index
Blender Index, Release 2.57.0 r36138 - API

select ([Link] attribute), 551 select_camera() (in module [Link]), 81


select ([Link] attribute), 553 select_circle() (in module [Link].view3d), 134
select ([Link] attribute), 565 select_column() (in module [Link]), 12
select ([Link] attribute), 579 select_column() (in module [Link]), 39
select ([Link] attribute), 592 select_constraint_target() (in module [Link]), 95
select ([Link] attribute), 595 select_control_point ([Link]
select ([Link] attribute), 610 attribute), 182
select ([Link] attribute), 619 select_control_point ([Link] attribute), 480
select ([Link] attribute), 764 select_end ([Link] attribute), 819
select ([Link] attribute), 850 select_flip_active() (in module [Link]), 95
select ([Link] attribute), 903 select_grouped() (in module [Link]), 81
select ([Link] attribute), 940 select_grouped() (in module [Link]), 95
select() (in module [Link]), 33 select_handles() (in module [Link]), 106
select() (in module [Link]), 50 select_head ([Link] attribute), 224
select() (in module [Link]), 68 select_head ([Link] attribute), 364
select() (in module [Link]), 105 select_hierarchy() (in module [Link]), 18
select() (in module [Link]), 108 select_hierarchy() (in module [Link]), 81
select() (in module [Link]), 128 select_hierarchy() (in module [Link]), 95
select() (in module [Link].view3d), 133 select_inverse() (in module [Link]), 19
select_active_side() (in module [Link]), 105 select_inverse() (in module [Link]), 26
select_all() (in module [Link]), 18 select_inverse() (in module [Link]), 61
select_all() (in module [Link]), 26 select_inverse() (in module [Link]), 81
select_all() (in module [Link]), 48 select_inverse() (in module [Link]), 91
select_all() (in module [Link]), 50 select_inverse() (in module [Link]), 95
select_all() (in module [Link]), 51 select_inverse() (in module [Link]), 106
select_all() (in module [Link]), 60 select_inverse() (in module [Link]), 128
select_all() (in module [Link]), 68 select_inverse_metaelems() (in module [Link]),
select_all() (in module [Link]), 80 51
select_all() (in module [Link]), 91 select_lasso() (in module [Link].view3d), 134
select_all() (in module [Link]), 94 select_left_handle ([Link] at-
select_all() (in module [Link]), 114 tribute), 182
select_all() (in module [Link]), 128 select_left_handle ([Link] attribute), 480
select_all_toggle() (in module [Link]), 12 select_left_handle ([Link] attribute), 764
select_all_toggle() (in module [Link]), 33 select_leftright() (in module [Link]), 12
select_all_toggle() (in module [Link]), 39 select_leftright() (in module [Link]), 39
select_all_toggle() (in module [Link]), 47 select_leftright() (in module [Link]), 65
select_all_toggle() (in module [Link]), 65 select_less() (in module [Link]), 12
select_all_toggle() (in module [Link]), 105 select_less() (in module [Link]), 26
select_axis() (in module [Link]), 60 select_less() (in module [Link]), 39
select_bookmark() (in module [Link]), 33 select_less() (in module [Link]), 61
select_border() (in module [Link]), 12 select_less() (in module [Link]), 91
select_border() (in module [Link]), 33 select_less() (in module [Link]), 106
select_border() (in module [Link]), 39 select_line() (in module [Link]), 115
select_border() (in module [Link]), 47 select_link_viewer() (in module [Link]), 69
select_border() (in module [Link]), 50 select_linked() (in module [Link]), 13
select_border() (in module [Link]), 65 select_linked() (in module [Link]), 19
select_border() (in module [Link]), 68 select_linked() (in module [Link]), 26
select_border() (in module [Link]), 105 select_linked() (in module [Link]), 39
select_border() (in module [Link]), 128 select_linked() (in module [Link]), 61
select_border() (in module [Link].view3d), 133 select_linked() (in module [Link]), 81
select_by_layer() (in module [Link]), 81 select_linked() (in module [Link]), 91
select_by_number_vertices() (in module [Link]), select_linked() (in module [Link]), 95
61 select_linked() (in module [Link]), 106
select_by_type() (in module [Link]), 81 select_linked() (in module [Link]), 128

Index 1263
Blender Index, Release 2.57.0 r36138 - API

select_linked_from() (in module [Link]), 69 selectability_toggle() (in module [Link]), 86


select_linked_pick() (in module [Link]), 26 selectable_bases (in module [Link]), 5, 7
select_linked_pick() (in module [Link]), 61 selectable_objects (in module [Link]), 5, 7
select_linked_pick() (in module [Link]), 106 selected_bases (in module [Link]), 5, 7
select_linked_pick() (in module [Link]), 128 selected_bones (in module [Link]), 6
select_linked_to() (in module [Link]), 69 selected_editable_bases (in module [Link]), 5, 7
select_loop() (in module [Link]), 128 selected_editable_bones (in module [Link]), 6
select_mirror() (in module [Link]), 61 selected_editable_objects (in module [Link]), 5, 7
select_mirror() (in module [Link]), 81 selected_editable_sequences (in module [Link]), 6
select_mode ([Link] attribute), 646 selected_file ([Link] attribute),
select_more() (in module [Link]), 13 909
select_more() (in module [Link]), 26 selected_nodes (in module [Link]), 9
select_more() (in module [Link]), 39 selected_objects (in module [Link]), 5, 7
select_more() (in module [Link]), 61 selected_pose_bones (in module [Link]), 6
select_more() (in module [Link]), 91 selected_sequences (in module [Link]), 6
select_more() (in module [Link]), 106 selected_text ([Link] attribute),
select_mouse ([Link] attribute), 921
989 selected_text ([Link] attribute), 928
select_name() (in module [Link]), 82 selected_toggle() (in module [Link]), 86
select_next() (in module [Link]), 26 selection_set() (in module [Link]), 115
select_non_manifold() (in module [Link]), 61 self_collision_quality ([Link]
select_nth() (in module [Link]), 26 attribute), 248
select_nth() (in module [Link]), 61 self_distance_min ([Link] at-
select_orientation() (in module [Link]), 119 tribute), 248
select_parent() (in module [Link]), 95 self_friction ([Link] attribute),
select_pattern() (in module [Link]), 82 248
select_pick() (in module [Link]), 47 SEMICOLONKEY (in module [Link]), 1184
select_pinned() (in module [Link]), 129 sendMessage() ([Link].KX_GameObject method),
select_previous() (in module [Link]), 26 1111
select_random() (in module [Link]), 27 sendMessage() (in module [Link]), 1166
select_random() (in module [Link]), 61 Sensor (class in [Link]), 761
select_random() (in module [Link]), 82 sensor_add() (in module [Link]), 49
select_random_metaelems() (in module [Link]), sensor_move() (in module [Link]), 49
51 sensor_remove() (in module [Link]), 49
select_right_handle ([Link] at- sensors ([Link].KX_GameObject attribute), 1104
tribute), 182 sensors ([Link].SCA_IController attribute), 1093
select_right_handle ([Link] attribute), 480 separate() (in module [Link]), 19
select_right_handle ([Link] attribute), 764 separate() (in module [Link]), 27
select_roots() (in module [Link]), 91 separate() (in module [Link]), 62
select_row() (in module [Link]), 27 separator() ([Link] method), 973
select_same_group() (in module [Link]), 82 seq_slide() (in module [Link]), 119
select_same_type() (in module [Link]), 69 Sequence (class in [Link]), 763
select_same_type_next() (in module [Link]), 69 Sequence.frame_duration (in module [Link]), 763
select_same_type_prev() (in module [Link]), 69 Sequence.frame_offset_end (in module [Link]), 764
select_set() (in module [Link]), 22 Sequence.frame_offset_start (in module [Link]), 764
select_shortest_path() (in module [Link]), 61 Sequence.frame_still_end (in module [Link]), 764
select_similar() (in module [Link]), 62 Sequence.frame_still_start (in module [Link]), 764
select_start ([Link] attribute), 820 Sequence.input_1 (in module [Link]), 764
select_tail ([Link] attribute), 224 Sequence.input_2 (in module [Link]), 764
select_tail ([Link] attribute), 364 Sequence.input_3 (in module [Link]), 764
select_tips() (in module [Link]), 91 Sequence.input_count (in module [Link]), 764
select_uv ([Link] attribute), 561 [Link] (in module [Link]), 765
select_vertex_path() (in module [Link]), 62 sequence_plugin_directory
select_word() (in module [Link]), 115 ([Link] attribute),

1264 Index
Blender Index, Release 2.57.0 r36138 - API

987 setIntConst() ([Link].SCA_RandomActuator method),


SequenceColorBalance (class in [Link]), 766 1147
SequenceCrop (class in [Link]), 767 setIntPoisson() ([Link].SCA_RandomActuator
SequenceEditor (class in [Link]), 768 method), 1147
SequenceEditor.meta_stack (in module [Link]), 768 setIntUniform() ([Link].SCA_RandomActuator
[Link] (in module [Link]), 768 method), 1147
SequenceEditor.sequences_all (in module [Link]), 768 setLinearVelocity() ([Link].KX_GameObject
SequenceElement (class in [Link]), 769 method), 1107
SequenceElement.orig_height (in module [Link]), 769 setLinearVelocity() ([Link].KX_PhysicsObjectWrapper
SequenceElement.orig_width (in module [Link]), 769 method), 1121
SequenceProxy (class in [Link]), 770 setLogicTicRate() (in module [Link]), 1167
sequencer_gl_preview ([Link] at- setMaterialMode() (in module [Link]), 1179
tribute), 728 setMaxLogicFrame() (in module [Link]), 1166
sequencer_gl_render ([Link] at- setMaxPhysicsFrame() (in module [Link]), 1167
tribute), 728 setMistColor() (in module [Link]), 1178
sequences (in module [Link]), 6 setMistEnd() (in module [Link]), 1178
SequenceTransform (class in [Link]), 771 setMistStart() (in module [Link]), 1178
set_persistent_base() (in module [Link]), 101 setMousePosition() (in module [Link]), 1178
setActive() ([Link].KX_PhysicsObjectWrapper setNormal() ([Link].KX_VertexProxy method), 1140
method), 1120 setNumberOfPasses() ([Link].BL_Shader method),
setAmbientColor() (in module [Link]), 1178 1096
setAngularVelocity() ([Link].KX_GameObject setOcclusion() ([Link].KX_GameObject method),
method), 1108 1105
setAngularVelocity() ([Link].KX_PhysicsObjectWrappersetOnTop() ([Link].KX_Camera method), 1151
method), 1121 setParent() ([Link].KX_GameObject method), 1109
setAttrib() ([Link].BL_Shader method), 1096 setPhysicsTicRate() (in module [Link]), 1167
setBackgroundColor() (in module [Link]), 1178 setRGBA() ([Link].KX_VertexProxy method), 1140
setBlending() ([Link].KX_BlenderMaterial method), setRollInfluence() ([Link].KX_VehicleWrapper
1100 method), 1137
setBoolBernouilli() ([Link].SCA_RandomActuator setSampler() ([Link].BL_Shader method), 1096
method), 1147 setSeed() ([Link].SCA_RandomSensor method), 1148
setBoolConst() ([Link].SCA_RandomActuator setSource() ([Link].BL_Shader method), 1096
method), 1147 setSteeringValue() ([Link].KX_VehicleWrapper
setBoolUniform() ([Link].SCA_RandomActuator method), 1137
method), 1147 setSuspensionCompression()
setChannel() ([Link].BL_ActionActuator method), ([Link].KX_VehicleWrapper method),
1095 1137
setCollisionMargin() ([Link].KX_GameObject setSuspensionDamping()
method), 1111 ([Link].KX_VehicleWrapper method),
setCustomMaterial() ([Link].KX_PolygonMaterial 1137
method), 1127 setSuspensionStiffness() ([Link].KX_VehicleWrapper
setEyeSeparation() (in module [Link]), 1179 method), 1137
setFloatConst() ([Link].SCA_RandomActuator setTexture() ([Link].KX_PolygonMaterial method),
method), 1147 1126
setFloatNegativeExponential() settings ([Link] attribute), 671
([Link].SCA_RandomActuator method), setTyreFriction() ([Link].KX_VehicleWrapper
1147 method), 1137
setFloatNormal() ([Link].SCA_RandomActuator setUniform1f() ([Link].BL_Shader method), 1096
method), 1147 setUniform1i() ([Link].BL_Shader method), 1096
setFloatUniform() ([Link].SCA_RandomActuator setUniform2f() ([Link].BL_Shader method), 1096
method), 1147 setUniform2i() ([Link].BL_Shader method), 1096
setFocalLength() (in module [Link]), 1179 setUniform3f() ([Link].BL_Shader method), 1096
setGLSLMaterialSetting() (in module [Link]), 1179 setUniform3i() ([Link].BL_Shader method), 1097
setGravity() (in module [Link]), 1166 setUniform4f() ([Link].BL_Shader method), 1097

Index 1265
Blender Index, Release 2.57.0 r36138 - API

setUniform4i() ([Link].BL_Shader method), 1097 shaderText ([Link].SCA_2DFilterActuator attribute),


setUniformDef() ([Link].BL_Shader method), 1097 1141
setUniformfv() ([Link].BL_Shader method), 1095 shadetop ([Link] attribute), 938
setUniformiv() ([Link].BL_Shader method), 1098 shadow ([Link] attribute), 910
setUniformMatrix3() ([Link].BL_Shader method), SHADOW (in module blf), 1079
1097 shadow() (in module blf), 1081
setUniformMatrix4() ([Link].BL_Shader method), shadow_adaptive_threshold ([Link] at-
1098 tribute), 167
setUV() ([Link].KX_VertexProxy method), 1139 shadow_adaptive_threshold ([Link]
setUV2() ([Link].KX_VertexProxy method), 1139 attribute), 686
setViewport() ([Link].KX_Camera method), 1151 shadow_adaptive_threshold ([Link] at-
setVisible() ([Link].KX_GameObject method), 1105 tribute), 852
setXYZ() ([Link].KX_VertexProxy method), 1139 shadow_adaptive_threshold ([Link] at-
SEVENKEY (in module [Link]), 1182 tribute), 863
shade_flat() (in module [Link]), 27 shadow_adjust ([Link]
shade_flat() (in module [Link]), 82 attribute), 269
shade_smooth() (in module [Link]), 27 shadow_buffer_bias ([Link] attribute), 517
shade_smooth() (in module [Link]), 82 shadow_buffer_bias ([Link] attribute), 853
shadedown ([Link] attribute), shadow_buffer_clip_end ([Link] attribute),
938 853
ShaderNode (class in [Link]), 772 shadow_buffer_clip_start ([Link] attribute),
[Link] (in module [Link]), 772 853
ShaderNodeCameraData (class in [Link]), 773 shadow_buffer_samples ([Link] attribute),
ShaderNodeCombineRGB (class in [Link]), 773 853
ShaderNodeExtendedMaterial (class in [Link]), 774 shadow_buffer_size ([Link] attribute), 853
ShaderNodeGeometry (class in [Link]), 775 shadow_buffer_soft ([Link] attribute), 853
ShaderNodeHueSaturation (class in [Link]), 776 shadow_buffer_type ([Link] attribute), 853
ShaderNodeInvert (class in [Link]), 777 shadow_cast_alpha ([Link] attribute), 517
ShaderNodeMapping (class in [Link]), 777 shadow_color ([Link] attribute), 167
ShaderNodeMaterial (class in [Link]), 778 shadow_color ([Link] attribute), 686
ShaderNodeMath (class in [Link]), 779 shadow_color ([Link] attribute), 853
ShaderNodeMixRGB (class in [Link]), 780 shadow_color ([Link] attribute), 863
ShaderNodeNormal (class in [Link]), 781 shadow_factor ([Link] attribute),
ShaderNodeOutput (class in [Link]), 782 494
ShaderNodeRGB (class in [Link]), 783 shadow_filter_type ([Link] attribute), 853
ShaderNodeRGBCurve (class in [Link]), 783 shadow_method ([Link] attribute), 167
[Link] (in module [Link]), shadow_method ([Link] attribute), 686
783 shadow_method ([Link] attribute), 853
ShaderNodeRGBToBW (class in [Link]), 784 shadow_method ([Link] attribute), 863
ShaderNodes (class in [Link]), 791 shadow_offset() (in module blf), 1081
ShaderNodeSeparateRGB (class in [Link]), 785 shadow_offset_x ([Link] attribute),
ShaderNodeSqueeze (class in [Link]), 785 910
ShaderNodeTexture (class in [Link]), 786 shadow_offset_y ([Link] attribute),
ShaderNodeTree (class in [Link]), 787 910
[Link] (in module [Link]), 787 shadow_only_type ([Link] attribute), 517
ShaderNodeValToRGB (class in [Link]), 788 shadow_ray_bias ([Link] attribute), 517
ShaderNodeValToRGB.color_ramp (in module shadow_ray_sample_method ([Link] at-
[Link]), 788 tribute), 167
ShaderNodeValue (class in [Link]), 789 shadow_ray_sample_method ([Link] at-
ShaderNodeVectorCurve (class in [Link]), 789 tribute), 686
[Link] (in module [Link]), shadow_ray_sample_method ([Link] at-
789 tribute), 853
ShaderNodeVectorMath (class in [Link]), 790 shadow_ray_sample_method ([Link]
attribute), 863

1266 Index
Blender Index, Release 2.57.0 r36138 - API

shadow_ray_samples ([Link] attribute), show_actuators_linked_controller


686 ([Link] attribute), 827
shadow_ray_samples ([Link] attribute), show_actuators_selected_objects
853 ([Link] attribute), 827
shadow_ray_samples ([Link] attribute), 863 show_alive ([Link] attribute), 380
shadow_ray_samples_x ([Link] attribute), show_alive ([Link] at-
167 tribute), 650
shadow_ray_samples_y ([Link] attribute), show_all_edges ([Link] attribute), 544
167 show_all_objects_origin ([Link].SpaceView3D
shadow_sample_buffers ([Link] attribute), attribute), 842
853 show_armatures ([Link] attribute), 355
shadow_soft_size ([Link] attribute), 167 show_axes ([Link] attribute), 170
shadow_soft_size ([Link] attribute), 686 show_axis ([Link] attribute), 610
shadow_soft_size ([Link] attribute), 853 show_axis_x ([Link].SpaceView3D attribute), 842
shadow_soft_size ([Link] attribute), 863 show_axis_y ([Link].SpaceView3D attribute), 842
shadowalpha ([Link] attribute), 910 show_axis_z ([Link].SpaceView3D attribute), 842
shadowcolor ([Link] attribute), 910 show_backdrop ([Link] attribute),
shape ([Link] attribute), 168 830
shape ([Link] attribute), 401 show_background_images ([Link].SpaceView3D at-
shape ([Link] attribute), 529 tribute), 842
shape_key_add() ([Link] method), 613 show_bone_custom_shapes ([Link] at-
shape_key_add() (in module [Link]), 82 tribute), 170
shape_key_clear() (in module [Link]), 82 show_bounds ([Link] attribute), 610
shape_key_mirror() (in module [Link]), 82 show_brush ([Link] attribute), 636
shape_key_move() (in module [Link]), 82 show_brush_on_surface ([Link] attribute), 636
shape_key_remove() (in module [Link]), 82 show_cache ([Link] attribute), 837
shape_key_transfer() (in module [Link]), 83 show_cameras ([Link] attribute), 355
shape_propagate_to_all() (in module [Link]), 62 show_colored_constraints
shape_threshold ([Link] at- ([Link] attribute),
tribute), 427 903
ShapeActionActuator (class in [Link]), 792 show_column_layout ([Link]
ShapeKey (class in [Link]), 793 attribute), 995
[Link] (in module [Link]), 793 show_cone ([Link] attribute), 854
[Link] (in module [Link]), 793 show_controllers ([Link] at-
ShapeKeyBezierPoint (class in [Link]), 795 tribute), 423
ShapeKeyCurvePoint (class in [Link]), 796 show_controllers_active_object
ShapeKeyPoint (class in [Link]), 796 ([Link] attribute), 827
SHD_TANGENT (in module [Link]), 1176 show_controllers_linked_controller
shear ([Link] attribute), 810 ([Link] attribute), 827
shear ([Link] attribute), 873 show_controllers_selected_objects
shear() (in module [Link]), 120 ([Link] attribute), 827
Shear() ([Link] class method), 1050 show_cursor ([Link] attribute), 823
shift ([Link] attribute), 471 show_curves ([Link] attribute), 355
shift_x ([Link] attribute), 239 show_cyclic_dependencies() (in module [Link]),
shift_y ([Link] attribute), 239 69
shininess ([Link].KX_PolygonMaterial attribute), show_dead ([Link] attribute), 380
1126 show_dead ([Link] at-
show_active() (in module [Link]), 86 tribute), 650
show_actuators ([Link] at- show_debug ([Link] attribute), 426
tribute), 423 show_debug_info ([Link] attribute), 357
show_actuators_active_object show_debug_properties ([Link] at-
([Link] attribute), 827 tribute), 746
show_actuators_active_states show_debug_state ([Link]
([Link] attribute), 827 attribute), 423

Index 1267
Blender Index, Release 2.57.0 r36138 - API

show_double_sided ([Link] attribute), 544 show_hierarchy() (in module [Link]), 86


show_edge_bevel_weight ([Link] attribute), 544 show_high_resolution ([Link]
show_edge_crease ([Link] attribute), 544 attribute), 803
show_edge_seams ([Link] attribute), 544 show_in_editmode ([Link] attribute), 577
show_edge_sharp ([Link] attribute), 544 show_keyframe_action_all
show_edges ([Link] attribute), 544 ([Link] attribute),
show_expanded ([Link] attribute), 151 162
show_expanded ([Link] attribute), 154 show_keyframe_highlight
show_expanded ([Link] attribute), ([Link] attribute),
179 162
show_expanded ([Link] attribute), 323 show_keyframe_numbers
show_expanded ([Link] attribute), 331 ([Link] attribute),
show_expanded ([Link] attribute), 389 162
show_expanded ([Link] attribute), 471 show_lamps ([Link] attribute), 355
show_expanded ([Link] attribute), 576 show_large_cursors ([Link] at-
show_expanded ([Link] attribute), 762 tribute), 995
show_expanded_children ([Link] attribute), show_lattices ([Link] attribute), 355
468 show_limits ([Link] attribute), 239
show_expanded_items ([Link] attribute), 468 show_line_highlight ([Link] at-
show_expanded_summary ([Link] at- tribute), 835
tribute), 355 show_line_numbers ([Link] at-
show_extra_edge_length ([Link] attribute), 544 tribute), 835
show_extra_face_angle ([Link] attribute), 544 show_low_resolution ([Link] attribute), 636
show_extra_face_area ([Link] attribute), 544 show_manipulator ([Link].SpaceView3D attribute),
show_faces ([Link] attribute), 544 842
show_floor ([Link].SpaceView3D attribute), 842 show_manipulator ([Link] at-
show_frame_indicator ([Link] tribute), 995
attribute), 820 show_margin ([Link] attribute), 835
show_frame_indicator ([Link] at- show_materials ([Link] attribute), 355
tribute), 823 show_menus ([Link] attribute), 166
show_frame_indicator ([Link] attribute), show_meshes ([Link] attribute), 355
829 show_metaballs ([Link] attribute), 355
show_frame_indicator ([Link] show_mini_axis ([Link] at-
attribute), 834 tribute), 995
show_frame_indicator ([Link] at- show_missing_nla ([Link] attribute), 355
tribute), 837 show_mist ([Link] attribute), 239
show_frame_numbers ([Link] show_modified_edges ([Link] at-
attribute), 162 tribute), 838
show_framerate_profile ([Link] at- show_mouse ([Link] attribute), 746
tribute), 746 show_name ([Link] attribute), 239
show_frames ([Link] attribute), show_name ([Link] attribute), 610
834 show_names ([Link] attribute), 170
show_fullscreen ([Link] attribute), show_nodes ([Link] attribute), 356
746 show_normal_face ([Link] attribute), 339
show_group_colors ([Link] attribute), 170 show_normal_face ([Link] attribute), 544
show_handles ([Link] attribute), 339 show_normal_vertex ([Link] attribute), 544
show_handles ([Link] attribute), show_normalized_coords ([Link] at-
823 tribute), 838
show_health ([Link] attribute), 660 show_number ([Link] attribute), 660
show_hidden ([Link] attribute), 355 show_object_info ([Link] at-
show_hidden ([Link] attribute), 404 tribute), 995
show_hidden_files_datablocks show_on_cage ([Link] attribute), 577
([Link] attribute), show_one_level() (in module [Link]), 86
987

1268 Index
Blender Index, Release 2.57.0 r36138 - API

show_only_control_edges ([Link] show_sensors_active_object


attribute), 586 ([Link] attribute), 827
show_only_control_edges ([Link] at- show_sensors_active_states ([Link]
tribute), 862 attribute), 828
show_only_ghost_selected ([Link] at- show_sensors_linked_controller
tribute), 170 ([Link] attribute), 828
show_only_group_objects ([Link] at- show_sensors_selected_objects
tribute), 356 ([Link] attribute), 828
show_only_matching_fcurves ([Link] at- show_separate_color ([Link] at-
tribute), 356 tribute), 834
show_only_render ([Link].SpaceView3D attribute), show_shaded ([Link] attribute),
842 938
show_only_selected ([Link] show_shapekeys ([Link] attribute), 356
attribute), 164 show_size ([Link] attribute), 660
show_only_selected ([Link] attribute), 356 show_sliders ([Link] at-
show_only_selected ([Link] attribute), tribute), 821
837 show_sliders ([Link] attribute), 823
show_only_shape_key ([Link] attribute), 611 show_smooth_edges ([Link] at-
show_other_objects ([Link] attribute), tribute), 838
838 show_splash ([Link] attribute),
show_outline_selected ([Link].SpaceView3D at- 996
tribute), 842 show_state_panel ([Link] at-
show_overlay ([Link] attribute), 768 tribute), 423
show_particles ([Link] attribute), 356 show_stretch ([Link] attribute), 838
show_particles ([Link] attribute), 646 show_strip_curves ([Link] attribute), 829
show_passepartout ([Link] attribute), 239 show_summary ([Link] attribute), 356
show_physics_visualization ([Link] show_sync_view ([Link].RegionView3D attribute),
attribute), 746 712
show_pivot ([Link] at- show_syntax_highlight ([Link] at-
tribute), 735 tribute), 835
show_playback_fps ([Link] at- show_texture_space ([Link] attribute), 611
tribute), 995 show_textured_solid ([Link].SpaceView3D attribute),
show_points ([Link] attribute), 416 842
show_pose_markers ([Link] show_textures ([Link] attribute), 356
attribute), 821 show_thumbnails ([Link]
show_relationship_lines ([Link].SpaceView3D at- attribute), 987
tribute), 842 show_title_safe ([Link] attribute), 240
show_render ([Link] attribute), 577 show_tooltips ([Link] attribute),
show_repeat ([Link] attribute), 825 996
show_report_debug ([Link] attribute), 826 show_tooltips_python ([Link]
show_report_error ([Link] attribute), 826 attribute), 996
show_report_info ([Link] attribute), 826 show_tracer ([Link] attribute),
show_report_operator ([Link] attribute), 647
826 show_transforms ([Link] attribute), 356
show_report_warning ([Link] attribute), show_transparent ([Link] attribute), 611
826 show_unborn ([Link] attribute), 380
show_restrict_columns ([Link] at- show_unborn ([Link] at-
tribute), 831 tribute), 650
show_safe_margin ([Link] at- show_unborn ([Link] attribute), 660
tribute), 834 show_uv_local_view ([Link] attribute),
show_scenes ([Link] attribute), 356 945
show_sensors ([Link] attribute), show_velocity ([Link] attribute), 660
423 show_view_name ([Link] at-
tribute), 996

Index 1269
Blender Index, Release 2.57.0 r36138 - API

show_viewport ([Link] attribute), 577 size_min ([Link] attribute), 529


show_wire ([Link] attribute), 224 size_random ([Link] attribute), 661
show_wire ([Link] attribute), 364 size_x ([Link] attribute), 266
show_wire ([Link] attribute), 611 size_x ([Link] attribute), 571
show_word_wrap ([Link] attribute), size_y ([Link] attribute), 168
835 size_y ([Link] attribute), 266
show_worlds ([Link] attribute), 356 size_y ([Link] attribute), 571
show_x_ray ([Link] attribute), 416 size_z ([Link] attribute), 571
show_x_ray ([Link] attribute), 611 SKEY (in module [Link]), 1182
showMouse() (in module [Link]), 1178 sky_blend ([Link] attribute), 493
shrink_fatten() (in module [Link]), 120 sky_blend_type ([Link] attribute),
shrinkwrap_type ([Link] 493
attribute), 797 sky_color_space ([Link] attribute),
ShrinkwrapConstraint (class in [Link]), 797 493
ShrinkwrapModifier (class in [Link]), 798 sky_exposure ([Link] attribute), 493
sigma_color ([Link] at- SLASHKEY (in module [Link]), 1184
tribute), 265 slider_max ([Link] attribute), 794
sigma_space ([Link] at- slider_min ([Link] attribute), 794
tribute), 265 slip_type ([Link] attribute), 353
SimpleDeformModifier (class in [Link]), 800 slip_type ([Link] attribute), 622
simplify_ao_sss ([Link] attribute), 728 slope ([Link] at-
simplify_child_particles ([Link] at- tribute), 271
tribute), 728 slot_copy() (in module [Link]), 116
simplify_rate ([Link] attribute), 661 slot_move() (in module [Link]), 116
simplify_refsize ([Link] attribute), slot_paste() (in module [Link]), 116
661 slow_parent_clear() (in module [Link]), 83
simplify_shadow_samples ([Link] at- slow_parent_set() (in module [Link]), 83
tribute), 728 slurph ([Link] attribute), 465
simplify_subdivision ([Link] at- small_caps_scale ([Link] attribute), 873
tribute), 729 smart_project() (in module [Link]), 129
simplify_transition ([Link] attribute), smoke (in module [Link]), 8
661 smoke_data_type ([Link] attribute), 1009
simplify_viewport ([Link] attribute), smoke_type ([Link] attribute), 806
661 SmokeCollSettings (class in [Link]), 801
simulation_scale ([Link] at- SmokeDomainSettings (class in [Link]), 802
tribute), 353 SmokeDomainSettings.effector_weights (in module
single_axis_number ([Link] attribute), [Link]), 802
463 SmokeDomainSettings.point_cache (in module
SIXKEY (in module [Link]), 1182 [Link]), 803
size ([Link] attribute), 168 SmokeFlowSettings (class in [Link]), 804
size ([Link] attribute), 179 SmokeModifier (class in [Link]), 805
size ([Link] attribute), 232 SmokeModifier.coll_settings (in module [Link]), 805
size ([Link] attribute), 242 SmokeModifier.domain_settings (in module [Link]),
size ([Link] attribute), 289 805
size ([Link] attribute), 297 SmokeModifier.flow_settings (in module [Link]), 805
size ([Link] attribute), 401 smooth() (in module [Link]), 27
size ([Link] attribute), 523 smooth() (in module [Link]), 39
size ([Link] attribute), 642 smooth_emitter ([Link]
size ([Link] attribute), 643 attribute), 803
size ([Link] attribute), 873 smooth_radius() (in module [Link]), 27
size ([Link] attribute), 1027 smooth_stroke_factor ([Link] attribute), 232
size() (in module blf), 1081 smooth_stroke_radius ([Link] attribute), 232
size_factor ([Link] at- smooth_view ([Link] attribute),
tribute), 665 996

1270 Index
Blender Index, Release 2.57.0 r36138 - API

SmoothModifier (class in [Link]), 806 [Link] (in module [Link]), 819


smoothscroll() (in module [Link]), 33 [Link] (in module [Link]), 819
smoothview() (in module [Link].view3d), 134 spacedata_cleanup() (in module [Link]), 100
smpte_from_frame() (in module [Link]), 1038 SpaceDopeSheetEditor (class in [Link]), 820
smpte_from_seconds() (in module [Link]), 1038 [Link] (in module [Link]),
snap() (in module [Link]), 13 820
snap() (in module [Link]), 40 SpaceDopeSheetEditor.show_seconds (in module
snap() (in module [Link]), 65 [Link]), 821
snap() (in module [Link]), 106 SpaceFileBrowser (class in [Link]), 822
snap_cursor() (in module [Link]), 129 [Link] (in module [Link]), 822
snap_cursor_to_active() (in module [Link].view3d), 134 [Link] (in module [Link]), 822
snap_cursor_to_center() (in module [Link].view3d), 134 SpaceGraphEditor (class in [Link]), 822
snap_cursor_to_grid() (in module [Link].view3d), 134 [Link] (in module [Link]), 822
snap_cursor_to_selected() (in module [Link].view3d), SpaceGraphEditor.show_seconds (in module [Link]),
134 823
snap_element ([Link] attribute), 945 SpaceImageEditor (class in [Link]), 824
snap_selected() (in module [Link]), 129 [Link] (in module [Link]), 824
snap_selected_to_cursor() (in module [Link].view3d), SpaceImageEditor.image_user (in module [Link]), 824
134 SpaceImageEditor.sample_histogram (in module
snap_selected_to_grid() (in module [Link].view3d), 134 [Link]), 825
snap_target ([Link] attribute), 945 [Link] (in module [Link]), 825
snap_type() (in module [Link]), 121 SpaceImageEditor.show_paint (in module [Link]), 825
soft_body (in module [Link]), 8 SpaceImageEditor.show_render (in module [Link]),
SoftBodyModifier (class in [Link]), 807 825
SoftBodyModifier.point_cache (in module [Link]), SpaceImageEditor.show_uvedit (in module [Link]),
807 825
[Link] (in module [Link]), 807 SpaceImageEditor.uv_editor (in module [Link]), 825
SoftBodySettings (class in [Link]), 808 SpaceInfo (class in [Link]), 826
SoftBodySettings.effector_weights (in module SPACEKEY (in module [Link]), 1184
[Link]), 809 SpaceLogicEditor (class in [Link]), 827
solidify() (in module [Link]), 62 SpaceNLA (class in [Link]), 828
SolidifyModifier (class in [Link]), 812 [Link] (in module [Link]), 828
solver ([Link] attribute), 462 SpaceNLA.show_seconds (in module [Link]), 829
sort_faces() (in module [Link]), 62 SpaceNodeEditor (class in [Link]), 829
sort_method ([Link] attribute), 404 [Link] (in module [Link]), 830
sound ([Link] attribute), 816 SpaceNodeEditor.id_from (in module [Link]), 830
Sound (class in [Link]), 814 SpaceNodeEditor.node_tree (in module [Link]), 830
Sound.packed_file (in module [Link]), 814 SpaceOutliner (class in [Link]), 831
sound_bake() (in module [Link]), 40 SpaceProperties (class in [Link]), 832
sound_directory ([Link] at- SpaceSequenceEditor (class in [Link]), 833
tribute), 987 SpaceSequenceEditor.grease_pencil (in module
sound_strip_add() (in module [Link]), 106 [Link]), 833
SoundActuator (class in [Link]), 815 SpaceTextEditor (class in [Link]), 835
SoundSequence (class in [Link]), 817 SpaceTimeline (class in [Link]), 836
[Link] (in module [Link]), 817 SpaceUserPreferences (class in [Link]), 839
source ([Link] attribute), 375 SpaceUVEditor (class in [Link]), 838
source ([Link] attribute), 447 SpaceView3D (class in [Link]), 840
space ([Link] attribute), 306 SpaceView3D.background_images (in module
Space (class in [Link]), 818 [Link]), 840
[Link] (in module [Link]), 818 SpaceView3D.current_orientation (in module [Link]),
space_character ([Link] attribute), 873 840
space_line ([Link] attribute), 873 SpaceView3D.layers_used (in module [Link]), 841
space_word ([Link] attribute), 873 SpaceView3D.local_view (in module [Link]), 841
SpaceConsole (class in [Link]), 819 SpaceView3D.region_3d (in module [Link]), 841

Index 1271
Blender Index, Release 2.57.0 r36138 - API

SpaceView3D.region_quadview (in module [Link]), split() ([Link] method), 955


841 split() (in module [Link]), 62
spacing ([Link] attribute), 232 split() (in module [Link]), 65
specular ([Link].KX_PolygonMaterial attribute), 1126 split_angle ([Link] attribute), 361
specular_alpha ([Link] attribute), 517 spot_blend ([Link] attribute), 854
specular_color ([Link] attribute), 518 spot_size ([Link] attribute), 854
specular_color ([Link] attribute), 998 spotblend ([Link].KX_LightObject attribute), 1114
specular_color_factor ([Link] at- SpotLamp (class in [Link]), 852
tribute), 534 SpotLamp.falloff_curve (in module [Link]), 852
specular_factor ([Link] attribute), spotsize ([Link].KX_LightObject attribute), 1114
534 spread ([Link] attribute), 493
specular_hardness ([Link] attribute), 518 spring_damping ([Link] attribute), 251
specular_intensity ([Link] attribute), 518 spring_force ([Link] attribute), 737
specular_ior ([Link] attribute), 518 spring_frames ([Link] attribute),
specular_ramp_blend ([Link] attribute), 518 737
specular_ramp_factor ([Link] attribute), 518 spring_length ([Link] attribute), 810
specular_ramp_input ([Link] attribute), 518 squash ([Link] attribute), 880
specular_shader ([Link] attribute), 518 squash_frequency ([Link] at-
specular_slope ([Link] attribute), 518 tribute), 880
specular_toon_size ([Link] attribute), 518 sss_preset_add() (in module [Link]), 51
specular_toon_smooth ([Link] attribute), 518 stamp_background ([Link] attribute),
specularity ([Link].KX_PolygonMaterial attribute), 729
1126 stamp_font_size ([Link] attribute),
speed ([Link] attribute), 214 729
speed ([Link] attribute), 810 stamp_foreground ([Link] attribute),
speed ([Link] attribute), 1012 729
speed_factor ([Link] attribute), 764 stamp_note_text ([Link] attribute),
speed_max ([Link] at- 729
tribute), 318 standard_derivation ([Link] at-
speed_min ([Link] at- tribute), 708
tribute), 318 star_tip_count ([Link] attribute), 523
speed_of_sound ([Link] attribute), 1083 start ([Link] attribute), 1026
speed_scale ([Link] attribute), 683 start_cap ([Link] attribute), 178
SpeedControlSequence (class in [Link]), 844 start_frame_set() (in module [Link]), 116
sphere_project() (in module [Link]), 129 start_position_object ([Link] attribute),
sphereInsideFrustum() ([Link].KX_Camera method), 1012
1149 start_position_x ([Link] attribute),
SPHFluidSettings (class in [Link]), 736 1012
spin ([Link] attribute), 280 start_position_y ([Link] attribute),
spin() (in module [Link]), 27 1012
spin() (in module [Link]), 62 start_time ([Link] attribute), 330
splash() (in module [Link]), 145 start_time ([Link] attribute), 353
Spline (class in [Link]), 845 startGame() (in module [Link]), 1165
Spline.bezier_points (in module [Link]), 845 state ([Link].KX_GameObject attribute), 1104
Spline.character_index (in module [Link]), 845 state ([Link].SCA_IController attribute), 1093
Spline.point_count_u (in module [Link]), 846 state_add() (in module [Link]), 19
Spline.point_count_v (in module [Link]), 846 state_del() (in module [Link]), 19
[Link] (in module [Link]), 846 state_move_down() (in module [Link]), 19
spline_type_set() (in module [Link]), 27 state_move_up() (in module [Link]), 19
spline_weight_set() (in module [Link]), 27 StateActuator (class in [Link]), 855
SplineBezierPoints (class in [Link]), 848 states ([Link] attribute), 331
SplineIKConstraint (class in [Link]), 848 states ([Link] attribute), 855
SplinePoint (class in [Link]), 850 states_initial ([Link] attribute),
SplinePoints (class in [Link]), 851 423

1272 Index
Blender Index, Release 2.57.0 r36138 - API

states_visible ([Link] attribute), strobe ([Link] attribute), 581


424 strobe ([Link] attribute), 584
statistics() ([Link] method), 741 strobe ([Link] attribute), 753
status ([Link] attribute), 1089 stroke_method ([Link] attribute), 232
status ([Link].SCA_ISensor attribute), 1093 Struct (class in [Link]), 859
step_count ([Link] attribute), 462 [Link] (in module [Link]), 859
step_max ([Link] attribute), 462 [Link] (in module [Link]), 859
step_max ([Link] attribute), 810 [Link] (in module [Link]), 859
step_method ([Link] attribute), 539 [Link] (in module [Link]), 859
step_min ([Link] attribute), 462 [Link] (in module [Link]), 859
step_min ([Link] attribute), 810 Struct.name_property (in module [Link]), 859
step_size ([Link] attribute), 539 [Link] (in module [Link]), 859
steps ([Link] attribute), 643 [Link] (in module [Link]), 859
steps ([Link] attribute), 759 structural_stiffness ([Link] attribute),
stereo ([Link] attribute), 746 251
stereo_eye_separation ([Link] structural_stiffness_max ([Link] at-
attribute), 746 tribute), 251
stereo_mode ([Link] attribute), 747 stucci_type ([Link] attribute), 860
stickness ([Link] attribute), 257 StucciTexture (class in [Link]), 860
sticky_add() (in module [Link]), 62 StucciTexture.users_material (in module [Link]), 860
sticky_remove() (in module [Link]), 62 StucciTexture.users_object_modifier (in module
sticky_select_mode ([Link] attribute), [Link]), 860
838 style_set() (in module [Link]), 35
stiff_viscosity ([Link] attribute), style_toggle() (in module [Link]), 36
737 subdivide() (in module [Link]), 19
stiffness ([Link] attribute), 571 subdivide() (in module [Link]), 27
stiffness ([Link] attribute), 738 subdivide() (in module [Link]), 62
still_frame ([Link] attribute), 1010 subdivide() (in module [Link]), 91
stitch() (in module [Link]), 129 subdivision_set() (in module [Link]), 83
stl() (in module [Link].export_mesh), 28 subdivision_type ([Link] attribute),
stl() (in module [Link].import_mesh), 46 586
stopDSP() (in module [Link]), 1166 subdivision_type ([Link] attribute),
streaks ([Link] attribute), 289 862
strength ([Link] attribute), 221 subframes ([Link] attribute), 661
strength ([Link] attribute), 232 subject ([Link].KX_NetworkMessageActuator at-
strength ([Link] attribute), 349 tribute), 1118
strength ([Link] attribute), 401 subject ([Link].KX_NetworkMessageSensor at-
strength ([Link] attribute), 396 tribute), 1118
strength ([Link] attribute), 643 subject ([Link] attribute), 566
strength ([Link] attribute), 803 subject ([Link] attribute), 567
stretchto_reset() (in module [Link]), 23 subjects ([Link].KX_NetworkMessageSensor at-
StretchToConstraint (class in [Link]), 856 tribute), 1118
string ([Link] attribute), 701 subsurf_levels ([Link] attribute),
StringProperty (class in [Link]), 857 799
StringProperty() (in module [Link]), 1045 SubsurfModifier (class in [Link]), 862
[Link] (in module [Link]), 857 subtarget ([Link].BL_ArmatureActuator attribute),
StringProperty.length_max (in module [Link]), 858 1153
strip_time ([Link] attribute), 592 subtarget ([Link].BL_ArmatureConstraint attribute),
strips ([Link] attribute), 919 1156
strips_selected ([Link] attribute), subtarget ([Link] attribute), 149
919 subtarget ([Link] attribute), 244
strobe ([Link] attribute), 368 subtarget ([Link] attribute), 327
strobe ([Link] attribute), 451 subtarget ([Link] attribute),
strobe ([Link] attribute), 573 333

Index 1273
Blender Index, Release 2.57.0 r36138 - API

subtarget ([Link] attribute), system ([Link] attribute), 675


334 system ([Link] attribute), 980
subtarget ([Link] attribute), 335 system_rotation ([Link] attribute), 980
subtarget ([Link] at-
tribute), 337 T
subtarget ([Link] attribute), tab_width ([Link] attribute), 835
346 TABKEY (in module [Link]), 1184
subtarget ([Link] attribute), 408 tag ([Link] attribute), 442
subtarget ([Link] attribute), 441 tag() ([Link] method), 186
subtarget ([Link] attribute), 489 tag() ([Link] method), 187
subtarget ([Link] attribute), tag() ([Link] method), 188
501 tag() ([Link] method), 189
subtarget ([Link] attribute), tag() ([Link] method), 190
507 tag() ([Link] method), 191
subtarget ([Link] attribute), 676 tag() ([Link] method), 192
subtarget ([Link] attribute), 856 tag() ([Link] method), 193
subtarget ([Link] attribute), 948 tag() ([Link] method), 194
subtarget ([Link] attribute), 950 tag() ([Link] method), 195
sun_brightness ([Link] attribute), tag() ([Link] method), 196
493 tag() ([Link] method), 197
sun_intensity ([Link] attribute), 493 tag() ([Link] method), 198
sun_size ([Link] attribute), 493 tag() ([Link] method), 199
SunLamp (class in [Link]), 863 tag() ([Link] method), 200
[Link] (in module [Link]), 863 tag() ([Link] method), 201
sunsky_preset_add() (in module [Link]), 48 tag() ([Link] method), 202
surface_smooth ([Link] at- tag() ([Link] method), 203
tribute), 353 tag() ([Link] method), 205
surface_subdivisions ([Link] at- tag() ([Link] method), 206
tribute), 353 tag() ([Link] method), 207
SurfaceCurve (class in [Link]), 864 tag() ([Link] method), 208
SurfaceModifier (class in [Link]), 866 tag() ([Link] method),
suspend() ([Link].KX_Scene method), 1133 209
suspendDynamics() ([Link].KX_GameObject tag() ([Link] method), 210
method), 1108 tag_redraw() ([Link] method), 166
suspended ([Link].KX_Scene attribute), 1132 tag_redraw() ([Link] method), 711
svg() (in module [Link].import_curve), 45 tail ([Link].BL_ArmatureBone attribute), 1162
swap() ([Link] method), 765 tail ([Link] attribute), 224
swap() (in module [Link]), 65 tail ([Link] attribute), 364
swap() (in module [Link]), 107 tail_local ([Link] attribute), 224
swap_data() (in module [Link]), 107 tail_radius ([Link] attribute), 224
swap_inputs() (in module [Link]), 107 tail_radius ([Link] attribute), 364
switch_direction() (in module [Link]), 19 tangent_factor ([Link] attribute), 661
switch_direction() (in module [Link]), 27 tangent_phase ([Link] attribute), 661
sync_mode ([Link] attribute), 740 tap ([Link].SCA_ISensor attribute), 1092
syntax_builtin ([Link] attribute), taper_object ([Link] attribute), 339
928 target ([Link].BL_ArmatureActuator attribute), 1153
syntax_comment ([Link] attribute), target ([Link].BL_ArmatureConstraint attribute), 1156
928 target ([Link] attribute), 149
syntax_numbers ([Link] attribute), target ([Link] attribute), 172
928 target ([Link] attribute), 244
syntax_special ([Link] attribute), target ([Link] attribute), 246
929 target ([Link] attribute), 327
syntax_string ([Link] attribute), 929 target ([Link] attribute), 333
sysinfo() (in module [Link]), 145 target ([Link] attribute), 334

1274 Index
Blender Index, Release 2.57.0 r36138 - API

target ([Link] attribute), 335 template_reports_banner() ([Link] method),


target ([Link] attribute), 976
337 template_running_jobs() ([Link] method),
target ([Link] attribute), 346 976
target ([Link] attribute), 408 template_vectorscope() ([Link] method),
target ([Link] attribute), 412 975
target ([Link] attribute), 479 template_waveform() ([Link] method), 975
target ([Link] attribute), 489 temporary_directory ([Link]
target ([Link] attribute), 501 attribute), 988
target ([Link] attribute), 508 tesselate_polygon() (in module [Link]),
target ([Link] attribute), 676 1079
target ([Link] attribute), test_break() ([Link] method), 715
735 test_type ([Link] attribute), 176
target ([Link] attribute), 797 texco_mesh ([Link] attribute), 545
target ([Link] attribute), 799 TexMapping (class in [Link]), 867
target ([Link] attribute), 849 texspace_location ([Link] attribute), 339
target ([Link] attribute), 857 texspace_location ([Link] attribute), 545
target ([Link] attribute), 948 texspace_location ([Link] attribute), 568
target ([Link] attribute), 950 texspace_size ([Link] attribute), 339
target_count ([Link] attribute), 703 texspace_size ([Link] attribute), 545
target_move_down() (in module [Link]), 91 texspace_size ([Link] attribute), 569
target_move_up() (in module [Link]), 91 text ([Link] attribute), 639
target_remove() (in module [Link]), 91 text ([Link] attribute), 703
target_space ([Link] attribute), 323 text ([Link] attribute), 704
targetProperty ([Link].SCA_KeyboardSensor at- text ([Link] attribute), 836
tribute), 1144 text ([Link] attribute), 902
tempdir (in module [Link]), 1040 text ([Link] attribute), 905
temperature ([Link] attribute), text ([Link] attribute), 907
804 text ([Link] attribute), 909
template_any_ID() ([Link] method), 973 text ([Link] attribute), 913
template_color_ramp() ([Link] method), text ([Link] attribute), 914
974 text ([Link] attribute), 916
template_color_wheel() ([Link] method), text ([Link] attribute), 917
975 text ([Link] attribute), 919
template_constraint() ([Link] method), 974 text ([Link] attribute), 921
template_curve_mapping() ([Link] text ([Link] attribute), 923
method), 974 text ([Link] attribute), 924
template_header() ([Link] method), 973 text ([Link] attribute), 926
template_header_3D() ([Link] method), 976 text ([Link] attribute), 929
template_histogram() ([Link] method), 975 text ([Link] attribute), 930
template_ID() ([Link] method), 973 text ([Link] attribute), 933
template_ID_preview() ([Link] method), text ([Link].ThemeView3D attribute), 936
973 text ([Link] attribute), 938
template_image() ([Link] method), 976 Text (class in [Link]), 868
template_image_layers() ([Link] method), Text.current_character (in module [Link]), 868
976 Text.current_line (in module [Link]), 868
template_layers() ([Link] method), 975 Text.is_dirty (in module [Link]), 868
template_list() ([Link] method), 976 Text.is_in_memory (in module [Link]), 868
template_modifier() ([Link] method), 974 Text.is_modified (in module [Link]), 868
template_operator_search() ([Link] [Link] (in module [Link]), 868
method), 976 [Link] (in module [Link]), 868
template_path_builder() ([Link] method), Text.select_end_character (in module [Link]), 868
974 Text.select_end_line (in module [Link]), 868
template_preview() ([Link] method), 974 Text.users_logic (in module [Link]), 869

Index 1275
Blender Index, Release 2.57.0 r36138 - API

text_add() (in module [Link]), 83 texture (in module [Link]), 8


text_copy() (in module [Link]), 36 Texture.animation_data (in module [Link]), 877
text_cut() (in module [Link]), 36 Texture.color_ramp (in module [Link]), 877
text_hi ([Link] attribute), 902 Texture.node_tree (in module [Link]), 877
text_hi ([Link] attribute), 905 Texture.users_material (in module [Link]), 878
text_hi ([Link] attribute), 907 Texture.users_object_modifier (in module [Link]), 878
text_hi ([Link] attribute), 909 texture_angle_source_no_random ([Link] at-
text_hi ([Link] attribute), 913 tribute), 233
text_hi ([Link] attribute), 915 texture_angle_source_random ([Link] at-
text_hi ([Link] attribute), 916 tribute), 233
text_hi ([Link] attribute), 917 texture_collection_rate ([Link]
text_hi ([Link] attribute), 919 attribute), 992
text_hi ([Link] attribute), 921 texture_context ([Link] attribute), 832
text_hi ([Link] attribute), 923 texture_coordinate_object ([Link]
text_hi ([Link] attribute), 924 attribute), 350
text_hi ([Link] attribute), 926 texture_coords ([Link] attribute),
text_hi ([Link] attribute), 929 350
text_hi ([Link] attribute), 930 texture_coords ([Link] attribute),
text_hi ([Link] attribute), 933 494
text_hi ([Link].ThemeView3D attribute), 937 texture_coords ([Link] attribute),
text_insert() (in module [Link]), 36 534
text_paste() (in module [Link]), 36 texture_coords ([Link] at-
text_sel ([Link] attribute), 938 tribute), 665
TextBox (class in [Link]), 870 texture_coords ([Link] attribute), 1012
textbox_add() (in module [Link]), 36 texture_coords ([Link] attribute),
textbox_remove() (in module [Link]), 36 1028
TextCharacterFormat (class in [Link]), 871 texture_coords_object ([Link] at-
TextCurve (class in [Link]), 872 tribute), 1012
TextCurve.body_format (in module [Link]), 872 texture_directory ([Link] at-
TextCurve.edit_format (in module [Link]), 872 tribute), 988
TextCurve.text_boxes (in module [Link]), 873 texture_factor ([Link]
TextLine (class in [Link]), 875 attribute), 531
TextMarker (class in [Link]), 875 texture_mesh ([Link] attribute), 545
TextMarker.character_index_end (in module [Link]), texture_mode ([Link] attribute), 401
875 texture_nabla ([Link] attribute), 401
TextMarker.character_index_start (in module [Link]), texture_overlay_alpha ([Link] attribute), 233
876 texture_paint_radial_control() (in module [Link]),
[Link] (in module [Link]), 876 88
TextMarker.is_temporary (in module [Link]), 876 texture_paint_toggle() (in module [Link]), 88
[Link] (in module [Link]), 876 texture_plugin_directory ([Link]
TextMarker.use_edit_all (in module [Link]), 876 attribute), 988
texture ([Link].KX_PolygonMaterial attribute), 1125 texture_sample_bias ([Link] attribute), 233
texture ([Link].KX_PolyProxy attribute), 1121 texture_slot (in module [Link]), 8
texture ([Link] attribute), 232 texture_time_out ([Link] at-
texture ([Link] attribute), tribute), 992
312 texture_type ([Link] attribute), 830
texture ([Link] attribute), 349 TextureNode (class in [Link]), 879
texture ([Link] attribute), 371 [Link] (in module [Link]), 879
texture ([Link] attribute), 401 TextureNodeBricks (class in [Link]), 880
texture ([Link] attribute), 786 TextureNodeChecker (class in [Link]), 881
texture ([Link] attribute), 893 TextureNodeCompose (class in [Link]), 881
texture ([Link] attribute), 899 TextureNodeCoordinates (class in [Link]), 882
texture ([Link] attribute), 1012 TextureNodeCurveRGB (class in [Link]), 883
Texture (class in [Link]), 877

1276 Index
Blender Index, Release 2.57.0 r36138 - API

[Link] (in module [Link]), ThemeGraphEditor (class in [Link]), 911


883 ThemeImageEditor (class in [Link]), 914
TextureNodeCurveTime (class in [Link]), 884 ThemeInfo (class in [Link]), 915
[Link] (in module [Link]), 884 ThemeLogicEditor (class in [Link]), 917
TextureNodeDecompose (class in [Link]), 884 ThemeNLAEditor (class in [Link]), 918
TextureNodeDistance (class in [Link]), 885 ThemeNodeEditor (class in [Link]), 920
TextureNodeHueSaturation (class in [Link]), 886 ThemeOutliner (class in [Link]), 922
TextureNodeImage (class in [Link]), 886 ThemeProperties (class in [Link]), 923
TextureNodeInvert (class in [Link]), 887 ThemeSequenceEditor (class in [Link]), 925
TextureNodeMath (class in [Link]), 888 ThemeStyle (class in [Link]), 927
TextureNodeMixRGB (class in [Link]), 889 ThemeStyle.group_label (in module [Link]), 927
TextureNodeOutput (class in [Link]), 890 ThemeStyle.panel_title (in module [Link]), 927
TextureNodeRGBToBW (class in [Link]), 890 [Link] (in module [Link]), 927
TextureNodeRotate (class in [Link]), 891 ThemeStyle.widget_label (in module [Link]), 927
TextureNodes (class in [Link]), 897 ThemeTextEditor (class in [Link]), 928
TextureNodeScale (class in [Link]), 892 ThemeTimeline (class in [Link]), 929
TextureNodeTexture (class in [Link]), 892 ThemeUserInterface (class in [Link]), 931
TextureNodeTranslate (class in [Link]), 893 ThemeUserInterface.wcol_box (in module [Link]),
TextureNodeTree (class in [Link]), 894 931
[Link] (in module [Link]), 894 ThemeUserInterface.wcol_list_item (in module
TextureNodeValToNor (class in [Link]), 895 [Link]), 931
TextureNodeValToRGB (class in [Link]), 896 ThemeUserInterface.wcol_menu (in module [Link]),
TextureNodeValToRGB.color_ramp (in module 931
[Link]), 896 ThemeUserInterface.wcol_menu_back (in module
TextureNodeViewer (class in [Link]), 896 [Link]), 931
TextureSlot (class in [Link]), 898 ThemeUserInterface.wcol_menu_item (in module
[Link] (in module [Link]), 899 [Link]), 931
tface ([Link].KX_PolygonMaterial attribute), 1125 ThemeUserInterface.wcol_num (in module [Link]),
Theme (class in [Link]), 900 931
Theme.bone_color_sets (in module [Link]), 900 ThemeUserInterface.wcol_numslider (in module
[Link] (in module [Link]), 900 [Link]), 931
Theme.dopesheet_editor (in module [Link]), 900 ThemeUserInterface.wcol_option (in module [Link]),
Theme.file_browser (in module [Link]), 900 931
Theme.graph_editor (in module [Link]), 900 ThemeUserInterface.wcol_progress (in module
Theme.image_editor (in module [Link]), 900 [Link]), 931
[Link] (in module [Link]), 900 ThemeUserInterface.wcol_pulldown (in module
Theme.logic_editor (in module [Link]), 900 [Link]), 931
Theme.nla_editor (in module [Link]), 900 ThemeUserInterface.wcol_radio (in module [Link]),
Theme.node_editor (in module [Link]), 900 932
[Link] (in module [Link]), 900 ThemeUserInterface.wcol_regular (in module [Link]),
[Link] (in module [Link]), 900 932
Theme.sequence_editor (in module [Link]), 901 ThemeUserInterface.wcol_scroll (in module [Link]),
Theme.text_editor (in module [Link]), 901 932
[Link] (in module [Link]), 901 ThemeUserInterface.wcol_state (in module [Link]),
Theme.user_interface (in module [Link]), 901 932
Theme.user_preferences (in module [Link]), 901 ThemeUserInterface.wcol_text (in module [Link]),
Theme.view_3d (in module [Link]), 901 932
theme_area ([Link] attribute), 901 ThemeUserInterface.wcol_toggle (in module [Link]),
ThemeAudioWindow (class in [Link]), 902 932
ThemeBoneColorSet (class in [Link]), 903 ThemeUserInterface.wcol_tool (in module [Link]),
ThemeConsole (class in [Link]), 904 932
ThemeDopeSheet (class in [Link]), 906 ThemeUserPreferences (class in [Link]), 933
ThemeFileBrowser (class in [Link]), 908 ThemeView3D (class in [Link]), 934
ThemeFontStyle (class in [Link]), 910 ThemeWidgetColors (class in [Link]), 938

Index 1277
Blender Index, Release 2.57.0 r36138 - API

ThemeWidgetStateColors (class in [Link]), 939 TimelineMarker (class in [Link]), 940


thickness ([Link] attribute), 813 TimelineMarkers (class in [Link]), 941
thickness_inner ([Link] attribute), timeOffset ([Link].KX_GameObject attribute), 1104
257 Timer (class in [Link]), 942
thickness_outer ([Link] attribute), Timer.time_delta (in module [Link]), 942
258 Timer.time_duration (in module [Link]), 942
threads ([Link] attribute), 729 Timer.time_step (in module [Link]), 942
threads_mode ([Link] attribute), 729 timestep ([Link] attribute), 661
THREEKEY (in module [Link]), 1182 tip_size ([Link] attribute), 530
threshold ([Link].SCA_JoystickSensor attribute), title ([Link] attribute), 902
1143 title ([Link] attribute), 905
threshold ([Link] at- title ([Link] attribute), 907
tribute), 269 title ([Link] attribute), 909
threshold ([Link] attribute), title ([Link] attribute), 913
282 title ([Link] attribute), 915
threshold ([Link] attribute), title ([Link] attribute), 916
289 title ([Link] attribute), 917
threshold ([Link] attribute), 430 title ([Link] attribute), 919
threshold ([Link] attribute), 569 title ([Link] attribute), 921
threshold ([Link] attribute), 1024 title ([Link] attribute), 923
tile ([Link].KX_PolygonMaterial attribute), 1125 title ([Link] attribute), 924
tile_set() (in module [Link]), 130 title ([Link] attribute), 926
tiles ([Link] attribute), 909 title ([Link] attribute), 929
tiles_x ([Link] attribute), 447 title ([Link] attribute), 930
tiles_y ([Link] attribute), 447 title ([Link] attribute), 933
tilexrep ([Link].KX_PolygonMaterial attribute), 1125 title ([Link].ThemeView3D attribute), 937
tileyrep ([Link].KX_PolygonMaterial attribute), 1125 TKEY (in module [Link]), 1182
tilt ([Link] attribute), 182 to_2d() ([Link] method), 1059
tilt ([Link] attribute), 796 to_3d() ([Link] method), 1059
tilt ([Link] attribute), 850 to_3d_object() (in module [Link]), 115
tilt() (in module [Link]), 121 to_3x3() ([Link] method), 1052
tilt_clear() (in module [Link]), 27 to_4d() ([Link] method), 1059
tilt_interpolation ([Link] attribute), 846 to_4x4() ([Link] method), 1052
time ([Link].KX_ConstraintActuator attribute), 1101 to_euler() ([Link] method), 1052
time ([Link].KX_SCA_AddObjectActuator attribute), to_euler() ([Link] method), 1055
1130 to_matrix() ([Link] method), 1049
time ([Link].KX_TrackToActuator attribute), 1135 to_matrix() ([Link] method), 1055
time ([Link] attribute), 326 to_max_x ([Link] attribute), 950
time ([Link] attribute), 367 to_max_y ([Link] attribute), 950
time ([Link] attribute), 630 to_max_z ([Link] attribute), 950
time ([Link] attribute), 632 to_mesh() ([Link] method), 612
time ([Link] attribute), 648 to_min_x ([Link] attribute), 950
time ([Link] attribute), 651 to_min_y ([Link] attribute), 951
time ([Link] attribute), 675 to_min_z ([Link] attribute), 951
time_factor ([Link] to_property ([Link] attribute), 566
attribute), 666 to_quaternion() ([Link] method), 1049
time_offset ([Link] attribute), 611 to_quaternion() ([Link] method), 1052
time_offset ([Link] attribute), 1013 to_scale() ([Link] method), 1052
time_scale ([Link] attribute), to_track_quat() ([Link] method), 1059
803 to_translation() ([Link] method), 1052
time_toggle() (in module [Link]), 16 to_tuple() ([Link] method), 1059
time_tweak ([Link] attribute), 661 toggleProperty ([Link].SCA_KeyboardSensor at-
timecode_style ([Link] at- tribute), 1144
tribute), 996

1278 Index
Blender Index, Release 2.57.0 r36138 - API

tolerance ([Link] at- transition_type ([Link] attribute), 1018


tribute), 269 translate() ([Link] method), 226
tolerance ([Link] at- translate() ([Link] method), 366
tribute), 283 translate() ([Link] method), 694
tolerance ([Link] at- translate() (in module [Link]), 123
tribute), 285 translate_start_x ([Link] at-
tonemap_type ([Link] at- tribute), 953
tribute), 314 translate_start_y ([Link] at-
tool ([Link] attribute), 646 tribute), 953
toolbox() (in module [Link]), 21 Translation() ([Link] class method), 1050
toolbox() (in module [Link]), 44 translation_unit ([Link] attribute),
ToolSettings (class in [Link]), 943 953
ToolSettings.image_paint (in module [Link]), 944 translucency ([Link] attribute), 519
ToolSettings.particle_edit (in module [Link]), 944 translucency_factor ([Link] at-
[Link] (in module [Link]), 944 tribute), 534
ToolSettings.vertex_paint (in module [Link]), 946 transmission_color ([Link] attribute),
ToolSettings.weight_paint (in module [Link]), 946 539
toolshelf() (in module [Link].view3d), 134 transmission_color_factor
torque ([Link].KX_ObjectActuator attribute), 1119 ([Link] attribute),
torque ([Link] attribute), 617 534
tosphere() (in module [Link]), 121 transparency_method ([Link] attribute), 519
TouchSensor (class in [Link]), 947 transparent ([Link].KX_PolygonMaterial attribute),
tracer_particles ([Link] at- 1126
tribute), 353 transpose() ([Link] method), 1053
track_axis ([Link] attribute), transposed() ([Link] method), 1053
346 tree_type ([Link] attribute), 830
track_axis ([Link] attribute), triangle ([Link].KX_PolygonMaterial attribute), 1126
508 triggered ([Link].SCA_ISensor attribute), 1093
track_axis ([Link] attribute), 611 tris_convert_to_quads() (in module [Link]), 63
track_axis ([Link] attribute), 948 turbulence ([Link] attribute), 372
track_clear() (in module [Link]), 83 turbulence ([Link] attribute), 510
track_object ([Link] attribute), turbulence ([Link] attribute), 513
367 turbulence ([Link] attribute), 860
track_set() (in module [Link]), 83 turbulence ([Link] attribute), 1020
trackball() (in module [Link]), 122 turbulence_depth ([Link] attribute), 683
tracks_add() (in module [Link]), 66 turbulence_influence ([Link] attribute),
TrackToConstraint (class in [Link]), 948 683
trail_count ([Link] attribute), 661 turbulence_scale ([Link] attribute), 683
transform ([Link].ThemeView3D attribute), 937 turbulence_strength ([Link] attribute),
transform() ([Link] method), 365 683
transform() ([Link] method), 546 tweakmode_enter() (in module [Link]), 66
transform() (in module [Link]), 122 tweakmode_exit() (in module [Link]), 66
transform_channel ([Link] at- twist_mode ([Link] attribute), 339
tribute), 149 twist_smooth ([Link] attribute), 339
transform_orientation ([Link].SpaceView3D at- TWOKEY (in module [Link]), 1182
tribute), 842 type ([Link].BL_ArmatureActuator attribute), 1153
transform_type ([Link] attribute), 359 type ([Link].BL_ArmatureConstraint attribute), 1155
TransformConstraint (class in [Link]), 949 type ([Link].KX_ArmatureSensor attribute), 1154
TransformOrientation (class in [Link]), 952 type ([Link].KX_LightObject attribute), 1113
transforms_clear() (in module [Link]), 95 type ([Link] attribute), 154
TransformSequence (class in [Link]), 952 type ([Link] attribute), 162
transition_add() (in module [Link]), 66 type ([Link] attribute), 164
transition_strip ([Link] at- type ([Link] attribute), 166
tribute), 926 type ([Link] attribute), 240

Index 1279
Blender Index, Release 2.57.0 r36138 - API

type ([Link] attribute), 331 unspill_green ([Link] at-


type ([Link] attribute), 357 tribute), 273
type ([Link] attribute), 360 unspill_red ([Link]
type ([Link] attribute), 401 attribute), 273
type ([Link] attribute), 410 unwrap() (in module [Link]), 130
type ([Link] attribute), 426 up_axis ([Link] attribute), 412
type ([Link] attribute), 480 up_axis ([Link] attribute), 611
type ([Link] attribute), 471 up_axis ([Link] attribute), 948
type ([Link] attribute), 491 UPARROWKEY (in module [Link]), 1183
type ([Link] attribute), 519 update() ([Link].BL_ArmatureObject method), 1152
type ([Link] attribute), 571 update() ([Link] method), 448
type ([Link] attribute), 646 update() ([Link] method), 546
type ([Link] attribute), 661 update() ([Link] method), 742
type ([Link] attribute), 762 update_data_paths() (in module [Link]), 16
type ([Link] attribute), 846 update_method ([Link] attribute), 569
type ([Link] attribute), 877 update_result() ([Link] method), 715
type_recast() ([Link].bpy_struct method), 1037 update_stats() ([Link] method), 715
update_tag() ([Link] method), 442
U updateTexture() ([Link].KX_PolygonMaterial
u ([Link].KX_VertexProxy attribute), 1138 method), 1126
u2 ([Link].KX_VertexProxy attribute), 1138 url_open() (in module [Link]), 145
UILayout (class in [Link]), 954 use ([Link] attribute), 258
UKEY (in module [Link]), 1182 use ([Link] attribute), 330
uncomment() (in module [Link]), 115 use ([Link] attribute), 409
underline_height ([Link] attribute), 873 use ([Link] attribute), 458
underline_position ([Link] attribute), 873 use ([Link] attribute), 526
undo() (in module [Link]), 28 use ([Link] attribute),
undo_memory_limit ([Link] at- 531
tribute), 984 use ([Link] attribute), 534
undo_push() (in module [Link]), 28 use ([Link] attribute), 622
undo_steps ([Link] attribute), use ([Link] attribute), 634
984 use ([Link] attribute), 750
unindent() (in module [Link]), 115 use ([Link] attribute), 998
UnitSettings (class in [Link]), 980 use3D ([Link].KX_TrackToActuator attribute), 1135
UnknownType (class in [Link]), 981 use_2d_force ([Link] attribute), 402
unlink() ([Link] method), 154 use_3d_tracking ([Link] at-
unlink() ([Link] method), 331 tribute), 367
unlink() ([Link] method), 436 use_absolute ([Link] attribute),
unlink() ([Link] method), 748 804
unlink() ([Link] method), 762 use_absolute_path_time ([Link] at-
unlink() (in module [Link]), 36 tribute), 662
unlink() (in module [Link]), 96 use_absorption ([Link] attribute), 402
unlink() (in module [Link]), 115 use_accumulate ([Link] attribute), 233
unlink_selected() (in module [Link]), 130 use_activity_culling ([Link] at-
unlock() (in module [Link]), 107 tribute), 424
unmute() (in module [Link]), 107 use_activity_culling ([Link] at-
unpack() (in module [Link]), 44 tribute), 747
unpack() (in module [Link]), 109 use_actor ([Link] attribute), 424
unpack_all() (in module [Link]), 33 use_adaptive_space ([Link] attribute), 233
unprojected_radius ([Link] attribute), 233 use_add_linear_velocity ([Link] at-
unregister_class() (in module [Link]), 1038 tribute), 617
unregister_module() (in module [Link]), 1038 use_additive ([Link] attribute), 385
unspill_blue ([Link] at- use_additive ([Link] at-
tribute), 273 tribute), 393

1280 Index
Blender Index, Release 2.57.0 r36138 - API

use_additive ([Link] attribute), use_antialiasing ([Link] at-


394 tribute), 992
use_advanced_hair ([Link] attribute), use_apply_on_spline ([Link] attribute), 577
662 use_as_speed ([Link] at-
use_airbrush ([Link] attribute), 233 tribute), 844
use_all_events ([Link] attribute), 464 use_atmosphere ([Link] attribute),
use_all_faces ([Link] attribute), 1005 493
use_all_keys ([Link] attribute), 479 use_audio ([Link] attribute), 741
use_all_states ([Link] attribute), use_audio_scrub ([Link] attribute), 741
424 use_audio_sync ([Link] attribute), 741
use_all_z ([Link] attribute), 750 use_auto_blend ([Link] attribute), 593
use_alpha ([Link] attribute), 233 use_auto_clip_end ([Link] attribute), 854
use_alpha ([Link] at- use_auto_clip_start ([Link] attribute), 854
tribute), 299 use_auto_handle_clamp ([Link] attribute),
use_alpha ([Link] at- 383
tribute), 319 use_auto_ik ([Link] attribute), 170
use_alpha ([Link] attribute), 454 use_auto_keying ([Link] at-
use_alpha ([Link] attribute), tribute), 984
780 use_auto_merge_keyframes
use_alpha ([Link] attribute), ([Link] attribute),
889 821
use_alpha_sort ([Link] attribute), use_auto_merge_keyframes
561 ([Link] attribute), 823
use_always_true ([Link] attribute), use_auto_normalize ([Link] attribute),
708 945
use_ambient_occlusion ([Link] at- use_auto_perspective ([Link]
tribute), 1024 attribute), 996
use_anchor ([Link] attribute), 233 use_auto_refresh ([Link] at-
use_angular_limit_x ([Link] tribute), 292
attribute), 735 use_auto_refresh ([Link] attribute), 457
use_angular_limit_y ([Link] use_auto_render ([Link] attribute),
attribute), 735 830
use_angular_limit_z ([Link] use_auto_save_temporary_files
attribute), 735 ([Link] attribute),
use_animated_influence ([Link] attribute), 988
593 use_auto_smooth ([Link] attribute), 545
use_animated_mesh ([Link] use_auto_start ([Link] attribute), 747
attribute), 409 use_auto_step ([Link] attribute), 462
use_animated_mesh ([Link] at- use_auto_step ([Link] attribute),
tribute), 458 811
use_animated_mesh ([Link] at- use_auto_texspace ([Link] attribute), 339
tribute), 622 use_auto_texspace ([Link] attribute), 545
use_animated_mesh ([Link] at- use_auto_texspace ([Link] attribute), 569
tribute), 634 use_auto_velocity ([Link] attribute), 646
use_animated_time ([Link] attribute), 593 use_avoid ([Link] attribute),
use_animated_time_cyclic ([Link] attribute), 216
593 use_avoid_collision ([Link]
use_animation ([Link] attribute), 447 attribute), 216
use_animation_record ([Link] use_backface_culling ([Link] attribute),
attribute), 747 449
use_anisotropic_friction ([Link] use_bake_antialiasing ([Link] at-
attribute), 424 tribute), 729
use_antialiasing ([Link] attribute), 729 use_bake_clear ([Link] attribute), 729

Index 1281
Blender Index, Release 2.57.0 r36138 - API

use_bake_normalize ([Link] attribute), use_collision ([Link] attribute), 561


729 use_collision_bounds ([Link] at-
use_bake_selected_to_active ([Link] tribute), 424
attribute), 729 use_collision_compound ([Link]
use_bending_constraints ([Link] attribute), 424
attribute), 427 use_color_balance ([Link] attribute),
use_bezier_u ([Link] attribute), 846 369
use_bezier_v ([Link] attribute), 847 use_color_balance ([Link] attribute),
use_billboard ([Link] attribute), 561 451
use_bitmap_text ([Link] attribute), use_color_balance ([Link] attribute),
561 573
use_blend_shared ([Link] attribute), use_color_balance ([Link] attribute),
561 581
use_blender_units ([Link] attribute), use_color_balance ([Link] at-
530 tribute), 584
use_bokeh ([Link] attribute), use_color_balance ([Link] attribute),
266 754
use_bold ([Link] attribute), 871 use_color_management ([Link]
use_bone_envelopes ([Link] attribute), 730
attribute), 175 use_color_ramp ([Link] attribute), 877
use_bone_sketching ([Link] attribute), use_compositing ([Link] attribute),
945 730
use_border ([Link] attribute), 729 use_compound ([Link] attribute), 641
use_box_clip ([Link].RegionView3D attribute), 712 use_connect ([Link] attribute), 364
use_cache ([Link] attribute), 1025 use_constant_offset ([Link] attribute),
use_calculate_alpha ([Link] attribute), 178
454 use_continue_last_frame ([Link] at-
use_cast_approximate ([Link] attribute), 519 tribute), 148
use_cast_buffer_shadows ([Link] attribute), use_continue_last_frame
519 ([Link] attribute),
use_cast_shadows_only ([Link] attribute), 793
519 use_crop ([Link] attribute), 369
use_chain_offset ([Link] at- use_crop ([Link] attribute), 451
tribute), 849 use_crop ([Link] attribute), 573
use_checker_even ([Link] attribute), use_crop ([Link] attribute), 581
454 use_crop ([Link] attribute), 584
use_checker_odd ([Link] attribute), 454 use_crop ([Link] attribute), 754
use_children ([Link] at- use_crop_size ([Link] at-
tribute), 650 tribute), 278
use_cineon_log ([Link] attribute), 730 use_crop_to_border ([Link] attribute),
use_clamp_x ([Link] attribute), 447 730
use_clamp_y ([Link] attribute), 447 use_cubic ([Link] attribute), 519
use_climb ([Link] attribute), 221 use_curve_follow ([Link] at-
use_clip ([Link] attribute), 343 tribute), 412
use_clip ([Link] attribute), 575 use_curve_radius ([Link]
use_clone_layer ([Link] attribute), 449 attribute), 412
use_cluster_rigid_to_softbody use_curve_radius ([Link] at-
([Link] attribute), tribute), 849
427 use_curved ([Link] at-
use_cluster_soft_to_softbody tribute), 318
([Link] attribute), use_custom_icon ([Link] attribute), 233
427 use_cyclic ([Link] attribute), 247
use_collision ([Link] at- use_cyclic ([Link] attribute),
tribute), 248 292

1282 Index
Blender Index, Release 2.57.0 r36138 - API

use_cyclic ([Link] attribute), 457 use_drag_immediately ([Link]


use_cyclic ([Link] attribute), 1013 attribute), 984
use_cyclic_offset ([Link] attribute), 225 use_drops ([Link] attribute), 647
use_cyclic_offset ([Link] attribute), 364 use_dupli_faces_scale ([Link] attribute), 611
use_cyclic_u ([Link] attribute), 847 use_dupli_frames_speed ([Link] attribute), 611
use_cyclic_v ([Link] attribute), 847 use_dupli_vertices_rotation ([Link] attribute),
use_dead ([Link] attribute), 662 611
use_debug ([Link] attribute), 704 use_duplicate_action ([Link] at-
use_default_fade ([Link] attribute), 765 tribute), 984
use_default_interpolate ([Link] attribute), use_duplicate_armature ([Link]
646 attribute), 984
use_deform ([Link] attribute), 225 use_duplicate_curve ([Link] at-
use_deform ([Link] attribute), 364 tribute), 984
use_deform_bounds ([Link] attribute), 339 use_duplicate_fcurve ([Link] at-
use_deform_delay ([Link] attribute), 171 tribute), 984
use_deform_envelopes ([Link] attribute), use_duplicate_lamp ([Link] at-
171 tribute), 985
use_deform_preserve_volume ([Link] at- use_duplicate_material ([Link]
tribute), 171 attribute), 985
use_deform_preserve_volume use_duplicate_mesh ([Link] at-
([Link] attribute), 175 tribute), 985
use_deform_vertex_groups ([Link] at- use_duplicate_metaball ([Link]
tribute), 171 attribute), 985
use_deinterlace ([Link] attribute), 369 use_duplicate_particle ([Link]
use_deinterlace ([Link] attribute), 451 attribute), 985
use_deinterlace ([Link] attribute), 573 use_duplicate_surface ([Link] at-
use_deinterlace ([Link] attribute), tribute), 985
582 use_duplicate_text ([Link]
use_deinterlace ([Link] attribute), attribute), 985
584 use_duplicate_texture ([Link] at-
use_deinterlace ([Link] attribute), 754 tribute), 985
use_deprecation_warnings ([Link] use_dynamic_bind ([Link] at-
attribute), 747 tribute), 550
use_diagnose ([Link] attribute), 811 use_dynamic_rotation ([Link] at-
use_die_on_collision ([Link] at- tribute), 662
tribute), 662 use_edge_angle ([Link] attribute),
use_diffuse ([Link] attribute), 491 362
use_diffuse ([Link] at- use_edge_collision ([Link] at-
tribute), 774 tribute), 811
use_diffuse ([Link] attribute), use_edge_cut ([Link] attribute), 380
779 use_edge_enhance ([Link] attribute),
use_diffuse_ramp ([Link] attribute), 519 730
use_directional_menus ([Link] use_edge_enhance ([Link] at-
attribute), 996 tribute), 750
use_disk_cache ([Link] attribute), 680 use_edge_sharp ([Link] attribute),
use_display_lists ([Link] attribute), 362
747 use_edge_sharp ([Link] attribute), 551
use_dissolve_smoke ([Link] use_edge_to_edge ([Link] attribute), 233
attribute), 803 use_edges ([Link] attribute), 811
use_dissolve_smoke_log use_emit_random ([Link] attribute),
([Link] attribute), 662
803 use_emitter_deflect ([Link] attribute), 646
use_dither ([Link] attribute), 168 use_emulate_numpad ([Link]
attribute), 990

Index 1283
Blender Index, Release 2.57.0 r36138 - API

use_endpoint_u ([Link] attribute), 847 use_file_extension ([Link] attribute),


use_endpoint_v ([Link] attribute), 847 730
use_enter_edit_mode ([Link] at- use_fill_back ([Link] attribute), 340
tribute), 985 use_fill_deform ([Link] attribute), 340
use_entire_array ([Link] attribute), 484 use_fill_front ([Link] attribute), 340
use_envelope_multiply ([Link] attribute), 225 use_filter ([Link] attribute), 404
use_envelope_multiply ([Link] attribute), use_filter_blender ([Link] attribute),
364 404
use_environment_light ([Link] at- use_filter_case_sensitive ([Link]
tribute), 1025 attribute), 831
use_envmaps ([Link] attribute), 730 use_filter_complete ([Link] attribute),
use_estimate_matrix ([Link] at- 831
tribute), 811 use_filter_files ([Link] at-
use_etch_autoname ([Link] attribute), tribute), 988
945 use_filter_folder ([Link] attribute),
use_etch_overdraw ([Link] attribute), 404
945 use_filter_font ([Link] attribute),
use_etch_quick ([Link] attribute), 945 404
use_even_distribution ([Link] at- use_filter_image ([Link] attribute),
tribute), 662 404
use_even_divisions ([Link] use_filter_movie ([Link] attribute),
attribute), 849 404
use_even_offset ([Link] attribute), use_filter_script ([Link] attribute),
813 404
use_exr_half ([Link] at- use_filter_size_min ([Link]
tribute), 302 attribute), 376
use_exr_half ([Link] attribute), 730 use_filter_size_min ([Link] attribute),
use_external ([Link] attribute), 681 455
use_external_shadows ([Link] at- use_filter_sound ([Link] attribute),
tribute), 539 404
use_extreme_alpha ([Link] attribute), use_filter_text ([Link] attribute), 404
523 use_find_all ([Link] attribute), 836
use_face_collision ([Link] at- use_find_wrap ([Link] attribute), 836
tribute), 811 use_fit ([Link] attribute),
use_face_texture ([Link] attribute), 519 294
use_face_texture_alpha ([Link] attribute), use_fixed_location ([Link] at-
519 tribute), 412
use_fade_time ([Link] attribute), 646 use_fixed_texture ([Link] attribute), 233
use_fake_user ([Link] attribute), 442 use_flare_mode ([Link] attribute), 523
use_falloff ([Link] attribute), 1025 use_flight ([Link] attribute), 221
use_fancy_drawing ([Link] at- use_flip_axis ([Link] attribute), 211
tribute), 823 use_flip_axis ([Link] attribute), 455
use_fast_edit ([Link] attribute), 873 use_flip_x ([Link] attribute), 369
use_fh_normal ([Link] attribute), use_flip_x ([Link] attribute), 451
326 use_flip_x ([Link] attribute), 573
use_fh_normal ([Link] attribute), 525 use_flip_x ([Link] attribute), 582
use_fh_paralel_axis ([Link] use_flip_x ([Link] attribute), 584
attribute), 326 use_flip_x ([Link] attribute), 754
use_fields ([Link] attribute), 447 use_flip_y ([Link] attribute), 369
use_fields ([Link] attribute), 730 use_flip_y ([Link] attribute), 451
use_fields_still ([Link] attribute), 730 use_flip_y ([Link] attribute), 573
use_file_compression ([Link] use_flip_y ([Link] attribute), 582
attribute), 988 use_flip_y ([Link] attribute), 584
use_flip_y ([Link] attribute), 754

1284 Index
Blender Index, Release 2.57.0 r36138 - API

use_float ([Link] attribute), 369 use_glsl_ramps ([Link] attribute),


use_float ([Link] attribute), 452 747
use_float ([Link] attribute), 573 use_glsl_shaders ([Link] attribute),
use_float ([Link] attribute), 582 747
use_float ([Link] attribute), 584 use_glsl_shadows ([Link] attribute),
use_float ([Link] attribute), 754 747
use_floats ([Link] attribute), 648 use_goal ([Link] attribute), 811
use_force ([Link] attribute), 385 use_gravity ([Link] attribute), 741
use_force_distance ([Link] at- use_grease_pencil ([Link] at-
tribute), 326 tribute), 825
use_frame_blend ([Link] at- use_grease_pencil ([Link] at-
tribute), 844 tribute), 834
use_frame_drop ([Link] attribute), 741 use_grease_pencil_sessions ([Link] at-
use_frame_end ([Link] attribute), tribute), 945
398 use_grease_pencil_simplify_stroke
use_frame_rate ([Link] attribute), ([Link] attribute),
747 985
use_frame_start ([Link] attribute), use_grease_pencil_smooth_stroke
398 ([Link] attribute),
use_free_image_textures ([Link] at- 985
tribute), 730 use_group_count ([Link] attribute),
use_free_unused_nodes ([Link] 662
attribute), 730 use_group_pick_random ([Link] at-
use_from_dupli ([Link] at- tribute), 662
tribute), 534 use_guide_path_add ([Link] attribute),
use_from_original ([Link] at- 402
tribute), 534 use_guide_path_weight ([Link] at-
use_frontface ([Link] attribute), 233 tribute), 402
use_full_oversampling ([Link] attribute), 519 use_hair_bspline ([Link] attribute),
use_full_resolution ([Link] attribute), 756 662
use_full_sample ([Link] attribute), use_hair_dynamics ([Link] attribute),
730 671
use_gamma_correction ([Link] use_halo ([Link] attribute), 561
attribute), 266 use_halo ([Link] attribute), 750
use_gamma_correction ([Link].CompositorNodeDefocususe_halo ([Link] attribute), 854
attribute), 282 use_high_resolution ([Link]
use_ghost ([Link] attribute), 424 attribute), 803
use_ghost ([Link] attribute), 641 use_ik_limit_x ([Link] attribute), 693
use_global_coords ([Link] attribute), use_ik_limit_y ([Link] attribute), 693
402 use_ik_limit_z ([Link] attribute), 693
use_global_dupli ([Link] attribute), use_ik_linear_control ([Link] attribute),
662 693
use_global_pivot ([Link] use_ik_rotation_control ([Link] attribute),
attribute), 996 693
use_global_scene ([Link] use_image ([Link] attribute), 562
attribute), 996 use_image_override ([Link] at-
use_global_undo ([Link] at- tribute), 978
tribute), 985 use_image_paint ([Link] attribute),
use_glsl_extra_textures ([Link] at- 825
tribute), 747 use_image_pin ([Link] attribute),
use_glsl_lights ([Link] attribute), 825
747 use_in_air ([Link] attribute), 213
use_glsl_nodes ([Link] attribute), use_indirect_light ([Link] attribute),
747 1025

Index 1285
Blender Index, Release 2.57.0 r36138 - API

use_inherit_rotation ([Link] attribute), 225 use_line ([Link] attribute),


use_inherit_rotation ([Link] attribute), 364 217
use_inherit_scale ([Link] attribute), 225 use_lines ([Link] attribute), 523
use_inherit_scale ([Link] attribute), 365 use_linked_collision ([Link]
use_initial_rest_length ([Link] at- attribute), 736
tribute), 738 use_live_edit ([Link] attribute), 836
use_insertkey_xyz_to_rgb use_live_unwrap ([Link] attribute),
([Link] attribute), 838
985 use_load_ui ([Link] at-
use_instances ([Link] attribute), 731 tribute), 988
use_international_fonts ([Link] use_local ([Link] attribute), 326
attribute), 993 use_local ([Link] attribute), 385
use_interpolation ([Link] attribute), 455 use_local_angular_velocity
use_inverse_smooth_pressure ([Link] attribute), ([Link] attribute),
234 367
use_italic ([Link] attribute), 871 use_local_angular_velocity ([Link] at-
use_jitter ([Link] attribute), 168 tribute), 617
use_jitter ([Link] attribute), use_local_coords ([Link] at-
294 tribute), 458
use_keep_above_surface ([Link] use_local_coords ([Link] attribute),
attribute), 799 731
use_keyed_timing ([Link] attribute), use_local_force ([Link] attribute), 617
671 use_local_linear_velocity ([Link]
use_keyframe_insert_auto ([Link] attribute), 367
attribute), 945 use_local_linear_velocity ([Link] at-
use_keyframe_insert_available tribute), 618
([Link] attribute), use_local_location ([Link] attribute), 225
985 use_local_location ([Link] attribute), 365
use_keyframe_insert_keyingset ([Link] use_local_location ([Link] attribute),
attribute), 945 618
use_keyframe_insert_needed use_local_rotation ([Link] attribute),
([Link] attribute), 618
986 use_local_space_transform ([Link] at-
use_land ([Link] attribute), 221 tribute), 359
use_level ([Link] attribute), 762 use_local_torque ([Link] attribute),
use_library_path ([Link] attribute), 681 618
use_light ([Link] attribute), 562 use_location ([Link] attribute),
use_light_cache ([Link] attribute), 489
539 use_location_x ([Link] attribute),
use_light_group_exclusive ([Link] attribute), 244
519 use_location_y ([Link] attribute),
use_limit_x ([Link] at- 244
tribute), 505 use_location_z ([Link] attribute),
use_limit_x ([Link] at- 244
tribute), 735 use_locked_size ([Link] attribute), 234
use_limit_y ([Link] at- use_manipulator_rotate ([Link].SpaceView3D at-
tribute), 505 tribute), 842
use_limit_y ([Link] at- use_manipulator_scale ([Link].SpaceView3D at-
tribute), 735 tribute), 842
use_limit_z ([Link] at- use_manipulator_translate ([Link].SpaceView3D at-
tribute), 505 tribute), 843
use_limit_z ([Link] at- use_map_alpha ([Link] attribute),
tribute), 735 534

1286 Index
Blender Index, Release 2.57.0 r36138 - API

use_map_ambient ([Link] at- use_map_reflect ([Link] at-


tribute), 535 tribute), 536
use_map_blend ([Link] attribute), use_map_rough ([Link]
1028 attribute), 666
use_map_clump ([Link] use_map_scatter ([Link] at-
attribute), 666 tribute), 536
use_map_color ([Link] attribute), use_map_shadow ([Link] attribute),
495 495
use_map_color_diffuse ([Link] use_map_size ([Link] at-
attribute), 535 tribute), 666
use_map_color_emission ([Link] use_map_specular ([Link] at-
attribute), 535 tribute), 536
use_map_color_reflection ([Link] use_map_time ([Link] at-
attribute), 535 tribute), 666
use_map_color_spec ([Link] at- use_map_translucency ([Link] at-
tribute), 535 tribute), 536
use_map_color_transmission use_map_velocity ([Link]
([Link] attribute), attribute), 666
535 use_map_warp ([Link] attribute),
use_map_damp ([Link] at- 536
tribute), 666 use_map_zenith_down ([Link] at-
use_map_density ([Link] at- tribute), 1028
tribute), 535 use_map_zenith_up ([Link] at-
use_map_density ([Link] tribute), 1028
attribute), 666 use_marker_sync ([Link] at-
use_map_diffuse ([Link] at- tribute), 821
tribute), 535 use_marker_sync ([Link]
use_map_displacement ([Link] attribute), 834
attribute), 535 use_material ([Link] attribute), 256
use_map_emission ([Link] use_material_detect ([Link]
attribute), 535 attribute), 326
use_map_emit ([Link] attribute), use_material_physics_fh ([Link]
535 attribute), 424
use_map_field ([Link] at- use_max ([Link] at-
tribute), 666 tribute), 298
use_map_gravity ([Link] use_max ([Link] attribute), 778
attribute), 666 use_max ([Link] attribute), 867
use_map_hardness ([Link] use_max_distance ([Link] attribute), 402
attribute), 535 use_max_x ([Link] attribute), 395
use_map_horizon ([Link] attribute), use_max_x ([Link] at-
1028 tribute), 503
use_map_kink ([Link] at- use_max_x ([Link] attribute),
tribute), 666 506
use_map_length ([Link] use_max_y ([Link] attribute), 395
attribute), 666 use_max_y ([Link] at-
use_map_life ([Link] at- tribute), 503
tribute), 666 use_max_y ([Link] attribute),
use_map_mirror ([Link] at- 506
tribute), 535 use_max_z ([Link] at-
use_map_normal ([Link] at- tribute), 503
tribute), 536 use_max_z ([Link] attribute),
use_map_raymir ([Link] at- 506
tribute), 536 use_memory_cache ([Link] attribute), 814

Index 1287
Blender Index, Release 2.57.0 r36138 - API

use_merge_vertices ([Link] attribute), use_mouse_auto_depth ([Link]


178 attribute), 996
use_merge_vertices_cap ([Link] use_mouse_continuous ([Link]
attribute), 178 attribute), 990
use_mesh_automerge ([Link] attribute), use_mouse_emulate_3_button
945 ([Link] attribute),
use_min ([Link] at- 990
tribute), 298 use_mouse_mmb_paste ([Link]
use_min ([Link] attribute), 778 attribute), 990
use_min ([Link] attribute), 867 use_mouse_over_open ([Link]
use_min_distance ([Link] attribute), 402 attribute), 996
use_min_x ([Link] attribute), 395 use_multi_modifier ([Link] at-
use_min_x ([Link] attribute), tribute), 175
503 use_multiple_springs ([Link] attribute),
use_min_x ([Link] attribute), 402
506 use_multiply_size_mass ([Link] at-
use_min_y ([Link] attribute), 395 tribute), 662
use_min_y ([Link] attribute), use_negative ([Link] attribute), 491
503 use_negative ([Link] attribute), 571
use_min_y ([Link] attribute), use_negative_direction ([Link]
506 attribute), 799
use_min_z ([Link] attribute), use_negative_frames ([Link] at-
503 tribute), 986
use_min_z ([Link] attribute), use_nla ([Link] attribute), 160
506 use_nodes ([Link] attribute), 520
use_mipmap ([Link] at- use_nodes ([Link] attribute), 741
tribute), 377 use_nodes ([Link] attribute), 877
use_mipmap ([Link] attribute), 455 use_normal ([Link] attribute), 326
use_mipmap_gauss ([Link] use_normal ([Link] at-
attribute), 377 tribute), 650
use_mipmap_gauss ([Link] attribute), use_normal ([Link] attribute), 1005
455 use_normal ([Link] attribute), 1013
use_mipmaps ([Link] at- use_normal_calculate ([Link] at-
tribute), 993 tribute), 759
use_mirror_merge ([Link] attribute), use_normal_falloff ([Link] attribute), 449
575 use_normal_flip ([Link] attribute), 759
use_mirror_topology ([Link] attribute), 545 use_normal_map ([Link] attribute), 455
use_mirror_u ([Link] attribute), 575 use_normal_x ([Link] attribute), 1013
use_mirror_v ([Link] attribute), 575 use_normal_y ([Link] attribute), 1013
use_mirror_vertex_groups ([Link] at- use_normal_z ([Link] attribute), 1013
tribute), 575 use_object_color ([Link] attribute), 520
use_mirror_x ([Link] attribute), 171 use_object_color ([Link] attribute),
use_mirror_x ([Link] attribute), 455 562
use_mirror_x ([Link] attribute), 545 use_object_coords ([Link] attribute),
use_mirror_y ([Link] attribute), 455 402
use_mist ([Link] attribute), 519 use_object_offset ([Link] attribute),
use_mist ([Link] attribute), 1026 178
use_module ([Link] attribute), 868 use_object_screw_offset ([Link] at-
use_motion_blur ([Link].Filter2DActuator attribute), tribute), 759
405 use_occlude ([Link] attribute), 449
use_motion_blur ([Link] attribute), use_occlude_geometry ([Link].SpaceView3D at-
731 tribute), 843
use_motion_extrapolate ([Link] use_occlusion ([Link] attribute),
attribute), 951 1006

1288 Index
Blender Index, Release 2.57.0 r36138 - API

use_occlusion_culling ([Link] use_pass_indirect ([Link] at-


attribute), 747 tribute), 751
use_offset ([Link] attribute), use_pass_mist ([Link] attribute),
333 751
use_offset ([Link] attribute), use_pass_normal ([Link] at-
334 tribute), 751
use_offset ([Link] attribute), 335 use_pass_object_index ([Link] at-
use_offset_pressure ([Link] attribute), 234 tribute), 751
use_on_land ([Link] attribute), 213 use_pass_reflection ([Link] at-
use_onion_skinning ([Link] attribute), tribute), 751
416 use_pass_refraction ([Link]
use_only_boost ([Link] attribute), 430 attribute), 751
use_only_selected_curves_handles use_pass_shadow ([Link] at-
([Link] attribute), 823 tribute), 751
use_only_selected_keyframe_handles use_pass_specular ([Link] at-
([Link] attribute), 823 tribute), 752
use_only_shadow ([Link] attribute), 168 use_pass_uv ([Link] attribute),
use_only_shadow ([Link] attribute), 520 752
use_only_shadow ([Link] attribute), 686 use_pass_vector ([Link] attribute),
use_only_shadow ([Link] attribute), 854 752
use_only_shadow ([Link] attribute), 863 use_pass_z ([Link] attribute), 752
use_only_vertices ([Link] attribute), use_path ([Link] attribute), 340
180 use_path ([Link] attribute),
use_original_normal ([Link] attribute), 234 650
use_outflow ([Link] attribute), use_path_follow ([Link] attribute), 340
805 use_persistent ([Link] attribute), 234
use_outside ([Link] attribute), 497 use_persistent ([Link] attribute),
use_overwrite ([Link] attribute), 731 326
use_overwrite ([Link] attribute), 836 use_pin_cloth ([Link] attribute), 251
use_own_layer ([Link] attribute), 491 use_pin_id ([Link] attribute), 832
use_paint_image ([Link] attribute), 234 use_pivot_point_align ([Link].SpaceView3D at-
use_paint_mask ([Link] attribute), 545 tribute), 843
use_paint_sculpt ([Link] attribute), 234 use_placeholder ([Link] attribute), 731
use_paint_vertex ([Link] attribute), 234 use_plane_trim ([Link] attribute), 234
use_paint_weight ([Link] attribute), 234 use_play_3d_editors ([Link] attribute), 757
use_panorama ([Link] attribute), 240 use_play_animation_editors ([Link] attribute),
use_parent_particles ([Link] at- 757
tribute), 662 use_play_image_editors ([Link] attribute), 757
use_particle_kill ([Link] attribute), use_play_node_editors ([Link] attribute), 757
258 use_play_properties_editors ([Link] attribute),
use_pass_ambient_occlusion 757
([Link] attribute), use_play_sequence_editors ([Link] attribute),
751 757
use_pass_color ([Link] attribute), use_play_top_left_3d_editor ([Link] attribute),
751 757
use_pass_combined ([Link] use_positive_direction ([Link] at-
attribute), 751 tribute), 799
use_pass_diffuse ([Link] at- use_predict ([Link] attribute), 215
tribute), 751 use_predict ([Link] attribute), 218
use_pass_emit ([Link] attribute), use_premultiply ([Link]
751 attribute), 264
use_pass_environment ([Link] at- use_premultiply ([Link] attribute),
tribute), 751 369
use_premultiply ([Link] attribute), 447

Index 1289
Blender Index, Release 2.57.0 r36138 - API

use_premultiply ([Link] attribute), use_proxy_custom_directory ([Link]


452 attribute), 754
use_premultiply ([Link] attribute), 573 use_proxy_custom_file ([Link]
use_premultiply ([Link] attribute), attribute), 369
582 use_proxy_custom_file ([Link]
use_premultiply ([Link] attribute), attribute), 452
584 use_proxy_custom_file ([Link] at-
use_premultiply ([Link] attribute), tribute), 573
754 use_proxy_custom_file ([Link] at-
use_preserve_length ([Link] attribute), tribute), 582
646 use_proxy_custom_file ([Link] at-
use_preserve_root ([Link] attribute), 646 tribute), 585
use_preserve_shape ([Link] use_proxy_custom_file ([Link]
attribute), 650 attribute), 754
use_pressure_jitter ([Link] attribute), 234 use_puff_volume ([Link] attribute), 644
use_pressure_size ([Link] attribute), 234 use_pulse ([Link] attribute), 256
use_pressure_spacing ([Link] attribute), 234 use_pulse_false_level ([Link] attribute), 762
use_pressure_strength ([Link] attribute), 235 use_pulse_true_level ([Link] attribute), 762
use_preview ([Link] at- use_quality_normals ([Link] at-
tribute), 282 tribute), 813
use_preview_alpha ([Link] attribute), 878 use_quick_cache ([Link] attribute), 681
use_preview_images ([Link] use_radial_max ([Link] attribute), 402
attribute), 993 use_radial_min ([Link] attribute), 402
use_preview_range ([Link] attribute), 741 use_radiosity ([Link] attribute), 731
use_priority ([Link] attribute), 331 use_radius ([Link] attribute), 340
use_project_x ([Link] attribute), use_radius_as_size ([Link] attribute),
799 242
use_project_y ([Link] attribute), use_rake ([Link] attribute), 235
799 use_random_order ([Link] attribute),
use_project_z ([Link] attribute), 237
799 use_random_rotation ([Link] attribute), 235
use_projection ([Link] attribute), 450 use_ray_shadow_bias ([Link] attribute), 520
use_projector ([Link] use_raytrace ([Link] attribute), 520
attribute), 294 use_raytrace ([Link] attribute), 731
use_proportional_edit_objects ([Link] at- use_react_multiple ([Link] attribute),
tribute), 946 662
use_proxy ([Link] attribute), 369 use_react_start_end ([Link] attribute),
use_proxy ([Link] attribute), 452 663
use_proxy ([Link] attribute), 573 use_realtime_update ([Link]
use_proxy ([Link] attribute), 582 attribute), 821
use_proxy ([Link] attribute), 585 use_realtime_update ([Link]
use_proxy ([Link] attribute), 754 attribute), 823
use_proxy_custom_directory ([Link] use_realtime_update ([Link]
attribute), 369 attribute), 825
use_proxy_custom_directory ([Link] use_realtime_update ([Link] attribute),
attribute), 452 829
use_proxy_custom_directory ([Link] use_record_with_nla ([Link] attribute),
attribute), 573 946
use_proxy_custom_directory ([Link] use_relative ([Link] attribute),
attribute), 582 267
use_proxy_custom_directory use_relative ([Link] attribute), 465
([Link] attribute), use_relative ([Link] attribute),
585 800

1290 Index
Blender Index, Release 2.57.0 r36138 - API

use_relative_location ([Link] at- use_rotation_z ([Link] attribute),


tribute), 676 245
use_relative_offset ([Link] attribute), use_save_buffers ([Link] attribute),
178 731
use_relative_paths ([Link] use_save_preview_images
attribute), 988 ([Link] attribute),
use_render_adaptive ([Link] at- 988
tribute), 663 use_scale_x ([Link] attribute), 245
use_render_emitter ([Link] attribute), use_scale_y ([Link] attribute), 245
663 use_scale_z ([Link] attribute), 245
use_repeat ([Link] attribute), 348 use_scripts_auto_execute
use_replace_display_mesh ([Link] attribute),
([Link] attribute), 993
367 use_seam ([Link] attribute), 552
use_replace_physics_mesh use_self_collision ([Link] at-
([Link] attribute), tribute), 248
367 use_self_collision ([Link] attribute),
use_restore_mesh ([Link] attribute), 235 811
use_reverse ([Link] attribute), 593 use_self_effect ([Link] attribute), 663
use_reverse_frames ([Link] at- use_separate ([Link] attribute), 980
tribute), 330 use_sequencer ([Link] attribute), 731
use_reverse_frames ([Link] at- use_sequencer_gl_preview ([Link] at-
tribute), 353 tribute), 731
use_reverse_frames ([Link] attribute), use_sequencer_gl_render ([Link] at-
369 tribute), 731
use_reverse_frames ([Link] attribute), use_servo_limit_x ([Link] attribute),
452 618
use_reverse_frames ([Link] attribute), use_servo_limit_y ([Link] attribute),
573 618
use_reverse_frames ([Link] attribute), use_servo_limit_z ([Link] attribute),
582 618
use_reverse_frames ([Link] use_shaded ([Link] attribute), 523
attribute), 585 use_shadeless ([Link] attribute), 520
use_reverse_frames ([Link] attribute), use_shadow_cast ([Link] attribute),
754 562
use_rgb_to_intensity ([Link] attribute), use_shadow_layer ([Link] attribute), 168
899 use_shadow_layer ([Link] attribute), 686
use_rim ([Link] attribute), 813 use_shadow_layer ([Link] attribute), 854
use_ring ([Link] attribute), 523 use_shadow_layer ([Link] attribute), 863
use_root_coords ([Link] attribute), 402 use_shadows ([Link] attribute), 520
use_rotate_45 ([Link] at- use_shadows ([Link] attribute), 731
tribute), 289 use_shape_key_edit_mode ([Link] attribute),
use_rotate_around_active 612
([Link] attribute), use_shape_match ([Link] at-
996 tribute), 427
use_rotate_from_normal ([Link] use_simplify ([Link] attribute), 663
attribute), 424 use_simplify ([Link] attribute), 731
use_rotation ([Link] attribute), 408 use_simplify_triangulate ([Link] at-
use_rotation ([Link] attribute), tribute), 732
489 use_simplify_viewport ([Link]
use_rotation_x ([Link] attribute), attribute), 663
244 use_single_layer ([Link] attribute),
use_rotation_y ([Link] attribute), 732
244 use_size ([Link] attribute), 380

Index 1291
Blender Index, Release 2.57.0 r36138 - API

use_size ([Link] attribute), use_stamp_note ([Link] attribute), 732


650 use_stamp_note ([Link] attribute), 741
use_size_deflect ([Link] attribute), use_stamp_render_time ([Link]
663 attribute), 732
use_sky ([Link] attribute), 494 use_stamp_scene ([Link] attribute),
use_sky ([Link] attribute), 520 732
use_sky ([Link] attribute), 752 use_stamp_sequencer_strip ([Link] at-
use_sky_blend ([Link] attribute), 1022 tribute), 733
use_sky_paper ([Link] attribute), 1022 use_stamp_time ([Link] attribute), 733
use_sky_real ([Link] attribute), 1022 use_star ([Link] attribute), 523
use_sleep ([Link] attribute), 424 use_stars ([Link] attribute), 1027
use_slow_parent ([Link] attribute), 612 use_stencil ([Link] attribute), 899
use_small_caps ([Link] at- use_stencil_layer ([Link] attribute), 450
tribute), 871 use_sticky ([Link] attribute), 408
use_smooth ([Link] attribute), 554 use_stiff_quads ([Link] attribute),
use_smooth ([Link] attribute), 847 811
use_smooth_stroke ([Link] attribute), 235 use_stiffness_scale ([Link] attribute),
use_snap ([Link] attribute), 946 251
use_snap_align_rotation ([Link] at- use_still_frame ([Link] attribute), 1010
tribute), 946 use_strand ([Link] attribute), 752
use_snap_peel_object ([Link] attribute), use_strand_primitive ([Link] at-
946 tribute), 663
use_snap_project ([Link] attribute), 946 use_stretch ([Link] attribute), 340
use_snap_to_pixels ([Link] attribute), use_stretch ([Link] attribute),
839 489
use_soft ([Link] attribute), 523 use_stroke_endpoints ([Link] attribute),
use_solid ([Link] attribute), 752 431
use_sound_3d ([Link] attribute), 816 use_subsurf_uv ([Link] attribute),
use_space ([Link] attribute), 235 862
use_space_atten ([Link] attribute), 235 use_symmetry_feather ([Link] attribute), 760
use_specular ([Link] attribute), 491 use_symmetry_x ([Link] attribute), 760
use_specular ([Link] use_symmetry_y ([Link] attribute), 760
attribute), 774 use_symmetry_z ([Link] attribute), 760
use_specular ([Link] attribute), use_tabs_as_spaces ([Link] attribute), 868
779 use_tabs_as_spaces ([Link]
use_specular_ramp ([Link] attribute), 520 attribute), 993
use_speed_vectors ([Link] at- use_tail ([Link] attribute), 489
tribute), 354 use_tangent_shading ([Link] attribute), 520
use_sphere ([Link] attribute), 687 use_tangent_shading ([Link] at-
use_sphere ([Link] attribute), 854 tribute), 530
use_spray ([Link] attribute), 1005 use_tap ([Link] attribute), 762
use_square ([Link] attribute), 854 use_target ([Link] attribute), 490
use_sss ([Link] attribute), 732 use_target_z ([Link] attribute), 948
use_stamp ([Link] attribute), 732 use_targets ([Link] attribute), 703
use_stamp_camera ([Link] attribute), use_text_antialiasing ([Link]
732 attribute), 993
use_stamp_date ([Link] attribute), 732 use_texture ([Link] attribute), 523
use_stamp_filename ([Link] attribute), use_texture_overlay ([Link] attribute), 235
732 use_textured_fonts ([Link] at-
use_stamp_frame ([Link] attribute), tribute), 993
732 use_textures ([Link] attribute), 520
use_stamp_lens ([Link] attribute), 732 use_textures ([Link] attribute), 733
use_stamp_marker ([Link] attribute), use_threaded ([Link] attribute), 760
732 use_tiff_16bit ([Link] attribute), 733

1292 Index
Blender Index, Release 2.57.0 r36138 - API

use_tiles ([Link] attribute), 447 use_vertex_color_paint ([Link] attribute),


use_time_offset ([Link] attribute), 340 521
use_time_offset_add_parent ([Link] attribute), use_vertex_groups ([Link] at-
612 tribute), 175
use_time_offset_edit ([Link] attribute), 612 use_vertex_normal ([Link] attribute),
use_time_offset_parent ([Link] attribute), 612 523
use_time_offset_particle ([Link] attribute), 612 use_viscoelastic_springs ([Link] at-
use_time_override ([Link] at- tribute), 738
tribute), 354 use_visible ([Link] attribute), 1006
use_transform ([Link] attribute), 242 use_visual_keying ([Link]
use_transform_limit ([Link] attribute), 986
attribute), 503 use_weight_color_range ([Link]
use_transform_limit ([Link] attribute), 993
attribute), 505 use_whole_group ([Link] attribute),
use_transform_limit ([Link] at- 663
tribute), 506 use_wrap ([Link] attribute), 235
use_translate_buttons ([Link] use_wrap ([Link] attribute),
attribute), 993 280
use_translate_toolbox ([Link] use_x ([Link] attribute), 242
attribute), 993 use_x ([Link] attribute), 333
use_translate_tooltips ([Link] use_x ([Link] attribute), 334
attribute), 993 use_x ([Link] attribute), 335
use_translation ([Link] attribute), 369 use_x ([Link] attribute), 575
use_translation ([Link] attribute), 452 use_x ([Link] attribute), 797
use_translation ([Link] attribute), 574 use_x ([Link] attribute), 806
use_translation ([Link] attribute), 582 use_x ([Link] attribute), 1013
use_translation ([Link] attribute), use_x_ray ([Link] attribute), 710
585 use_y ([Link] attribute), 242
use_translation ([Link] attribute), 754 use_y ([Link] attribute), 333
use_transparency ([Link] attribute), 520 use_y ([Link] attribute), 334
use_transparent_shadows ([Link] attribute), use_y ([Link] attribute), 336
520 use_y ([Link] attribute), 575
use_turbulence ([Link] attribute), 683 use_y ([Link] attribute), 797
use_twoside ([Link] attribute), 562 use_y ([Link] attribute), 806
use_umbra ([Link] attribute), 168 use_y ([Link] attribute), 1013
use_underline ([Link] attribute), use_y_stretch ([Link] attribute),
871 849
use_uniform_scale ([Link] use_z ([Link] attribute), 242
attribute), 953 use_z ([Link] attribute), 333
use_unspill ([Link] use_z ([Link] attribute), 334
attribute), 273 use_z ([Link] attribute), 336
use_uv_as_generated ([Link] attribute), 340 use_z ([Link] attribute), 575
use_uv_as_generated ([Link] attribute), use_z ([Link] attribute), 797
864 use_z ([Link] attribute), 807
use_uv_as_generated ([Link] attribute), use_zbuffer ([Link] at-
873 tribute), 282
use_uv_select_sync ([Link] attribute), use_zmask ([Link] attribute), 752
946 use_zoom_to_mouse ([Link] at-
use_velocity_length ([Link] attribute), tribute), 997
663 use_ztransp ([Link] attribute), 752
use_vertex_buffer_objects useAllKeys ([Link].SCA_KeyboardSensor attribute),
([Link] attribute), 1144
993 useChildren ([Link].KX_IpoActuator attribute), 1113
use_vertex_color_light ([Link] attribute), 521

Index 1293
Blender Index, Release 2.57.0 r36138 - API

useContinue ([Link].BL_ActionActuator attribute), [Link] (in module [Link]), 983


1094 UserPreferencesEdit (class in [Link]), 983
useDisplayMesh ([Link].KX_SCA_ReplaceMeshActuator UserPreferencesFilePaths (class in [Link]), 986
attribute), 1131 UserPreferencesInput (class in [Link]), 989
useHighPriority ([Link].SCA_IController attribute), UserPreferencesInput.edited_keymaps (in module
1093 [Link]), 989
useIpoAdd ([Link].KX_IpoActuator attribute), 1113 UserPreferencesSystem (class in [Link]), 991
useIpoAsForce ([Link].KX_IpoActuator attribute), UserPreferencesSystem.solid_lights (in module
1113 [Link]), 992
useIpoLocal ([Link].KX_IpoActuator attribute), 1113 UserPreferencesSystem.weight_color_range (in module
useLocalAngV ([Link].KX_ObjectActuator attribute), [Link]), 993
1120 UserPreferencesView (class in [Link]), 994
useLocalDLoc ([Link].KX_ObjectActuator attribute), UserSolidLight (class in [Link]), 997
1119 useViewport ([Link].KX_Camera attribute), 1149
useLocalDRot ([Link].KX_ObjectActuator attribute), useXRay ([Link].KX_RaySensor attribute), 1129
1119 useXY ([Link].KX_CameraActuator attribute), 1100
useLocalForce ([Link].KX_ObjectActuator attribute), UV ([Link].KX_VertexProxy attribute), 1138
1119 uv ([Link] attribute), 562
useLocalLinV ([Link].KX_ObjectActuator attribute), uv1 ([Link] attribute), 562
1119 uv2 ([Link] attribute), 562
useLocalTorque ([Link].KX_ObjectActuator at- uv3 ([Link] attribute), 562
tribute), 1119 uv4 ([Link] attribute), 562
useMaterial ([Link].KX_RaySensor attribute), 1128 uv_layer ([Link] attribute), 350
useMaterial ([Link].KX_TouchSensor attribute), 1117 uv_layer ([Link] attribute), 530
useNegPulseMode ([Link].SCA_ISensor attribute), uv_layer ([Link] attribute), 536
1092 uv_layer ([Link] at-
useOcclusion ([Link].KX_VisibilityActuator at- tribute), 666
tribute), 1140 uv_layer ([Link] attribute), 775
usePhysicsMesh ([Link].KX_SCA_ReplaceMeshActuator uv_layer ([Link] attribute), 978
attribute), 1131 uv_layer ([Link] attribute), 1013
usePosPulseMode ([Link].SCA_ISensor attribute), uv_raw ([Link] attribute), 562
1092 uv_select_mode ([Link] attribute), 946
usePropBody ([Link].KX_NetworkMessageActuator uv_texture_add() (in module [Link]), 63
attribute), 1118 uv_texture_clone ([Link] attribute), 545
usePulseCollision ([Link].KX_TouchSensor attribute), uv_texture_clone_index ([Link] attribute), 546
1117 uv_texture_remove() (in module [Link]), 63
usePulseFocus ([Link].KX_MouseFocusSensor uv_texture_stencil ([Link] attribute), 546
attribute), 1117 uv_texture_stencil_index ([Link] attribute), 546
user_clear() ([Link] method), 442 UVProjectModifier (class in [Link]), 977
user_resource() (in module [Link]), 1038 [Link] (in module [Link]), 977
user_script_path() (in module [Link]), 1039 UVProjector (class in [Link]), 978
useRecursion ([Link].KX_VisibilityActuator at- uvs_mirror() (in module [Link]), 63
tribute), 1141 uvs_rotate() (in module [Link]), 63
useRestart ([Link].KX_SceneActuator attribute), 1134 UVTextures (class in [Link]), 979
userjit ([Link] attribute), 663
userpref_show() (in module [Link]), 100 V
UserPreferences (class in [Link]), 982 v ([Link].KX_VertexProxy attribute), 1138
[Link] (in module [Link]), 982 v ([Link] attribute), 1048
[Link] (in module [Link]), 982 v1 ([Link].KX_PolyProxy attribute), 1121
[Link] (in module [Link]), 982 v2 ([Link].KX_PolyProxy attribute), 1121
[Link] (in module [Link]), 982 v2 ([Link].KX_VertexProxy attribute), 1139
[Link] (in module [Link]), 982 v3 ([Link].KX_PolyProxy attribute), 1121
[Link] (in module [Link]), 982 v4 ([Link].KX_PolyProxy attribute), 1121
UserPreferences.ui_styles (in module [Link]), 982 validate() ([Link].BL_Shader method), 1098

1294 Index
Blender Index, Release 2.57.0 r36138 - API

validate() ([Link] method), 546 velocity_strength ([Link] at-


value ([Link].KX_ArmatureSensor attribute), 1154 tribute), 330
value ([Link].SCA_2DFilterActuator attribute), 1141 version (in module [Link]), 1040
value ([Link].SCA_PropertyActuator attribute), 1145 version_char (in module [Link]), 1040
value ([Link].SCA_PropertySensor attribute), 1145 version_cycle (in module [Link]), 1040
value ([Link] attribute), 176 version_string (in module [Link]), 1041
value ([Link] attribute), 419 vertex ([Link] attribute), 913
value ([Link] attribute), 420 vertex ([Link] attribute), 915
value ([Link] attribute), 421 vertex ([Link].ThemeView3D attribute), 937
value ([Link] attribute), 428 vertex_add() (in module [Link]), 27
value ([Link] attribute), 429 vertex_cache_space ([Link] attribute),
value ([Link] attribute), 472 684
value ([Link] attribute), 555 vertex_color_add() (in module [Link]), 63
value ([Link] attribute), 557 vertex_color_dirt() (in module [Link]), 88
value ([Link] attribute), 559 vertex_color_remove() (in module [Link]), 63
value ([Link] attribute), 698 vertex_color_set() (in module [Link]), 88
value ([Link] attribute), 702 vertex_group ([Link] attribute), 175
value ([Link] attribute), 794 vertex_group ([Link] attribute), 242
value_max ([Link] attribute), 702 vertex_group ([Link] attribute), 344
value_min ([Link] attribute), 702 vertex_group ([Link] attribute), 350
value_offset ([Link] at- vertex_group ([Link] attribute), 380
tribute), 393 vertex_group ([Link] attribute), 441
value_sliders ([Link] attribute), 907 vertex_group ([Link] attribute), 497
ValueNodeSocket (class in [Link]), 998 vertex_group ([Link] attribute), 498
values() ([Link].bpy_prop_collection method), 1033 vertex_group ([Link] attribute), 514
values() ([Link].bpy_struct method), 1037 vertex_group ([Link] attribute),
Vector (class in mathutils), 1056 550
[Link]() (in module mathutils), 1057 vertex_group ([Link] attribute), 794
[Link]() (in module mathutils), 1057 vertex_group ([Link] attribute),
[Link]() (in module mathutils), 1059 799
[Link]() (in module mathutils), 1058 vertex_group ([Link] at-
[Link]() (in module mathutils), 1058 tribute), 800
[Link]() (in module mathutils), 1059 vertex_group ([Link] attribute), 807
VectorFont (class in [Link]), 999 vertex_group ([Link] attribute), 813
[Link] (in module [Link]), 999 vertex_group ([Link] attribute), 1013
VectorFont.packed_file (in module [Link]), 999 vertex_group_add() (in module [Link]), 83
VectorNodeSocket (class in [Link]), 1000 vertex_group_assign() (in module [Link]), 84
vectorscope_alpha ([Link] attribute), 756 vertex_group_bending ([Link] at-
velocity ([Link] attribute), 1089 tribute), 251
velocity ([Link].KX_SoundActuator attribute), 1135 vertex_group_blend() (in module [Link]), 84
velocity ([Link] attribute), 642 vertex_group_clean() (in module [Link]), 84
velocity ([Link] attribute), 651 vertex_group_clump ([Link] attribute),
velocity_factor ([Link] at- 671
tribute), 667 vertex_group_copy() (in module [Link]), 84
velocity_factor ([Link] attribute), vertex_group_copy_to_linked() (in module
805 [Link]), 84
velocity_max ([Link] attribute), vertex_group_copy_to_selected() (in module
425 [Link]), 84
velocity_max ([Link] attribute), 462 vertex_group_density ([Link] at-
velocity_min ([Link] attribute), tribute), 671
425 vertex_group_deselect() (in module [Link]), 84
velocity_radius ([Link] at- vertex_group_field ([Link] attribute),
tribute), 330 671

Index 1295
Blender Index, Release 2.57.0 r36138 - API

vertex_group_goal ([Link] at- vertex_select ([Link].ThemeView3D attribute), 937


tribute), 811 vertex_size ([Link] attribute), 913
vertex_group_invert() (in module [Link]), 84 vertex_size ([Link] attribute), 915
vertex_group_kink ([Link] attribute), vertex_size ([Link].ThemeView3D attribute), 937
671 vertex_tool ([Link] attribute), 235
vertex_group_length ([Link] attribute), vertex_tool_set() (in module [Link]), 20
671 VertexColors (class in [Link]), 1001
vertex_group_levels() (in module [Link]), 84 VertexGroup (class in [Link]), 1002
vertex_group_mass ([Link] attribute), [Link] (in module [Link]), 1002
251 VertexGroupElement (class in [Link]), 1003
vertex_group_mass ([Link] at- [Link] (in module [Link]), 1003
tribute), 811 VertexGroups (class in [Link]), 1004
vertex_group_mirror() (in module [Link]), 84 [Link] (in module [Link]), 1004
vertex_group_move() (in module [Link]), 84 VertexPaint (class in [Link]), 1005
vertex_group_normalize() (in module [Link]), 85 vertices ([Link] attribute), 552
vertex_group_normalize_all() (in module vertices ([Link] attribute), 554
[Link]), 85 vertices_randomize() (in module [Link]), 63
vertex_group_remove() (in module [Link]), 85 vertices_raw ([Link] attribute), 554
vertex_group_remove_from() (in module [Link]), vertices_smooth() (in module [Link]), 63
85 vertices_sort() (in module [Link]), 63
vertex_group_rotation ([Link] at- view2d_grid_spacing_min
tribute), 672 ([Link] attribute),
vertex_group_roughness_1 ([Link] at- 997
tribute), 672 view_all() (in module [Link]), 13
vertex_group_roughness_2 ([Link] at- view_all() (in module [Link]), 40
tribute), 672 view_all() (in module [Link]), 44
vertex_group_roughness_end ([Link] view_all() (in module [Link]), 69
attribute), 672 view_all() (in module [Link]), 107
vertex_group_select() (in module [Link]), 85 view_all() (in module [Link]), 116
vertex_group_set_active() (in module [Link]), 85 view_all() (in module [Link].view3d), 134
vertex_group_size ([Link] attribute), view_all_preview() (in module [Link]), 107
672 view_axis ([Link] attribute), 179
vertex_group_sort() (in module [Link]), 85 view_cancel() (in module [Link]), 97
vertex_group_spring ([Link] at- view_center_camera() (in module [Link].view3d), 134
tribute), 811 view_center_cursor() (in module [Link].view3d), 135
vertex_group_structural_stiffness view_distance ([Link].RegionView3D attribute), 712
([Link] attribute), 252 view_ghost_border() (in module [Link]), 107
vertex_group_tangent ([Link] at- view_location ([Link].RegionView3D attribute), 712
tribute), 672 view_orbit() (in module [Link].view3d), 135
vertex_group_velocity ([Link] at- view_pan() (in module [Link]), 44
tribute), 672 view_pan() (in module [Link].view3d), 135
vertex_group_weight ([Link] attribute), view_perspective ([Link].RegionView3D attribute),
946 713
vertex_normal ([Link].ThemeView3D attribute), 937 view_persportho() (in module [Link].view3d), 135
vertex_paint() (in module [Link]), 88 view_rotate_method ([Link] at-
vertex_paint_object (in module [Link]), 6 tribute), 990
vertex_paint_radial_control() (in module [Link]), view_rotation ([Link].RegionView3D attribute), 713
89 view_selected() (in module [Link]), 13
vertex_paint_toggle() (in module [Link]), 89 view_selected() (in module [Link]), 40
vertex_parent_set() (in module [Link]), 85 view_selected() (in module [Link]), 45
vertex_select ([Link] attribute), view_selected() (in module [Link]), 107
913 view_selected() (in module [Link].view3d), 135
vertex_select ([Link] attribute), view_show() (in module [Link]), 97
915 view_sliders ([Link] attribute), 907

1296 Index
Blender Index, Release 2.57.0 r36138 - API

view_sliders ([Link] attribute), 919 volume ([Link] attribute), 817


view_toggle() (in module [Link]), 107 volume ([Link] attribute), 857
view_type ([Link] attribute), volume_initialization ([Link] at-
834 tribute), 409
view_zoom() (in module [Link]), 45 volume_initialization ([Link] at-
view_zoom_axis ([Link] at- tribute), 458
tribute), 990 volume_initialization ([Link]
view_zoom_in() (in module [Link]), 45 attribute), 622
view_zoom_method ([Link] at- volume_initialization ([Link] at-
tribute), 990 tribute), 634
view_zoom_out() (in module [Link]), 45 volume_maximum ([Link] attribute), 1089
view_zoom_ratio() (in module [Link]), 45 volume_minimum ([Link] attribute), 1089
view_zoom_ratio() (in module [Link]), 107 VoronoiTexture (class in [Link]), 1007
VIEWMATRIX (in module [Link]), 1176 VoronoiTexture.users_material (in module [Link]),
VIEWMATRIX_INVERSE (in module [Link]), 1176 1008
VIEWMATRIX_INVERSETRANSPOSE (in module VoronoiTexture.users_object_modifier (in module
[Link]), 1176 [Link]), 1008
VIEWMATRIX_TRANSPOSE (in module [Link]), vortex ([Link] attribute), 372
1176 vorticity ([Link] attribute), 803
viewnumpad() (in module [Link].view3d), 135 VoxelData (class in [Link]), 1009
viewpoint_object ([Link] attribute), VoxelDataTexture (class in [Link]), 1010
375 VoxelDataTexture.image_user (in module [Link]),
viewport_display_mode ([Link] 1010
attribute), 354 VoxelDataTexture.users_material (in module [Link]),
viewport_shade ([Link].SpaceView3D attribute), 843 1011
virtual_parents ([Link] attribute), 663 VoxelDataTexture.users_object_modifier (in module
viscosity_base ([Link] at- [Link]), 1011
tribute), 354 VoxelDataTexture.voxel_data (in module [Link]),
viscosity_exponent ([Link] at- 1011
tribute), 354
viscosity_preset ([Link] at- W
tribute), 354 w ([Link] attribute), 1055
visibility ([Link].KX_VisibilityActuator attribute), w ([Link] attribute), 1060
1140 wander ([Link] attribute), 214
visibility_toggle() (in module [Link]), 69 warp() (in module [Link]), 124
visibility_toggle() (in module [Link]), 86 warp_factor ([Link] attribute),
VisibilityActuator (class in [Link]), 1006 536
visible ([Link].KX_GameObject attribute), 1103 waveform_alpha ([Link] attribute), 756
visible ([Link].KX_PolyProxy attribute), 1122 waveform_mode ([Link] attribute), 756
visible ([Link].SCA_PythonMouse attribute), 1092 WaveModifier (class in [Link]), 1012
visible_bases (in module [Link]), 5, 7 weight ([Link].BL_ArmatureActuator attribute), 1153
visible_bones (in module [Link]), 5 weight ([Link] attribute), 172
visible_objects (in module [Link]), 5, 7 weight ([Link] attribute), 182
visible_pose_bones (in module [Link]), 6 weight ([Link] attribute), 490
visual_transform_apply() (in module [Link]), 85 weight ([Link] attribute), 648
visual_transform_apply() (in module [Link]), 95 weight ([Link] attribute), 850
VKEY (in module [Link]), 1182 weight ([Link] attribute), 1003
volume ([Link] attribute), 1083 weight() ([Link] method), 1002
volume ([Link] attribute), 1089 weight_1 ([Link] attribute), 1007
volume ([Link].KX_SoundActuator attribute), 1134 weight_2 ([Link] attribute), 1008
volume ([Link] attribute), 222 weight_3 ([Link] attribute), 1008
volume ([Link] attribute), weight_4 ([Link] attribute), 1008
511 weight_from_bones() (in module [Link]), 89
volume ([Link] attribute), 816 weight_paint() (in module [Link]), 89

Index 1297
Blender Index, Release 2.57.0 r36138 - API

weight_paint_object (in module [Link]), 6 World.texture_slots (in module [Link]), 1022


weight_paint_radial_control() (in module [Link]), world_to_camera ([Link].KX_Camera attribute), 1149
89 worldAngularVelocity ([Link].KX_GameObject at-
weight_paint_toggle() (in module [Link]), 89 tribute), 1104
weight_set() (in module [Link]), 89 WorldLighting (class in [Link]), 1023
weight_set() (in module [Link]), 91 worldLinearVelocity ([Link].KX_GameObject at-
weight_softbody ([Link] attribute), 850 tribute), 1104
weight_tool_set() (in module [Link]), 20 WorldMistSettings (class in [Link]), 1025
weld() (in module [Link]), 130 worldOrientation ([Link].KX_GameObject attribute),
weld_threshold ([Link] 1103
attribute), 427 worldPosition ([Link].KX_GameObject attribute),
wheel_scroll_lines ([Link] at- 1104
tribute), 990 worldScale ([Link].KX_GameObject attribute), 1103
WHEELDOWNMOUSE (in module [Link]), 1181 WorldStarsSettings (class in [Link]), 1027
WHEELUPMOUSE (in module [Link]), 1181 WorldTextureSlot (class in [Link]), 1028
white_level ([Link] attribute), 343 WorldTextureSlots (class in [Link]), 1029
width ([Link] attribute), 181 wrap_method ([Link] attribute),
width ([Link] attribute), 870 799
width ([Link] attribute), 1013 write() ([Link] method), 869
width_fade ([Link] attribute), 530 ww ([Link] attribute), 1060
wind ([Link] attribute), 372 www ([Link] attribute), 1060
Window (class in [Link]), 1014 wwww ([Link] attribute), 1060
window_draw_method ([Link] wwwx ([Link] attribute), 1060
attribute), 994 wwwy ([Link] attribute), 1060
window_duplicate() (in module [Link]), 145 wwwz ([Link] attribute), 1060
window_fullscreen_toggle() (in module [Link]), wwx ([Link] attribute), 1060
145 wwxw ([Link] attribute), 1060
window_sliders ([Link] at- wwxx ([Link] attribute), 1060
tribute), 902 wwxy ([Link] attribute), 1060
window_sliders ([Link] attribute), wwxz ([Link] attribute), 1060
913 wwy ([Link] attribute), 1060
window_sliders ([Link] at- wwyw ([Link] attribute), 1060
tribute), 926 wwyx ([Link] attribute), 1061
WindowManager (class in [Link]), 1015 wwyy ([Link] attribute), 1061
[Link] (in module [Link]), 1015 wwyz ([Link] attribute), 1061
[Link] (in module [Link]), 1015 wwz ([Link] attribute), 1061
[Link] (in module [Link]), 1015 wwzw ([Link] attribute), 1061
WipeSequence (class in [Link]), 1018 wwzx ([Link] attribute), 1061
wire ([Link] attribute), 921 wwzy ([Link] attribute), 1061
wire ([Link].ThemeView3D attribute), 937 wwzz ([Link] attribute), 1061
wire_select ([Link] attribute), 921 wx ([Link] attribute), 1061
WKEY (in module [Link]), 1182 wxw ([Link] attribute), 1061
wood_type ([Link] attribute), 1020 wxww ([Link] attribute), 1061
WoodTexture (class in [Link]), 1019 wxwx ([Link] attribute), 1061
WoodTexture.users_material (in module [Link]), 1020 wxwy ([Link] attribute), 1061
WoodTexture.users_object_modifier (in module wxwz ([Link] attribute), 1061
[Link]), 1020 wxx ([Link] attribute), 1061
world ([Link] attribute), 741 wxxw ([Link] attribute), 1061
World (class in [Link]), 1021 wxxx ([Link] attribute), 1061
world (in module [Link]), 7 wxxy ([Link] attribute), 1061
World.animation_data (in module [Link]), 1021 wxxz ([Link] attribute), 1061
World.light_settings (in module [Link]), 1022 wxy ([Link] attribute), 1061
World.mist_settings (in module [Link]), 1022 wxyw ([Link] attribute), 1061
World.star_settings (in module [Link]), 1022 wxyx ([Link] attribute), 1062

1298 Index
Blender Index, Release 2.57.0 r36138 - API

wxyy ([Link] attribute), 1062 x ([Link] attribute), 1056


wxyz ([Link] attribute), 1062 x ([Link] attribute), 1064
wxz ([Link] attribute), 1062 x3d() (in module [Link].export_scene), 31
wxzw ([Link] attribute), 1062 x3d() (in module [Link].import_scene), 47
wxzx ([Link] attribute), 1062 XKEY (in module [Link]), 1182
wxzy ([Link] attribute), 1062 XnorController (class in [Link]), 1030
wxzz ([Link] attribute), 1062 XorController (class in [Link]), 1031
wy ([Link] attribute), 1062 xw ([Link] attribute), 1064
wyw ([Link] attribute), 1062 xww ([Link] attribute), 1064
wyww ([Link] attribute), 1062 xwww ([Link] attribute), 1064
wywx ([Link] attribute), 1062 xwwx ([Link] attribute), 1064
wywy ([Link] attribute), 1062 xwwy ([Link] attribute), 1064
wywz ([Link] attribute), 1062 xwwz ([Link] attribute), 1064
wyx ([Link] attribute), 1062 xwx ([Link] attribute), 1064
wyxw ([Link] attribute), 1062 xwxw ([Link] attribute), 1064
wyxx ([Link] attribute), 1062 xwxx ([Link] attribute), 1064
wyxy ([Link] attribute), 1062 xwxy ([Link] attribute), 1064
wyxz ([Link] attribute), 1062 xwxz ([Link] attribute), 1064
wyy ([Link] attribute), 1062 xwy ([Link] attribute), 1064
wyyw ([Link] attribute), 1062 xwyw ([Link] attribute), 1065
wyyx ([Link] attribute), 1063 xwyx ([Link] attribute), 1065
wyyy ([Link] attribute), 1063 xwyy ([Link] attribute), 1065
wyyz ([Link] attribute), 1063 xwyz ([Link] attribute), 1065
wyz ([Link] attribute), 1063 xwz ([Link] attribute), 1065
wyzw ([Link] attribute), 1063 xwzw ([Link] attribute), 1065
wyzx ([Link] attribute), 1063 xwzx ([Link] attribute), 1065
wyzy ([Link] attribute), 1063 xwzy ([Link] attribute), 1065
wyzz ([Link] attribute), 1063 xwzz ([Link] attribute), 1065
wz ([Link] attribute), 1063 xx ([Link] attribute), 1065
wzw ([Link] attribute), 1063 xxw ([Link] attribute), 1065
wzww ([Link] attribute), 1063 xxww ([Link] attribute), 1065
wzwx ([Link] attribute), 1063 xxwx ([Link] attribute), 1065
wzwy ([Link] attribute), 1063 xxwy ([Link] attribute), 1065
wzwz ([Link] attribute), 1063 xxwz ([Link] attribute), 1065
wzx ([Link] attribute), 1063 xxx ([Link] attribute), 1065
wzxw ([Link] attribute), 1063 xxxw ([Link] attribute), 1065
wzxx ([Link] attribute), 1063 xxxx ([Link] attribute), 1065
wzxy ([Link] attribute), 1063 xxxy ([Link] attribute), 1065
wzxz ([Link] attribute), 1063 xxxz ([Link] attribute), 1065
wzy ([Link] attribute), 1063 xxy ([Link] attribute), 1065
wzyw ([Link] attribute), 1063 xxyw ([Link] attribute), 1066
wzyx ([Link] attribute), 1064 xxyx ([Link] attribute), 1066
wzyy ([Link] attribute), 1064 xxyy ([Link] attribute), 1066
wzyz ([Link] attribute), 1064 xxyz ([Link] attribute), 1066
wzz ([Link] attribute), 1064 xxz ([Link] attribute), 1066
wzzw ([Link] attribute), 1064 xxzw ([Link] attribute), 1066
wzzx ([Link] attribute), 1064 xxzx ([Link] attribute), 1066
wzzy ([Link] attribute), 1064 xxzy ([Link] attribute), 1066
wzzz ([Link] attribute), 1064 xxzz ([Link] attribute), 1066
xy ([Link] attribute), 1066
X xyw ([Link] attribute), 1066
x ([Link].KX_VertexProxy attribute), 1138 xyww ([Link] attribute), 1066
x ([Link] attribute), 870 xywx ([Link] attribute), 1066
x ([Link] attribute), 1049 xywy ([Link] attribute), 1066

Index 1299
Blender Index, Release 2.57.0 r36138 - API

xywz ([Link] attribute), 1066 ywwz ([Link] attribute), 1068


xyx ([Link] attribute), 1066 ywx ([Link] attribute), 1068
xyxw ([Link] attribute), 1066 ywxw ([Link] attribute), 1068
xyxx ([Link] attribute), 1066 ywxx ([Link] attribute), 1068
xyxy ([Link] attribute), 1066 ywxy ([Link] attribute), 1068
xyxz ([Link] attribute), 1066 ywxz ([Link] attribute), 1068
xyy ([Link] attribute), 1066 ywy ([Link] attribute), 1069
xyyw ([Link] attribute), 1067 ywyw ([Link] attribute), 1069
xyyx ([Link] attribute), 1067 ywyx ([Link] attribute), 1069
xyyy ([Link] attribute), 1067 ywyy ([Link] attribute), 1069
xyyz ([Link] attribute), 1067 ywyz ([Link] attribute), 1069
XYZ ([Link].KX_VertexProxy attribute), 1138 ywz ([Link] attribute), 1069
xyz ([Link] attribute), 1067 ywzw ([Link] attribute), 1069
xyzw ([Link] attribute), 1067 ywzx ([Link] attribute), 1069
xyzx ([Link] attribute), 1067 ywzy ([Link] attribute), 1069
xyzy ([Link] attribute), 1067 ywzz ([Link] attribute), 1069
xyzz ([Link] attribute), 1067 yx ([Link] attribute), 1069
xz ([Link] attribute), 1067 yxw ([Link] attribute), 1069
xz_scale_mode ([Link] attribute), yxww ([Link] attribute), 1069
849 yxwx ([Link] attribute), 1069
xzw ([Link] attribute), 1067 yxwy ([Link] attribute), 1069
xzww ([Link] attribute), 1067 yxwz ([Link] attribute), 1069
xzwx ([Link] attribute), 1067 yxx ([Link] attribute), 1069
xzwy ([Link] attribute), 1067 yxxw ([Link] attribute), 1069
xzwz ([Link] attribute), 1067 yxxx ([Link] attribute), 1069
xzx ([Link] attribute), 1067 yxxy ([Link] attribute), 1069
xzxw ([Link] attribute), 1067 yxxz ([Link] attribute), 1069
xzxx ([Link] attribute), 1067 yxy ([Link] attribute), 1070
xzxy ([Link] attribute), 1067 yxyw ([Link] attribute), 1070
xzxz ([Link] attribute), 1067 yxyx ([Link] attribute), 1070
xzy ([Link] attribute), 1067 yxyy ([Link] attribute), 1070
xzyw ([Link] attribute), 1068 yxyz ([Link] attribute), 1070
xzyx ([Link] attribute), 1068 yxz ([Link] attribute), 1070
xzyy ([Link] attribute), 1068 yxzw ([Link] attribute), 1070
xzyz ([Link] attribute), 1068 yxzx ([Link] attribute), 1070
xzz ([Link] attribute), 1068 yxzy ([Link] attribute), 1070
xzzw ([Link] attribute), 1068 yxzz ([Link] attribute), 1070
xzzx ([Link] attribute), 1068 yy ([Link] attribute), 1070
xzzy ([Link] attribute), 1068 yyw ([Link] attribute), 1070
xzzz ([Link] attribute), 1068 yyww ([Link] attribute), 1070
yywx ([Link] attribute), 1070
Y yywy ([Link] attribute), 1070
y ([Link].KX_VertexProxy attribute), 1138 yywz ([Link] attribute), 1070
y ([Link] attribute), 870 yyx ([Link] attribute), 1070
y ([Link] attribute), 1049 yyxw ([Link] attribute), 1070
y ([Link] attribute), 1056 yyxx ([Link] attribute), 1070
y ([Link] attribute), 1068 yyxy ([Link] attribute), 1070
yield_ratio ([Link] attribute), 738 yyxz ([Link] attribute), 1070
YKEY (in module [Link]), 1182 yyy ([Link] attribute), 1071
yw ([Link] attribute), 1068 yyyw ([Link] attribute), 1071
yww ([Link] attribute), 1068 yyyx ([Link] attribute), 1071
ywww ([Link] attribute), 1068 yyyy ([Link] attribute), 1071
ywwx ([Link] attribute), 1068 yyyz ([Link] attribute), 1071
ywwy ([Link] attribute), 1068 yyz ([Link] attribute), 1071

1300 Index
Blender Index, Release 2.57.0 r36138 - API

yyzw ([Link] attribute), 1071 zsort ([Link].KX_PolygonMaterial attribute), 1126


yyzx ([Link] attribute), 1071 zw ([Link] attribute), 1072
yyzy ([Link] attribute), 1071 zww ([Link] attribute), 1072
yyzz ([Link] attribute), 1071 zwww ([Link] attribute), 1072
yz ([Link] attribute), 1071 zwwx ([Link] attribute), 1072
yzw ([Link] attribute), 1071 zwwy ([Link] attribute), 1072
yzww ([Link] attribute), 1071 zwwz ([Link] attribute), 1072
yzwx ([Link] attribute), 1071 zwx ([Link] attribute), 1072
yzwy ([Link] attribute), 1071 zwxw ([Link] attribute), 1072
yzwz ([Link] attribute), 1071 zwxx ([Link] attribute), 1072
yzx ([Link] attribute), 1071 zwxy ([Link] attribute), 1072
yzxw ([Link] attribute), 1071 zwxz ([Link] attribute), 1073
yzxx ([Link] attribute), 1071 zwy ([Link] attribute), 1073
yzxy ([Link] attribute), 1071 zwyw ([Link] attribute), 1073
yzxz ([Link] attribute), 1071 zwyx ([Link] attribute), 1073
yzy ([Link] attribute), 1072 zwyy ([Link] attribute), 1073
yzyw ([Link] attribute), 1072 zwyz ([Link] attribute), 1073
yzyx ([Link] attribute), 1072 zwz ([Link] attribute), 1073
yzyy ([Link] attribute), 1072 zwzw ([Link] attribute), 1073
yzyz ([Link] attribute), 1072 zwzx ([Link] attribute), 1073
yzz ([Link] attribute), 1072 zwzy ([Link] attribute), 1073
yzzw ([Link] attribute), 1072 zwzz ([Link] attribute), 1073
yzzx ([Link] attribute), 1072 zx ([Link] attribute), 1073
yzzy ([Link] attribute), 1072 zxw ([Link] attribute), 1073
yzzz ([Link] attribute), 1072 zxww ([Link] attribute), 1073
zxwx ([Link] attribute), 1073
Z zxwy ([Link] attribute), 1073
z ([Link].KX_VertexProxy attribute), 1138 zxwz ([Link] attribute), 1073
z ([Link] attribute), 1049 zxx ([Link] attribute), 1073
z ([Link] attribute), 1056 zxxw ([Link] attribute), 1073
z ([Link] attribute), 1072 zxxx ([Link] attribute), 1073
z_direction ([Link] attribute), 402 zxxy ([Link] attribute), 1073
z_scale ([Link] attribute), zxxz ([Link] attribute), 1074
282 zxy ([Link] attribute), 1074
zenith_color ([Link] attribute), 1022 zxyw ([Link] attribute), 1074
zenith_down_factor ([Link] at- zxyx ([Link] attribute), 1074
tribute), 1028 zxyy ([Link] attribute), 1074
zenith_up_factor ([Link] attribute), zxyz ([Link] attribute), 1074
1028 zxz ([Link] attribute), 1074
zero() ([Link] method), 1049 zxzw ([Link] attribute), 1074
zero() ([Link] method), 1053 zxzx ([Link] attribute), 1074
zero() ([Link] method), 1060 zxzy ([Link] attribute), 1074
ZEROKEY (in module [Link]), 1182 zxzz ([Link] attribute), 1074
ZKEY (in module [Link]), 1182 zy ([Link] attribute), 1074
zoom ([Link] attribute), 280 zyw ([Link] attribute), 1074
zoom ([Link] attribute), 375 zyww ([Link] attribute), 1074
zoom ([Link] attribute), 834 zywx ([Link] attribute), 1074
zoom() (in module [Link].view2d), 131 zywy ([Link] attribute), 1074
zoom() (in module [Link].view3d), 135 zywz ([Link] attribute), 1074
zoom_border() (in module [Link].view2d), 131 zyx ([Link] attribute), 1074
zoom_border() (in module [Link].view3d), 135 zyxw ([Link] attribute), 1074
zoom_camera_1_to_1() (in module [Link].view3d), 135 zyxx ([Link] attribute), 1074
zoom_in() (in module [Link].view2d), 131 zyxy ([Link] attribute), 1074
zoom_out() (in module [Link].view2d), 131 zyxz ([Link] attribute), 1075

Index 1301
Blender Index, Release 2.57.0 r36138 - API

zyy ([Link] attribute), 1075


zyyw ([Link] attribute), 1075
zyyx ([Link] attribute), 1075
zyyy ([Link] attribute), 1075
zyyz ([Link] attribute), 1075
zyz ([Link] attribute), 1075
zyzw ([Link] attribute), 1075
zyzx ([Link] attribute), 1075
zyzy ([Link] attribute), 1075
zyzz ([Link] attribute), 1075
zz ([Link] attribute), 1075
zzw ([Link] attribute), 1075
zzww ([Link] attribute), 1075
zzwx ([Link] attribute), 1075
zzwy ([Link] attribute), 1075
zzwz ([Link] attribute), 1075
zzx ([Link] attribute), 1075
zzxw ([Link] attribute), 1075
zzxx ([Link] attribute), 1075
zzxy ([Link] attribute), 1075
zzxz ([Link] attribute), 1076
zzy ([Link] attribute), 1076
zzyw ([Link] attribute), 1076
zzyx ([Link] attribute), 1076
zzyy ([Link] attribute), 1076
zzyz ([Link] attribute), 1076
zzz ([Link] attribute), 1076
zzzw ([Link] attribute), 1076
zzzx ([Link] attribute), 1076
zzzy ([Link] attribute), 1076
zzzz ([Link] attribute), 1076

1302 Index

You might also like