get points coordinates of a line

Hello everybody,

I would like to draw a line and get all points coordinates of this line, is it possible?

Thanks

SolidworksApi macros