Draw lines in relation to terrainmodel

I hope to find the answer to the following problem:

I already have a terrainmodel. Now I get a dataset of 2D lines with at the ends a figure, saying: "This line is x cm/m below terrain"

How do I get those (many) line's automatic drawn into my design in 3D, and offset to the terrainmodel?