Hi there,
I want to automatically have the "left" and "right" in my filepath replaced
with %V.
So I added this addOnCreate callback:
def setStereoFilePath():
nTO = nuke.thisNode()
if nTO != None:
path =
nTO['file'].value().replace("left","%V").replace("right","%V").replace("Left","%V").replace("Right","%V")
nTO['file'].setValue(path)
nuke.addOnCreate(setStereoFilePath, nodeClass = "Read")
It does want it should BUT when I load a new Read node no matter how long
the sequence is it only as the first and last frame set to 1 untill I
search the filepath again.
what can I do?
cheers,
Vincent
--
Vincent Langer
Uhlandstr. 29
71634 Ludwigsburg
+49 176 965 177 61
www.vincentlanger.com
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python