Hi, Ejprinz,
I am using PyCharm to program python now in windows, one thing I am not familiar is the Klayout pya module.
Usually on the top of the python code, we can type the database which u want to import, for example
import xlwt
or
import p…
Hi, Dion,
Thanks a lot, I am using windows PC, not Linux.
import pya
layout = pya.Layout()
layout.read('c:\Training\123.gds.gz')
for ly_id in layout.layer_indices():
ly_info = layout.get_info(ly_id)
print(ly_info.to_s())
When I use ur code, it…