dunno, seems to work here (on a grade and blur node)...
what node are you using it on, and what happens if you print the
mask value?
for node in nuke.selectedNodes():
node["mask"].setValue("rgba.blue")
print node["mask"].value()
also you could try just using "blue" instead of "rgba.blue" to
trouble shoot.
On 10/10/12 at 11:35 PM, nuke-python-re...@thefoundry.co.uk
(NotDaBod) wrote:
Code:
for node in nuke.selectedNodes():
node["mask"].setValue("rgba.blue")
When I use the above script, the node does change it's mask to
rgba.blue but the mask DOESN'T actually work and i get a little
blue "M" in the top right corner of the node.
If I change the nodes mask to rgba.blue manually the mask DOES
work and I don't get the little blue "M" in the top right
corner of the node.
What am I doing wrong?
Thanks
-----
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/
nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python