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]>

> 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]>
> Date:
> To: Nuke user discussion <[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]> 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], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to