Nuke Tips – Automatically Disabled Write Node Outside of Frame Range

write_expression_disabled

Whenever I need to write out several scenes with different frame range… Nuke is not friendly in dealing such circumstances compared to After Effects render queue.

Credit goes to Gabor L. Toth for this expression that will automatically disabled the write node outside of its frame range.

frame < input.first_frame || frame > input.last_frame ? 1 : 0

Add this to your Write node disable knob (right click on it and choose Expression in the context menu) as seen in the above screenshot.

write_expression_disabled_custom_range

This is great when for you have two or more write nodes with different frame range (eg: 110-220, 34-96, 0-114), you choose to render all of the write nodes and select Custom range. Choose a range that covers all the possible frame range and render away.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.