It looks like you're new here. If you want to get involved, click one of these buttons!
I had script that does some layout processing in batch mode. It's run fine in hidden views mode:
klayout <layout> -z -r <script>, but failed in headless mode:
klayout <layout> -zz -r <script>.
In both cases layout is accessed trough:
cell_view = pya.CellView.active() layout = cell_view.layout() ... layout post-processing
I added debug prints for
layout and script returns
None for layout in headless mode.
Layout class documentation is too brief for headless mode, so it'll be good idea to expand it to use cases similar to above. If headless mode doesn't not create GUI objects, may be
Layout class should provide access to collection of opened layouts instead of