AnsweredAssumed Answered

C# API User Coordinate System

Question asked by Weijie Yang on Mar 12, 2020
Latest reply on Mar 13, 2020 by Artem Taturevych

Dear Forums:

      I just want to ask something about the coordinate system. When the user tries to sketch on the plane, the default coordinate system will be located at the lower_left corner.(See picture below if you don't understand) However, on some planes the coordinate system of the sketch will be located at the lower_right corner. I try to modify that in the main SOLIDWORKs interface, it works fine. But the record macro function does not provides the code for that. Is there a way to define the user-coordinate system so the sketch origin always begin at the lower_left corner? 


I am trying to write the code to cut a hole on any surfaces, if the coordinate system is not position correctly, then the function will not works. Please help !!!