The issue I have is that I am making gear teeth as shown and when I try to circular pattern a tooth with the createcircularsketchstepandrepeat function, I input the radius, the arc angle at 1.5 * pi, the spacing at 2 * pi / numberofteeth and then the values true, "", false, false, false. What results is a pattern as such but the center of the pattern is not at the origin. I have no idea why this happens because I recorded the same action and I got the same values that I input in my code except for the arc angle and the center was coincident with the origin.
Does anyone know how to solve this issue?
SolidworksApi macros