Create a Reverse Profile

I created a profile from an alignment, but I needed to reverse the direction of that alignment. However, the profile does not automatically change its direction. I am trying to reverse the profile using Dynamo. Is this possible? I am able to recreate the PVIs in a new profile with the correct stations by taking the original stations and calculating the new ones, but I am unable to set the vertical curves in this new profile.

With core nodes, I can only see an option to get the PVIs of the existing Profile, then you can reverse the station values regarding the end point of the Alignment, and then create a new Layout Profile with the new stations and existing elevations. As far as I can see, you can’t add curves.

1 Like

Thank you for your answer! I had tried this before, but for some reason I don’t know, it didn’t work. In this case, I took the PVI stations, calculated the new ones using the profile length, and used the PVI.SetStation node with the calculated stations. The problem is that this error occurs. Do you know why this happens and how to fix it?

Inverter Perfil - Completo.dyn (42.6 KB)

Did yuo check if the values are within the length of the Alignment? Maybe you have to round the start and end values in case it falls a fraction of a distance outside the Alignment.

Can you create a new Profile with this data?