I am quite new to Blender and its Python API. With help of this book i set up my Eclipse environment and also added the code completition part.
I searched the web for some tutorials and got a basic overview of the API.
However, I am a bit confused. Most of the tutorials make use of the
construct, but this is highlighted as an error in Eclipse.
Code: Select all
ob = bpy.context.object
Blender executes it without problems, but for coding its bad to have so much errors. (Errors also appear for several other components of bpy.context, such as active_object.)
My question is, does anyone have a workaround for this or prefers another IDE? Or ist this line of code just outdated and should not be used anymore?