Flatten a swept boss pipe

Folks,

I have a pipe with multiple bends as shown in the picture below made by SWEPT BOSS feature. I would like to flatten this pipe to find the length of it. Please help me out to flatten this pipe and find the length of it.

Thanks a ton....

By,

S R Kumaresh

SolidworksParts And Features