While playing around with blender and python for blender 2.5 I found this site Introduction to blender python api. It provides a fairly descent introduction to using python in blender.
One thing that I really liked about this page was the object-completion command (ctrl-space). When you type this on an object it shows all of the methods and variables that the object has. When typed on a partial object name it shows all objects that start with the partial name. For example if I wanted to know items in the bpy object that start with ‘a’ I would type bpy.a and then ctrl-space to get app.
That’s a very useful function not only because you can get useful information from the bpy object, but also because it works on anything the built in python knows about. Typing ‘a’ ctrl-space returns all of the python objects that start with the letter a.
Easily amused; this time I think so 🙂
Tags: blender python