I'm trying to store render settings and other settings in a txt-file. Sadly I was not able to find a proper solution on google.
Is there an accurate way get the settings, store them in a file and put them back in an other file?
Example, store this:
bpy.context.scene.render.engine = 'BLENDER_EEVEE'
bpy.context.scene.eevee.taa_render_samples = 45
bpy.context.scene.eevee.use_motion_blur = False
And get it back in another file.
https://blenderartists.org/t/bpy-ops-text-open-use-and-access-data-of-the-read-text-file/512901
https://blender.stackexchange.com/questions/34018/python-script-that-reads-text-file-containing-coordinates-and-creates-a-path-cur
– fmotion1 Oct 21 '20 at 09:10obj = bpy.context.objecttoscene = bpy.context.sceneand work from there. Could you please edit code markdown into question. – batFINGER Oct 21 '20 at 11:15bpy.utils.script_paths("presets")in console. Shows the root of the presets path. The I/O is done for us. – batFINGER Nov 01 '20 at 07:38