a guest Jul 11th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- search = str(nuke.getInput("select items with this in their name:"))
- for node in nuke.selectedNodes("ReadGeo2"):
- scene_view = node['scene_view']
- all_items = scene_view.getAllItems()
- scene_view.setSelectedItems([item for item in all_items if item.find(search) >= 0])
RAW Paste Data