Is there a API command that gives the point x distance from the start or end of an edge?

I have an edge and want to identify the point x% from one end or the other.

Is there a native SolidWorks command that does that or will I need to cook up and algorithm?

SolidworksApi/macros