Hope you are all safe !. I am trying a very simple code to draw 100 circles inside a rectangle, then I will use 2 loops to delete 1 of every 2 overlapping circles as follows:
for n in range(len(circles)):
for m in range(n+1, len(circles)):
if rs.CurveCurveIntersection(circles[n], circles[m]) != None:
Where circles is a list containing all created circles, however when I run the script it gives me Message: unable to convert 002b7c29-e30c-4b7b-8d85-02ead6c340a3 into Curve geometry . I am really stuck here and don’t know what to do. I would appreciate any help. You will find the python file attatched.
trial_im_Mai.py (743 Bytes)