Thanks for the quick reply
The surface is projected along the Z axis to conform the array to it, which is not corresponding to intended orientation when using the X Rotation feature. I would suggest you to rotate the whole RC instead and set the X Rotation to defaults 0º. That should fix it.
What do you mean with "rotate the whole RC" rotate the railclone Object? That dosn't work, its not following the surface of the ground and my shape is more lke a square than a straight line.
Please feel free to have a look at the chapter 5 - How to use Surfaces of our Next Steps with RailClone guide. Hope you'll find it interesting and helpful.
There is the glue plugin at the end of that page, will try that. Btw the link (headline) of the glue plugin seems to point to the wrong location