Is there a way to calculate the (exposed) surface area of a Karamba beam?

I could calculate the perimeter of a cross-section and multiply it by the length of the beam. However, I would like to optimize my structure based on this value with changing types of cross-sections, so it might be hard to implement.

Dear @adrmna,
at the moment (Karamba3D 1.3.3) there is no easier way to get the exposed surface area of the beams than the one you indicate.
A corresponding output would be a useful addition to the ‘Assemble’- and ‘Optimize Cross Section’-component. Thanks for the suggestion! I will add that to the requested features list on https://github.com/karamba3d/K3D_NightlyBuilds/issues.
– Clemens