"This script allows to convert any selected Spline object(s) to MAXScript code that will recreate them.
Just select any Line or Editable Spline shapes - and run. MAXScript functions that can recreate the shapes will be printed to the MAXScript listener window. You can then take that and create toolbar buttons from them - or add them into your own code. This is useful for creating control or helper objects for rigging. "