Update: by changing line 2 to wafer = ly.cell("cell name") that allows me to move down in the hierarchy. However I still cannot get it to identify cells nested inside of other cells. Any advice on how to achieve that?
@Matthias First off thank you for the great solution above, I was able to get it to function if the Cell(Chip) is only one level below the top layer in the hierarchy. If the cell is more than one layer lower I cannot get it to function. Please bear …