Get diameter dimension reference point

I have the information of dimension value (Ø7) and dimension name (P) (marked in yellow) which were created using two reference dimensional points marked in blue circles. How do I get the information of two sketch lines (marked in red color) or get the sketch points (marked in blue color) using Solidworks API using dimension value (Ø7).

SolidworksApi macros