Hi @janis-krums .
It looked like fun, so I gave it a try.
Let me tell you beforehand that the processing speed is very slow.
I decided to make it a circumscribed circle for the polygon.
Find a polygon in the specified sketch that can be determined to be a hole, change the polygon to construction, and add a circle.

The script I created is too long, so I have attached it.
Here is the result of trying the DXF file I attached.

Due to the low performance of my PC, it could be processed in less time.
・・・However, needing about 20 minutes to draw 128 circles is too slow.
As an excuse, the progress dialog appears twice.
The first time it is looking for a polygon that can be converted, and the second time it is drawing a circle.
I feel that the cause of the slow processing speed is probably the access to the sketch entity.