Is there a syntax to set 2 parameters at once ? Let say I want to set the lifetime "ltt" and the round "str". Working fine in your exemple but its breaking if I try to set 2 parameters
Thanks. I have been looking for that one for a long time On Mon, Apr 9, 2012, at 15:55, [email protected] wrote: > 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 > > > > -- > Jose Fernandez de Castro > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users -- Hugo Léveillé TD Compositing, Vision Globale [email protected] _______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
