Jun
04
Creating write nodes
Posted in: Nuke Plugins & ScriptsNeed a little help with creating write nodes and filetypes.
Below is a simplified version of what i am trying to do: creating a write node and set its filetype by the use of a dictionary:
Below is a simplified version of what i am trying to do: creating a write node and set its filetype by the use of a dictionary:
Code:
d = dict({'t1': 6, 't2': 11})
nuke.createNode('Write','file_type d[t1]',True)
No matter what dict entry i use, the filetype is always set to dpx. What gives?? t1 should translate to 6 which in turn would be .jpg….
Post a Comment