I am trying to Element.SetParameterByname value for my pier’s height. So I’m trying to calculate distance from my pier’s insertion point to a created topography in Z Axis direction. Any ideas? I was trying to Point.Project to a topography but for that I think I have to first Topography.Mesh and then create polysurface from that mesh with Mesh.ToPolysurface, but that takes some times since my topography is pretty large. I was hoping you could help me with a more elegant and shorter solution. Maybe there is a DistanceTo type of node that calculates distance from a point to topography in Z Axis direction?

I would then calculate Z coordinate distance from pier’s insertion point and the point on topography and set it as my parameter value.

Could you please explain how to do this? Trying to find a faster method then the point.project node. Distance of a point to a surface in z direction might be much faster.