It looks like you're new here. If you want to get involved, click one of these buttons!
I want to remove instances which do not overlap with a circular form using a Python script.
For sure, Klayout gives the possibility to check the overlap betwwen two boxes, but I don't see how to check the overlap between a box and a circular form.
box=.... if not box.overlaps(db.Box(inst.bbox())): inst.delete()