1. add this to menu.py
nuke.knobDefault( 'Read.auto_alpha', 'True' )
2. this can be done using a loop
e.g. to change parameters on selected roto nodes.
*for i in nuke.selectedNodes('Roto'):*
* print i['motionblur_on'].setValue(True)*
to change size of selected Blur Nodes
*for i in nuke.selectedNodes('Blur'):*
* print i['size'].setValue(10)*
*
*
*
*
*Shailendra*
On Thu, Sep 20, 2012 at 4:23 PM, Khushnum <[email protected]> wrote:
> **
> hi,
> fairly basic question here please,
> 1) I want the "auto alpha" parameter to be ticked for all read nodes as I
> bring them them. I want this to be my default setting.
> How would I do this?
>
> 2) If I wanted to change similar parameters in multiple nodes in my nuke
> script, can I do this all at once? for eg: I want to turn on all MB in my
> roto nodes ( say I have 5 different roto nodes) IS there anything like a
> batch changer like Fusion?
>
> Thank you
>
> Khush
>
> _______________________________________________
> 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