@Matthias , Thanks for your explanation. I am not using scale factors for the cell instance, but I am using a small (0.01 nm) DBU and hence the layout dimension will be -2 to 2 cm? each my block is 5mm in width which result in maximum 4 units?
anot…
Hi ahmedo,
you may try : instance.explode()
Signature: void explode
Description: Explodes the instance array
This method does nothing if the instance was not an array before. The instance object will point to the first instance of the array afte…
Thanks for the discuss here, the code from Matthias works for me. smile:
inst = cell.insert() # A PCell Instance. # This assumes the PCell is in a library. If not, change "cell().library().layout()" to "cell().layout()":inst.cha…
(Quote)
Hi Matthias,
I am going to extract a netlist from a given Layout. The layout will be built from static cells, Pcell and paths, and all the pins will be label using pya.Text shape. so the basic idea is:
* iterate all 0 hierarchy path sha…
I could achieve the transform, but i cannot delete the original object.
the code i am using is:
def Rotation(layout,lmap,sp,box,degree,mirror=0): shape_iter=layout[0].begin_shapes_overlapping(layout[1],vars(layout[2])[lmap],box) t=pya.ICplxTr…