Superimpose lines on curved surface

I am working on creating the structure of a pavilion using dynamo. I have created a series of flat lines connecting points using the Line.ByStartPointEndPoint command. I would like these lines to follow the path of the surface I have created but do not know the correct way to accomplish that. Any ways to do this?

The Surface.ProjectInputOnto node should do the trick here.

Thank you so much Jacob!