It looks like you're new here. If you want to get involved, click one of these buttons!
Hello, I know this is a very simple question but I couldn't figure it out.
I have a cell and I am trying to rotate by 90 degrees and then translate it in x direction. But I couldn't understand how can I do it for a particular cell from python script.
cell = layout.cell('TopCell') layer = layout.layer(1, 0) cell.shapes(layer).insert(pya.Box(1111, 2222,4000, 3000)) # LOWLX, LOWLY, UPRX, UPRY t=pya.DTrans.new(pya.DTrans.R90) #define the transformation #How to rotate the shapes in the cell? I want to produce the rotated copy of the cell with the name 'rotatedCell'