daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. search = str(nuke.getInput("select items with this in their name:"))
  2.  
  3. for node in nuke.selectedNodes("ReadGeo2"):
  4.     scene_view = node['scene_view']
  5.     all_items = scene_view.getAllItems()
  6.     scene_view.setSelectedItems([item for item in all_items if item.find(search) >= 0])
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top