I’m trying to calculate the cross slope using Dynamo. I have an alignment and a surface, and my approach is as follows: three points are projected onto the surface ; one in the middle, one on the left, and one on the right. Then, the slope on the right and the cross slope on the left are calculated as percentages.
The issue I’m facing is that when I create the surface using points in Civil 3D, everything works fine. However, as soon as I import a surface as a LandXML file, I get an error message. So far, I have no idea what’s causing this issue.
Thanks, @zachri.jensen My script is now working without any issues.
However, I still have a question.
I’m also ready to share the script with you all.
The problem is that I’m using Dynamo to calculate slopes on the left and right. In Dynamo, I extract the elevations from the surface and then calculate the slopes. To verify the results, I created a few sections in Civil 3D and calculated the slopes there as well. But I’m noticing a discrepancy between the two methods, and I can’t figure out why.
Does anyone have an idea what might be causing this issue?