I think I found a way to keep the file path consistent.
Put following code into a Python file and place it into ~/.config/blender/2.xx/scrips/startup/loader.py (replace ~/config/blender with %APPDATA%/Blender Foundation/Blender on Windows, and something along those lines on MacOS).
import bpy
from bpy.app.handlers import persistent
@persistent
def load_handler(dummy):
bpy.data.scenes["Scene"].render.filepath = "/desired/save/folder/"
bpy.app.handlers.load_post.append(load_handler)
Note: Firstly my file name was ss2.py
, and for some reason blender did not want to load it at startup until by accident I renamed it to loader.py
, so I asume there are limitation on file name for scripts.
For me it was not required, but in case it doesn’t work, could be that you need to check a Auto run python scripts
checkbox in User Preferences
This solution works even after you select File -> new from the menu.
If you are going to try this solution, please let me know if it worked.
Thank you