export sketch point coordinates to CSV file

Good morning,

I'm currently using a macro that retrieves the coordinates of points relative to the part origin, which has been very helpful. However, I would now like to modify it so that the reference point is not the part origin, but rather the bottom-left point of the sketch, as this is more suitable for use in assembly documents.

Could you please advise which function or method I should use to identify and reference the bottom-left point of a sketch?

Thank you in advance for your support.