It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Sir,
I have a very large .oam file with 20+ layers. I can open it in view mode in KLayout. Out of memory occurs if I open it in Editing mode. How can I just open a couple of specific layers using Python script and then save it to a new smaller file so that I can edit it layer by layer? BTW, the file is larger because of many (millions of) dummy filler features. Is there a simple way to remove these filler features?
Thanks
Jay
Comments
Hi @zhaoyj,
".oam" is OASIS.mask, right?
A solution to split the file is:
To join the files back into one, use
CAUTION: "--blend_mode=0" only works properly with flat data.
For hierarchical data, a scripted approach is better suited, like the one described here: https://www.klayout.de/forum/discussion/comment/10834#Comment_10834
Best regards,
Matthias
Thank you very much Matthias!
They seem Linux commands. Unfortunately, I am using windows 10 and 11 systems. I'll go with "save as" for only visible layers for now before I learn more on the scripts.
Jay
That is not specifically Linux .. "strm2oas" is a binary shipped with KLayout. There are more of these "buddy tools".
This binary is also available on Windows, but you need some kind of shell to wrap that.
Matthias