
Straighten Edge (maxscript) allows projecting and placing selected vertices/edges on the given straight line on the Editable Poly object, Edit Poly modifier, and Editable Spline & Line objects.
When the SHIFT key is pressed, vertices/edges will be straightened with axis constraints