render filepath [SOLVED]

hello. How do I access the filepath to which I am rendering with blender python scripting? I have tried “RenderSettings.filepath”. This does not work. Is there another way? Thank you.

1 Like

it should work, you need to access it from context scene

bpy.context.scene.render.filepath

1 Like

yes. you are right. thankyou.

1 Like