It looks like you're new here. If you want to get involved, click one of these buttons!
Hello! I iterate through all the boxes in my layout to get their absolute transformations by using the following script.
However I also need to store the layers that they belong. How can I modify this script to also get their layer info?
Thanks in advance!
a=pya.LayoutQuery.new("select cell.name, path_trans * cell.bbox, path_trans.disp.x, path_trans.disp.y from instances of ...*")
for q in a.each(my_layout):
box_info=q.data()
Comments
Hi,
this script will give you the cell bounding boxes, not layout boxes. Cell boundary boxes are not layer specific, hence you cannot obtain a layer for them.
Matthias