Access Segments of 3DPolyline

I want to create a text specifying the slope of each segment of 3D Polyline. I can access the points of the line just fine by looping through the PolylineVertex3d objects of the line.

However, now I want to access each segment of the polyline, to get the z-value of the start and endpoint as well as the length and the angle. Is there a way to loop through the segments of the 3D Polyline?

Thanks!

Comments

  • Is there a way to loop through the segments of the 3D Polyline?

    Yes, but what language do you want to use ?

  • @Kerry Brown said:

    Is there a way to loop through the segments of the 3D Polyline?

    Yes, but what language do you want to use ?

    Sorry, that would be some helpful information;) I use C#