I would like to explode a polyline and I have a question for the ExplodeCurve method. Is the sequence of exploded lines are in an ordered list all the time or we need a custom code to organize them to be next to each other. I mean the segments of the polyline are placed next to each other as it was a polyline before explode.
It means the order they are connected in. So you indeed need a list of segments in topological order.
I am almost certain curve segments are returned in topological order, for all explode operations.
Since a Polyline is just an array of points, I expect the function which explodes them will simply iterate the list of points, make line segments, add them to an output array, and then return the array.