Get area of Analytical Panel

Hello,
I’m trying to get the areas of analytical panels and tried it like the picture below. It works but I get an error for Element.Geometry because of the Surface. Does anyone has an idea for a smoother solution without the error?

Thanks!

Not sure what the error is so I can only guess at a solution - perhaps try Element.Surfaces which will omit the lines.