Dear all, I am quite new to SKILL and I am trying to deal with db objects. What I'd like to do is to get some coordinates of sub-instances in layout, to be able then to draw certain shapes in top level according to those coordinates. Let's suppose, for example, that in my top layout (level 0) I have 10 instances I0, I1, ...I9 (level 1), and each of them has 3 further cells (level 2): I0 has A0, A1, A2, I1 has B0, B1, B2, and so on. Now, I'd like to get the bBox of all cells in level2, such as A0, A1, and so on. The problem is that I don't figure out how to refer these coordinates to the top level. After obtaining the list of the ID of my layout window, suppose cv, I encounter the following problems: - if I use cv~>instanceMasters ~>bBox, the list of bBox related to I0,I1,...I9 are not referring to the top level coordinates. For example, if the layout of the cell I0 starts at (0 0), but in the top this instance is placed at (100 0), the lower left corner that I get is (0 0) - if I use cv~>instances~>bBox, the lower left corners that I get for each cell I0,I1,....I9 is now correctly referring to the top. However, I need to descend another level to manipulate A0, A1,...., but with ~>instances for the level 1 it seems that I cannot manipulate anymore the list of cells in level2 The only way that kind of worked was to use ~>instanceMasters to get the cells of level1, and then for each of them to use ~>instances to get the cells in level2 and manipulate them. In this way I could get all bBoxes for A0,A1,......, but the origin still doesn't refer to the top level. So, repeating, how can I refer those coordinates that I get for cells in level2 to the top level, so that I'll draw something in the top and not in those sub-cells? I hope my explanation is clear and somebody could help me with this. Thank you and kind regards, Nicola
↧