manipulating an existing plot !
ramrokstheweb at gmail.com
Fri Nov 28 14:29:00 CET 2014
I already have a script that plots a polygon. But now I'm trying to script a python class that would enable me to import the previous plot , make instances and control it too(like specifying parameters like spacing , width, height or the like). My approach was, to create a new layout and try to import the exisiting plot and then try to make instances and manipulate it.
def __init__(self, layout,topcell):
self.layout = pya.Layout()
self.layout.dbu = 0.001
self.topcell = self.layout.create_cell("TOP")
l1 = layout.layer(1, 0)
topcell.shapes(l1).insert(pya.Box(0, 0, 1000, 2000))
self.path = 
How could I use layer mapping or any other method to accomplish this? Looking forward to your advise. Thanks.
More information about the Python-list