Tagging Pipes

Only 2D view.

I find this topic:

But this script don’t work with my model.
it only shows the start and end point of pipe.