code completition von bpy.context

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Mon Oct 28, 2013 11:04 pm

code completition von bpy.context

Post by SonLa »


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

Code: Select all

ob = bpy.context.object
construct, but this is highlighted as an error in Eclipse.
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?


Post Reply