How is the GTol frame linked to a dimensnion in the API?

Is there a property in the API that tells you what dimension a GTol frame is attached to in a drawing?  I'm exporting data from a drawing to an Excel spreadsheet and I need a way to link the geometric tolerance frame to its dimension.

SolidworksApi macros