Get edgepoint of curve in part in spacecoordinates in assembly

Hi everybody.

How can i get the endpoints of a edge in a part, in the modelspace of a assembly(XYZ- Coordinates) with API-functions.

Thanks

Manfred

SolidworksApi macros