oops, sent email to fast....

Let say I have a read set to rec709 and I want to create a write with
the same colorspace

source = nuke.selectedNode['colorspace'].value()
w = nuke.createNode("Write")
w['colorspace'].setValue( source )

print source >>> rec709)

Everything is fine. But if I have a read with metadata that flags the
colorspace as rec709, and that normally all my dpx are flagged as Cineon
by default, I get the following problem:

source = nuke.selectedNode['colorspace'].value()
w = nuke.createNode("Write")
w['colorspace'].setValue( source )

print source >>> default (rec709)
print w['colorspace'].value()  >>>> default (Cineon)

So, beside parsing  the string, is there a way to bypass the default
value returned?


-- 
  Hugo Léveillé
  TD Compositing, Vision Globale
  [email protected]

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to