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


/ Published in: Python
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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()

URL: http://adamteale.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.