You have to understand that CATIA is working in different ways for different workbenches (Sketcher, GSD, Part a.s.o.) and also different when you have CATPart created with "Enable hybrid design" (your sample part is done like this, if I remember correctly).
Macros done for parts created without "Enable hybrid design" (PartBody with green color) can fail very well for the other kind of parts (Partbody with yellow color, to be very clear) even if the parts are looking in the same way (one example is that macro which is creating a surrounding box with surfaces for a catpart).
Usually, when users ask me to create something, I'm going to their desk just to see how they are doing manually their task and try to understand different ways of work to accomplish that task.
For someone who wants to create a macro all inputs should be very clear, otherwise is wasting of time.
Coming to your problem to identify coordinates...Eric's macro in FAQ is giving exactly the coordinates of the points (hope my English is good enough and I understood well what you want).
Is also good to use search function in this forum, there are a lot of code pieces here, during last month, more users come with different solution sharing their knowledge.
Regards
Fernando