How to select vertex(es) on drawing?

Hi, I am working on a macro which should select vertex(es) on drawing(s).

I know the X, Y  coordinates  (and Z but it is always 0) of the vertex(es) but I

don't know how to select them. Does anybody have any idea how to do it? Many thanks!

SolidworksApi macros