Hi Matthias,
Unfortunately, this still doesn't replicate the behavior from the app. This is my main run function:
def run(file_path, **_): t0 = time.perf_counter() layout = pya.Layout() try: layout.read(os.path.normpath(file_path))…
So then does something like this work? Or does it iterate over the layers wrong?
for cell in layout.each_cell(): for idx in layout.layer_indexes(): itr = layout.begin_shapes(cell, idx) region = pya.Region(itr) …
Hi @Matthias,
This is my current main logic block:
issues = [] for cell in layout.each_cell(): for idx in layout.layer_indexes(): itr = layout.begin_shapes(cell, idx) while not itr.at_end(): shp = …