How to get sheetmetal thickness when I have just body object?

How to get sheetmetal thicknes when I have just body object?

Of course this need to be thickness related to this body and this body is sheetmetal.

SolidworksApi macros