API macro, get data from vertices in drawing/view

Hello,

I am very new to macros, especially in SW. I am trying to get the coordinates from vertices in drawings. I know this has been asked in the past, but I don't believe it has been resolved... at least to my liking,

I have gone through various examples, and I am able to count the vertices, but I just don't know how to grab the coordinates. I don't know the classes or members to call.

Once again, I want to do this from drawings, not parts or assemblies.

I know there is a ::SelectById2, but how do I use that if I don't know the Id's?

Thanks,

Ben

SolidworksApi/macros