In addition to Simons suggestion, you could also add a line to only
affect read nodes.
expression = "your tcl expression"
for i in nuke.selectedNodes():
if i.Class() == 'Read':
i["label"].setValue(expression)
Use this with nuke.allNodes() instead of nuke.selectedNodes() and you
get all your reads without having to select anything =)
/Mikael
<-----Ursprungligt Meddelande----->
From: Simon Björk [[email protected]]
Sent: 7/4/2013 9:26:53 AM
To: [email protected];[email protected]
Subject: Re: [Nuke-users] placing same tcl script / string in multipule
nodetab label
Try running this code in the script editor:
expression = "your tcl expression"
for i in nuke.selectedNodes():
i["label"].setValue(expression)
/Simon
2013/4/7 adam.s.j < [email protected] <mailto:[email protected]> >
Yes I know what read nodes are what, but I have 20-30 passes we
dont use multi channel *.exr files we have one file per pass, copy and
pasting over and over get kinda tirering. Once all the shots are set up
its just a matter of versioning up but during set up its a pain
-adam
Sent from Samsung Mobile
-------- Original message --------
From: Alessandro Pantanella < [email protected]
<mailto:[email protected]> >
Date:
To: Nuke user discussion < [email protected]
<mailto:[email protected]> >
Subject: Re: [Nuke-users] placing same tcl script / string in
multipule node tab label
If you want to apply it only to selected read nodes can't you
just attach the proper tcl script based on the file path or filename?
I guess you can distinguish if it's cg or footage by the path.
On Apr 6, 2013 11:05 PM, "adam jones" < [email protected]
<mailto:[email protected]> > wrote:
Hi all
I need some help
I want to be able to select a group of read nodes and
have the same tcl script placed in all node tab label.
I know I could place or create a node default in my
init.py, problem with that is I have footage coming from 2 different
renders and live action and the resulting printed info would make no
sense in two of the sources / groups of read nodes.
cheers all
-adam
_______________________________________________
Nuke-users mailing list
[email protected]
<mailto:[email protected]> ,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected]
<mailto:[email protected]> ,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
<P><p><font face="Arial, Helvetica, sans-serif" size="2"
style="font-size:13.5px">_______________________________________________________________<BR>Annons:
<a href="http://blimedlem.spray.se/">Skaffa Spray Mail du också - Gratis,
enkelt och säkert!</a></font>_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users