Hello all,

I’m going through and cleaning up some dodgy mattes. As such, I am using a 
paint brush and either filling in or removing bits with a black or white brush 
color.

Getting the active RotoPaint node is simple enough.

activeNode = nuke.toNode(nuke.openPanels()[-1])

What I would like to do is switch the brush color between black and white with 
a keyboard shortcut.

Getting the color set is the tricky bit.

The knob in question is “RotoToolboxKnob”, and I can not find any documentation 
on this anywhere. There is some information about setting knob defaults, but I 
can’t seem to figure out the syntax for setting a color.

Anyone come across this before?

-n

_______________________________________________
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