How to get the current use of Datums in a drawing?

Hi all,

I am trying to log what letters have already been used as a datum, so I can re-label some drawing views around it. While I have the re-labeling function working properly, I can't find anything on line that gets the already used letters of datums.

Anyone have any ideas?

SolidworksApi macros