When you select the rail in 3D you should see a blue reference line.
This line can be edited like any polyline (i.e. adding nodes or curving).
You should be able to select the nodes and drag them up/down in height to suit your ramp - create new nodes if necessary.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11