Pipe Cut Length Of A Bent Spool?

Hi,

Basically I am trying to create cut lengths for bent pipe spools, we have over 4.5km of piping on this job and i want to be able to create my bill of materials and it automatically give a length of each spool rather that lengths of the pipe/elbow individually. I thought about maybe flattening out the bent spool to get an overall length but I don't think this is possible when using routing.

Regards,

Josh

SolidworksRouting