Refrigerator pipe

Hi,
I need to have the pipe length in the BOM.
How can I model the part as the attached image ?
I used weldment environment, but tell you how I modeled the 3D sketch I'm ashamed.
Have you a simple and rapid solution to create a rectangular helix, compatible with weldment environment (no spline) ?
Or if I create this with the sweep function, how can I put length pipe into BOM ?

Thanks,
AlessandroSolidworksWeldments