length of a chained curve

I want to measure the total lenght of a curve not the distance vom the start to de end. Because i have a sheet with a already defined length, which i want to bend. is there a salution?