import Blender
from Blender import Ipo
work_ipo = Ipo.Get ('KeyIpo')
In the GameEngine in Blender, there is no problem. But in the “BlenderPlayer.exe” or in the “BlenderDynPlayer.exe” doesn’t work, this is the error (with the opcion “-c” in the player):
PYTHON SCRIPT ERROR:
Traceback (most recent call last):
File "contorl.py", line 4, in ?
AttributeError: Get
It seems that the problem is that “BlenderPublisher.exe” includes the Ipo module and “BlenderPlayer.exe” and “BlenderDynPlayer.exe” NO. Can anyone help me?[/quote][/i]
oh, you have noticed that the blender standalone runtime is sandboxed
the same is true of the plugin
THE BLENDER MODULE IS NOT AVALIABLE AT ALL
[in standalone runtimes or the web plugin]
this was done in part for security reasons since Blender.BGL can bring a system down or get it to run whatever the python coder wants. I don’t know about other blender sub-modules (if they can be called that) but I think I have made my point already
sub modules can be called. for other modules (external python ones) you can put them directly into the .blend, if its a class then make an instance of if and assign it to the Fameblender module