Does anyone know the method for adjusting the timing offset of a clip node in batch using python? I’m of course super green in python but for the life of me I can’t figure it out.
@cnoellert - sorry brother - i couldn’t access the attribute either.
Traceback (most recent call last):
File "/opt/Autodesk/presets/2026/shotgun/python/tk_flame_basic/../tk_multi_pythonconsole/python/app/input_widget.py", line 246, in execute
exec(python_code, self._locals, self._locals)
File "python input", line 14, in <module>
RuntimeError: Clip Node does not have any timing_offset attribute.
I can get to timing_offset in a mux node, but that’s less helpful:
import flame
# Get the currently selected node (assuming it's a Mux node)
selected_node_attribute = flame.batch.current_node
mux_node = selected_node_attribute.get_value()
# Set the new timing offset value (e.g., 10 frames)
# Replace with your desired offset. Positive values shift forward, negative backward.
new_offset_value = 10
# Set the timing_offset attribute of the Mux node
mux_node.timing_offset = new_offset_value
print(f"Mux node '{mux_node.name}' timing offset set to: {mux_node.timing_offset}")