Get dimensions of part file (length, width and tickness)

Hello everyone

I need to make a program using Solidworks API + VB.NET to get total dimensions of a part file (.SLDPRT).

How can I do this? This is possible?

What is API commands to do this?

Thanks

SolidworksApi macros