2 questions:
1)How could I get the path of the currently loaded .blend file?
2)How do I find the name of the loaded .blend file?
Thanks a bunch for any help!
2 questions:
1)How could I get the path of the currently loaded .blend file?
2)How do I find the name of the loaded .blend file?
Thanks a bunch for any help!
Nevermind… I found the solution to both of my questions.
import Blender
Fname = Blender.Get('filename')
dir = Blender.sys.dirname(Fname)