Hey I hope someone could help me with this issue. I'm trying to build an EXR batch write python script, all is going well except when i try to build a drop down list for the user to choose a compression type.
The problem is with the values that contain spaces like the ZIP (1 scanline)
for example.
So i add these lines:
panel.addEnumerationPulldown('Compression', 'none Zip (1 scanline)' )
panel.addEnumerationPulldown("Channels", "all rgb rgba")
panel.show()
c1 = panel.value("Compression")
c2 = panel.value("Channels")
So that i can later access the values by:
write = nuke.createNode('Write', inpanel = False)
write['channels'].setValue(c2)
write['compression'].setValue(c1)
------------------------
Mohamed Selim
Nuke Compositor
Cairo, Egypt
www.mselim.com
<<attachment: Untitled.png>>
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
