I'm creating a python program that allows me to take a dxf plane and output information, including x-coordinates, y-coordinates, and the radius of holes in a chassis. I would now like to be able to modify my solidworks assembly with this information. The problem is that the number of holes depends on each truck and the spacing between them as well, so no simple linear repetition . Do you have an idea to create circles in a sketch knowing their x,y and radius coordinates?
In the worst case I can always create a hundred circles, put quotes everywhere and control them with a txt file, but if you have a more elegant technique I'm all for it!
Indeed, it could be suitable because there is a way to control the coordinates. Unfortunately it turns out that the diameters of my holes also change and a priori you can't control the diameter with this technique. (or I didn't find it)
Edit: Or I would have to create several functions with drilling diameters that I am likely to encounter and create several control functions per panel. I'd do that if we can't find something better:)