code completition von bpy.context

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

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

code completition von bpy.context

Post by SonLa » Tue Oct 29, 2013 11:50 am

Hello,

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?

SonLa[/url]

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests