Hello,
I am trying to write a solidworks api code that automatically detects circles in a part drawing and adds ordinate dimensions to their centers. However, for the life of me I cannot find an API command that finds the center of these circles. I thought I was clever by using the centermarks of these circles and outputting the positions that way, but the centermark positions are not located directly in the center of the circle, they are located in some random spot and change based on the size of the center mark.
If you have any insight on this problem please let me know.
Thank you