Macro to measure clearance between materials

Hi,

I'm wondering is it possible to check an assembly for clearances between certain materials? I'm aware of the clearance verification tool but this can't give me what i need. Thanks for any help.

Gary

SolidworksApi macros