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])
Add Comment
Please, Sign In to add comment