[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
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

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, 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
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

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')
nuke.knobDefault('global_motionblur_shutter_offset_type', 'centred')


On Fri, Jun 12, 2015 at 12:35 PM, Bruno-Pierre Jobin bpjo...@gmail.com
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
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users