Get the x and y of a point.

Hi everyone,

     I have two sketches, Sketch_A and Sketch_B, Sketch_A is being copied to Sketch_B together with other sketches.

     I want to get the new startpoint a line on Sketch_A after it was copied to Sketch_B.

     I'm currently using Sketchline:: GetStartPoint2 but the return value is the x, y, z of the line on Sketch_A.

     What workaround should I do before using this function so that it would return the line's x, y, z based from the Sketch_B.    

     Please see the attached file for futher discussion, if my question is still vague, please let me know.

Best Regards,

J.Torres

SolidworksApi macros