Take the 2-minute tour ×
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It's 100% free, no registration required.

Some of my scripts scripts are broken e.g.

bpy.ops.pose.armature_layers(layers=sel_layers) # 2.6 api

has been (unnecessarily) renamed to

bpy.ops.pose.bone_layers(layers=sel_layers) # 2.7

In the 2.71 RC1

bpy.ops.anim.keyframe_insert(type='BUILTIN_KSI_LocRot')

leads to an error:

TypeError: Converting py args to operator properties:  enum "BUILTIN_KSI_LocRot"
 not found in ('Available', 'WholeCharacter')

And seems no longer to respect the bone/armature layers.

The latest documentation I found is:

http://www.blender.org/documentation/blender_python_api_2_70_5/

which is not accessible from the navigation pages from blender.org, manipulating the version part of the URL neither works (tried 2_71, 2_71RC1, 2_71_RC1).

Where can the 2.71 API be found?

share|improve this question
add comment

2 Answers 2

up vote 8 down vote accepted

This url is always redirected to the latest API documentation.

As of the time of writing, it redirects to blender_python_api_2_71_0/.

share|improve this answer
add comment

The documentation hosted online for blender's python api docs is generated from blender's source code. While you will most likely find it awkward to search through the source code for the information you want, you can generate the latest api docs at any time similar to how you can build your own version of blender from source.

Blender uses sphinx to generate the api documentaion. Details of generating the api docs is here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.