Is there a way of obtaining the absolute length of each straight run of pipe in my assembly without using the "Distance Tool"?.

Example: Nodes 10,20,30,40 represent three pieces of 10m in the X direction. Nodes 40, 50, 60, 70, 80 represent four pieces of 10m in the Y.
Is there a function that will output 10-40 is 30m and 40-80 is 40m.

Thanks for your help.