Blender Python Interpreter Handle???

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Sameer.Mirza
Posts: 0
Joined: Tue Dec 12, 2006 10:46 am

Blender Python Interpreter Handle???

Post by Sameer.Mirza » Fri Dec 15, 2006 2:04 pm

I'm calling a C++ DLL function through BPython. Is it possible for that C++ function to run another BPython script from within it, accessing that same Blender data runtime as it was originally generated from?

The problem is I need to give the control of the data flow to the C++ dll rather than the Blender Script.

In other words can I get some kind of a handle to the Blender Python interpreter which i can pass around functions?

an-toni
Posts: 0
Joined: Wed Mar 17, 2004 5:20 pm

Post by an-toni » Fri Dec 15, 2006 4:22 pm

could you pass the bpy functions to the c++ code, so it could then call back using those references?

i don't know about it otherwise, can be possible to get a handle but dunno.

~Toni

Post Reply