How can I find the height difference between 'surface' and 'link file top face'?

Hello, I’m a beginner who used dynamo for the first time.

The current Rabbit file is linked to the underground parking lot file and the landscape file.

As shown in the attached picture, I would like to find the height difference between the top part of the underground parking lot file and the landscape file.
(The selected part is the landscape file.)

Currently, I have imported ‘Link Element’ for calculation from each link file using dynamo. How do I get the distance between each element that has the same X and Y coordinates?

Thank you for reading this.

@PSY ,

check out data-shapes package! the raybounce tool!

KR

Andreas