Need help creating landscape splines in C++

Hi, I’m looking to use landscape spline component in C++ to procedurally create roads. Currently, I’m using spline mesh components instead, but I cannot seem to bend the spline mesh and conform it to the landscape like how the landscape spline component seems able to do. I am having great difficulty in finding any C++ or even blueprint tutorial on creating landscape spline. Also, with the lack of information in the API documentation, it is really difficult to know which function I need to use. Can anyone help explain to me how I can use the landscape spline component or provide a sample C++/blueprint in creating a landscape spline that conforms to the landscape? Much appreciated.

Hi!

Are you able to find the answer for this problem ?I doing something similar to what you doing , do you mind sharing it on how you do it ?

Thank!