Polyline Curve explode c#

How to explode a Polyline Curve into segments?

I tried to recreate this in c#

everything works but i can’t find a way to explode the polyline curve

Many thanks for every help


For a polyline this should do it


For a generic curve


1 Like

I found a way to solve my problem, but many thanks for your link.

See also for a more general approach also see those older posts: