View Full Version : Python file path
11-27-2012, 08:05 PM
I have also problem which python.I do not have any idea how I can get blend file path into a simple string object?I tried bpy.ops.file.directory but this function wasn't a good idea. If there is somebody who know the answer it would be great:)Thanks for any reply:)
11-28-2012, 07:47 AM
Is that what you are looking for?
11-28-2012, 03:02 PM
Hi:) I used bpy.data.filepath:) Probably I could use context.blend_data.filepath if i only changed the context. In bpy.data.filepath I don't have to do that so code is simpler.However thanks for reply:)
I was wrong. I thought that must change context but I don't have to.I didn't write bpy.context.....
Anyway problem is solved:)
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.