Is there a quicker method of measuring minimum wall distance

I have a macro right now that will measure every possible pair of surfaces in a part to determine minimum wall thicknesses but as you can imagine it takes a very long time to execute on anything with more than just a couple of surfaces.  Does anyone know of a quicker way?  For instance, can you measure between surfaces without actually having the api select the surfaces and create a measure?

SolidworksApi macros