Another idea is to drop light sources along the run of your tramway on the terrain (copy coords on preview, past into light position). Then export an FBX scene to open in your 3d app. You should then have a string of lights representing all the undulations that you can model around.
Or export a low res Micro Export .obj of your terrain, to use as a guide in another app.