Thanks. I will try that out also.  

Sent from my iPhone

On Jun 27, 2012, at 2:47 AM, Johannes Hezer <[email protected]> wrote:

> Hey Dennis,
> 
> after sending that yesterday I thought this might be a bit overcomplicating 
> things...
> 
> nuke.knobDefault("Viewer.viewerProcess", 'None')
> 
> This should do it too... I dont why I went for the callback with the viewer...
> So both ways should work, I'd say this one above is more elegant for this 
> purpose...
> 
> Cheers
> johannes
> 
> On 06/26/2012 09:09 PM, dennis wrote:
>> 
>> Yea, that worked.
>> 
>> Thank you very much,
>> 
>> dennis 
>> -----Original Message----- 
>> From: Johannes Hezer 
>> Sent: Jun 26, 2012 2:04 PM 
>> To: [email protected] 
>> Subject: Re: [Nuke-users] viewer process default setting 
>> 
>> wahh this looks wrong again
>> 
>> http://pastebin.com/HWh9PDBi
>> 
>> -sry I cant control my email client...
>> 
>> 
>> 
>> Am 6/26/12 8:59 PM, schrieb Johannes Hezer:
>>> 
>>> def lut():
>>> x=nuke.thisNode()
>>> x["viewerProcess"].setValue("None")
>>> nuke.addOnCreate(lut,nodeClass='Viewer')
>>> 
>>> 
>>> hmm I gave it a try with None and it does do the job...
>>> the two lines after def have to have four spaces and the fourth line no 
>>> spaces like def... it looks like this got shredded in the last mail.
>>> maybe it is that ?
>>> 
>>> Cheers
>>> johannes
>>> 
>>> Am 6/26/12 8:25 PM, schrieb dennis:
>>>> 
>>>> Thank you for the reply
>>>> 
>>>> I put that in the menu.py and it had not effect.
>>>> When Nuke starts the viewer process is still set to sRGB.
>>>> 
>>>> Any other ideas?
>>>> 
>>>> dennis
>>>> -----Original Message----- 
>>>> From: Johannes Hezer 
>>>> Sent: Jun 26, 2012 1:01 PM 
>>>> To: [email protected]                           
>>>> Subject: Re: [Nuke-users] viewer process default setting 
>>>> 
>>>> Hey dennis,
>>>> 
>>>> I think sth. like this should get you there.. dont know if it works ...
>>>> 
>>>> def lut():
>>>> x=nuke.thisNode()
>>>> x["viewerProcess"].setValue("mylut")
>>>> nuke.addOnCreate(lut,nodeClass='Viewer')
>>>> http://docs.thefoundry.co.uk/nuke/63/pythondevguide/callbacks.html?highlight=addoncreate
>>>> here is more on callbacks...
>>>> 
>>>> Cheers
>>>> johannes
>>>> 
>>>> 
>>>> 
>>>> Am 6/26/12 6:52 PM, schrieb dennis:
>>>>> 
>>>>> I have a custom LUT that I would like to have set as the default in the 
>>>>> viewer when I start Nuke.
>>>>> I have tested the LUT and it is working but cannot figure how to change 
>>>>> the default from sRGB to MyLUT as a default.
>>>>> 
>>>>> Would someone out there be willing to point me in the right direction?
>>>>> 
>>>>> thanks for your help,
>>>>> 
>>>>> dennis
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> 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
>> 
>> 
>> 
>> _______________________________________________
>> 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