I have a simple script like this:
import bpy
obj=bpy.data.objects["Cube"]
obj.rotation_euler.x=0.3
obj.location.x=2
bpy.ops.render.render(animation=False, write_still=True)
and an animation where the location changes
so whenever I run the script first the rotation & location changes
but when executing render()
the location gets set back to animation value
how do I avoid that? I thought animation=False
avoids playing animation and renders as is