It looks like you're new here. If you want to get involved, click one of these buttons!
I would like to obtain a text listing of the layout hierarchy,
just as it appears in the fully expanded "Cells" window
when in not-Flat_List_Mode (I suppose the flat format
has its uses too).
I cannot find in the menus any item that would do this.
Obviously the information already exists right in that
window. But it is not copy-able (Copy wants to select
the cell, not text) or printable-to-file.
Maybe there could be a context-menu addition to
"Copy All" (as displayed, as text) to the system paste
buffer, so the info can be taken between applications?
Comments
Yes, sure
But there can also be a (Python) script:
It opens a browser window from which you can press Ctrl+A to select all and Ctrl+C for copy.
Best regards,
Matthias
Hi,
Is there a way to do this with just the python module and not using the klayout viewer? ie using the Cell class instead of CellView class
EDIT: I found a solution. Need to clean up the output format using indents but for now this gets me what I need
Thanks,
Scott
Yes
But it does not print the nice tree ...
Matthias