type help('_curvelib') on script editor and run to find out the attributes.
ltt = lifetime
opc = opacity
and so on.
Hi Alex, you have to do it like this (for lifetime, for example). They
should really change the way this works, I have a bug id for it: bug
#10544
nuke.knobDefault("RotoPaint.toolbox", '''clone {
{ brush ltt 0}
{ clone ltt 0}
{ blur ltt 0}
{ sharpen ltt 0}
{ smear ltt 0}
{ eraser ltt 0}
{ reveal ltt 0}
{ dodge ltt 0}
{ burn ltt 0}
}''')
On Mon, Apr 9, 2012 at 3:45 PM, Alexander Berson <[email protected]>
wrote:
hello,
Is there a straight forward way of setting the tool bar knobDefaults on
create for the RotoPaint node?
ie
nuke.knobDefault('RotoPaint.toolbar_opacity', '0.05')
nuke.knobDefault('RotoPaint.toolbar_lifetime_type', 'all')
obviously don't work or I'm missing something.. also not sure what the
expression would be if I wanted it to apply these settings only under
certain paint tools inside of the roto paint node.
ie
clone and the eraser tool gets set to : opacity = .05
lifetime =
all
other tools get left at their default state of single frame and 1
opacity.
thanks,
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
--
**************************
Magno Borgo
www.borgo.tv
www.boundaryvfx.com
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users