I have a multipart polyline in an ArcGIS Pro 2.9.2 FGDB feature class (NAD83 UTM):
I can set the M-values to the cumulative distance of the line by using the Set As Distance tool (setting "Starting M" to zero):
That works as expected. Part #2's M-values are in the correct order (ascending).
However, if I do a different test, the results are unexpected:
Try a slightly different feature:
Change the X-coordinate of part #1, vertex 2...from 130 meters to 135 meters.
Re-do the test:
Set the M-values to the cumulative distance of the line by using the Set As Distance tool (setting "Starting M" to zero).
Now, part #2's M-values are in the incorrect order (descending):
Why are the M-values in the incorrect order? (descending)
I would expect the M-value order to be the same as the vertex index's order (ascending).
BUG-000148390
.