Will try that and let you know.

thanks,

dennis
-----Original Message-----
From: Johannes Hezer
Sent: Jun 26, 2012 1:59 PM
To: [email protected]
Subject: Re: [Nuke-users] viewer process default setting

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

Reply via email to