[Bf-committers] From the Game Engine, get the name of the .blend file

Damien Touraine damien.touraine at limsi.fr
Fri Feb 24 10:36:17 CET 2012


Hi,

I would like to get the name and the path of the currently loaded file 
inside the Game Engine. I tried to import bpy and get bpy.data.filepath, 
but I can't even import bpy : "No module named bpy".

Regards
     Damien Touraine
PS : I user Blender SVN revision 42510


More information about the Bf-committers mailing list