Element ID's in list

You can reselect the Revit elements with the IDs. Your input would be the "newList" output.

More info here: