You are right, it doesn't work. And what's funny is that that attribute seems to be set globally for all the other tools that have the offset controls (if you set round to true in the interface in the clone node it also sets it for the bezier and spline controls...). Looks like a possible bug to me.
On Tue, Apr 10, 2012 at 12:00 PM, Hugo Léveillé <[email protected]> wrote: > Ok I had the syntax right. But for some reason the "round" knob is not > working for me. (unless I'm not triggering the right one) > > kSourceTranslateRoundAttribute = 'str' > > so what I am trying is: > > .... > { clone ltt 0 str True} > .... > > > > > On Tue, Apr 10, 2012, at 11:12, [email protected] wrote: >> This seems to work for me (in the context of the previous example): >> >> { clone ltt 0 opc .5} >> >> On Tue, Apr 10, 2012 at 4:46 AM, Hugo Léveillé <[email protected]> >> wrote: >> > 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 >> >> >> >> -- >> 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 -- 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
