Find Difference of coordinates

Hello everyone,

Please advice a way…

(After raybounce node)
I want to find the difference between the z coordinates of each list and return the element ids of sprinkler. Now only the ids of structural element is showing.


Can you share an image with your progress so far?