Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

extract list of layers

How can I print list of layers used in gds/oasis file?


  • edited October 2018

    E.g. like this (using the klayout module from
    To install it into your Python: Python bin directory/pip3 install klayout

    import os
    import sys
    import klayout.db as kl
    lay = kl.Layout()
    layer_map =[1])
Sign In or Register to comment.