Extract Pipe Center Curve Script?

Hi Karki -

The version of that script that is found in this thread doesn’t support Extrusion objects.
You can find an updated version in the following post:

-wim