Surface detection

Good morning.

I would like to know if there is a way for my family to have a detection of the surface and generate its height automatically, since I only have my element parameterized to receive data, but I am getting inconsistencies in the development of my elements.
I would be grateful if you could guide me .

Uploading: image.png…

Please refrain from creating duplicate topics. Closing this as your other post let the image process before it was completely up there.