I would like to have multiple file output nodes in my comp scene and want to render seperate ranges for each node. Is this possible ?

thank you

  • $\begingroup$ Unfortunately no. You might be able to do something like what you want with multiple scenes though $\endgroup$ – gandalf3 Apr 8 '15 at 20:43

Create a frame change callback and drive the mute of those output nodes with script:

import bpy

def frame_change_handler(scene):
    nodes = scene.node_tree.nodes
    nodes['File Output 1'].mute = not (15 < scene.frame_current < 50)
    nodes['File Output 2'].mute = not (45 < scene.frame_current < 55)


Adjust the names of the nodes and the ranges like you want. You can also insert a driver to mute property in outliner dataview but such drivers on nodes do not update correctly, that's why it needs to be frame change handler.

If you need to change something in the script and want to re-run it call bpy.app.handlers.frame_change_pre.clear() in console first. Enjoy:)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.