Posted By

adamteale on 04/19/10


Tagged

python simple nuke foundry


Versions (?)

print a list of all the "read" nodes in a nuke script that has a "file" name containing 'mov'


 / Published in: Python
 

URL: http://adamteale.com

print a list of all the "read" nodes in a nuke script that has a "file" name containing 'mov'

  1. for a in nuke.allNodes():
  2. if 'Read' in a['name'].value():
  3. if 'mov' in a['file'].value():
  4. print a['file'].value()

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: throb on April 21, 2010

this is sweet!

You need to login to post a comment.