so far there is no possibility to access the atom pairs found by cmd.distance. Suggestion to make this work: Provide an API function similar to cmd.get_raw_alignment
Now possible with: http://pymolwiki.org/index.php/Get_raw_distances
Now possible with:
http://pymolwiki.org/index.php/Get_raw_distances