Nuke Python Snippets

Some usefull Python snippets for nuke…

 

- Disable “postage stamps” on all nodes
- Check if a node exist
- Print inputs dependencies of a selected node:
- Print inputs dependent of a selected node:
- Remove all animation from a selected nodes:
- Copy selected node with connections:
- Disable heavy nodes like – Defocus, VectorBlur, Convolve, oflow, TVIscale:
- Change all Merge nodes with “mask” operation mask in bbox “intersection” and ones with “stensil” in bbox “B”:
- Set all the merges to bbox B:
- Disconnect all viewers at the start (To add on your Menu.py):
- Change to ‘hold’ instead of ‘black’ in all Read Nodes(for both before and after):
 

//Python inside text node Section//

- Write down the integer of an user knob “num” value:
 
 
________________

Disable “postage stamps” on all nodes:


Check if a node exist:


Print inputs dependencies of a selected node:


Print inputs dependent of a selected node:


Remove all animation from a selected nodes:


Copy selected node with connections:


Disable heavy nodes like – Defocus, VectorBlur, Convolve, oflow, TVIscale:


Change all Merge nodes with “mask” operation mask in bbox “intersection”
and ones with “stensil” in bbox “B”:


Set all the merges to bbox B:


Disconnect all viewers at the start (To add on your Menu.py):


Change to ‘hold’ instead of ‘black’ in all Read Nodes(for both before and after):

 

//Python inside text node Section//


Write down the integer of an user knob “num” value:

©2010 Look-in | All Rights Reserved - Al images in this site are property of respective right owners