get point from curve

hello,

I have curve and I want to get to endpoint and the start point of him.

I don't wont the xyz of this points,  I want the object "VERTEX"

thanks

beno 

SolidworksApi macros