Profil view pipe elevation by station

Hello,

I have been trying to set pipe invert in profile view. I need to set pipe invert elevetion depending on the aligenment points (station). I have a pipe and i need to know more invert elevation points than start and end of pipe. I started with dynamo a few weeks ago. Does anyone have any good ideas on how to achieve this? Thanks a lot.

I finally managed to calculate the elevation of the pipe at the required points. Does anyone have an idea how to get the values ​​to the profile view? Thanks.

vypocet dna potrub_var2.dyn (35.3 KB)

Hi
Attached example drawing