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], 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

Reply via email to