How to take the X Y coordinates of a vertex in a drawing space

Hello!
Can you please tell me how to take the X Y coordinates of a vertex in a drawing space?
My macro is giving incorrect data.
Should be 85, 205, 0.
What's my mistake?

SolidworksApi/macros