One of them is that for every read nodes in a script, it creates a reformat under it, change the reformat label to proxy (so that i an easily flag them and remove them) and change the path from network location to local location
Heres the problem, if I already have some nodes connected to the read (ex: Blur), the blur will connect to the last created reformat nodes. I tried pretty much everything.
Heres a quick video that show what happen : http://files.getdropbox.com/u/1071227/nuke_proxy.mov
Here’s the part of the script that does it:
for node in nuke.allNodes():
if node.Class() == 'Read':
source = node.knob('file').value()
dest = source.replace('/Volumes/PROD/VFX/PROJETS/','/SHAKE_PROXY/')
node.knob('selected').setValue(True)
a = nuke.createNode("Reformat")
a.knob('label').setValue('PROXY')
a.setInput(0,node)
node.knob('selected').setValue(False)
Post a Comment