[Nuke-users] setting the motion blur node to default on center

2015-06-11 Thread jean-luc
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

Re: [Nuke-users] setting the motion blur node to default on center

2015-06-11 Thread Bruno-Pierre Jobin
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,

Re: [Nuke-users] setting the motion blur node to default on center

2015-06-11 Thread jean-luc
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')