I've been scratching my head at this for about 3 hours. I've read many examples and help files but I can't understand how to solve this. I have a sketch projected onto a surface to create a curve. After selecting the curve I want to be able to get the face it is on.
I found a macro in the help files that returns the gettype value. The value for the curve is 51, swSelREFEDGES. I tried setting the curve as a feature and then look at the parents of it but this did not work. I seem to be running around in circles with this. Could anyone point me in the right direction?
SolidworksApi/macros