Python

Utility functions, automation snippets, and pipeline patterns.

Render All Takes (V-Ray Button Callback)

Add this Python callback to a button parameter on the V-Ray renderer to iterate and render all takes.

ContextV-Ray Renderer Use caseRender All Takes ScopeParameter Callback
for take in hou.takes.takes():
    hou.takes.setCurrentTake(take)
    hou.parm('execute').pressButton()