Guest User

Untitled

a guest
Jul 11th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  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])
Add Comment
Please, Sign In to add comment