Cinema 4D Program Documentation Reference Cinema 4D Basic Features Spline Menu
Function available in CINEMA 4D Prime, Visualize, Broadcast, Studio & BodyPaint 3D

Line Up

This command aligns sequentially selected points to a straight line. The points are aligned between the two outer points of the selection (on the basis of the spline point order). If no points are selected, the entire spline is aligned.

Before.
After.

For best results, use a Linear or Bezier spline.