Great! I didn’t know this one. Thanks! Win win! -- Bruno-Pierre Jobin
> On Jun 11, 2015, at 9:13 PM, jean-luc <[email protected]> wrote: > > Thanks That's what I was thinking. > if you omit the node class, it works for all the nodes that have the knob. > Even better. So this works perfectly > > nuke.knobDefault('shutteroffset', 'centred') > nuke.knobDefault('motionblur_shutter_offset_type', 'centred') > nuke.knobDefault('global_motionblur_shutter_offset_type', 'centred') > > > On Fri, Jun 12, 2015 at 12:35 PM, Bruno-Pierre Jobin <[email protected] > <mailto:[email protected]>> wrote: > Here it is. Just change “Transform", “ScanlineRender" according to the class > node you want to affect. > > nuke.knobDefault('Transform.shutteroffset', 'centred') > nuke.knobDefault('ScanlineRender.shutteroffset', 'centred') > > -- > Bruno-Pierre Jobin > 514.445.4539 > On Thursday, June 11, 2015 at 7:06 PM, jean-luc wrote: > >> I'm sure it's an easy one line of python but i can't figure it out. >> >> I want Nuke to use the "center" mode in all nodes that have a motion blur >> knob. >> I can figure it out for a specific node but i'd like it to be the default >> nuke wide >> >> Any help appreciated! >> >> Cheers >> Jean-luc >> _______________________________________________ >> Nuke-users mailing list >> [email protected] >> <mailto:[email protected]>, http://forums.thefoundry.co.uk >> <http://forums.thefoundry.co.uk/>/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >> <http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users> > > > _______________________________________________ > Nuke-users mailing list > [email protected] > <mailto:[email protected]>, http://forums.thefoundry.co.uk/ > <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > <http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users> > > _______________________________________________ > Nuke-users mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
