CreateNewCurve

I want to create a line on a surface.

I have a face who's surface I access then I use the ICreateNewCurve method, but I don't see how I can set the properties for that curve.

How can I create a line on a surface?

Thank you
Andrian

SolidworksApi macros