I want to change the value of
File Subpath of
File Output node in
Compositor from python. I'm able to change its
basepath, but I'm unable to change the
File Subpath. Is it possible to change this from python? If yes, how?
I found a solution here and it works
scene = bpy.context.scene for node in scene.node_tree.nodes: if node.type == 'OUTPUT_FILE': node.file_slots.path = ''