| 135 | self.height = self.shape.box.height() * self.layout.dbu |
| 136 | |
| 137 | class PCellTestLib2(pya.Library): |
| 138 | |
| 139 | def __init__(self): |
| 140 | |
| 141 | # set the description |
| 142 | self.description = "PCell test lib2" |
| 143 | |
| 144 | # create the PCell declarations |
| 145 | self.layout().register_pcell("Box2", BoxPCell2()) |
| 146 | |
| 147 | # register us with the name "PCellTestLib2" |
| 148 | self.register("PCellTestLib2") |
| 149 | |
| 150 | # A recursive PCell |
| 151 |