How to evaluate maximum length of curved profile

Dear all,

we wonder if it is possible to evaluate the maximum length of the sides of a curved profile.

As you can see in the video, xGen can find and publish the greatest length of all sides of the created solid. Is there an alternative methods that don't involve xGen?