It looks like you're new here. If you want to get involved, click one of these buttons!
I'm trying to merge multiple layout files by reading multiple files into the same layout object. When using "GDS" files, this method works and the resulting layout is the merged copy; however when I'm using "OASIS" as input files, the output doesn't contain merged data.
Comments
No, there is no difference between both readers in terms of "read into" behaviour.
There must be a different explanation.
Matthias
Hi Matthias,
So I re-opened and re-saved the OASIS files in klayout and then it has worked properly, so it looks like there is something unique w/ the original tool that wrote out the OASIS files. I'll see if I can create a simple test-case that you can review.
Hi Matthias,
I was able to create a simple test-case (single rectangle in each file); it does seem like it has to do with the way properties are written in the OASIS file (if I re-save the file using klayout and re-write the properties, the merge operation seems to work properly). I sent you the testcases via PM.
Thanks a lot. I'll take a look!
Matthias
@vvslavavv Thanks again for the test cases. However I have difficulties reproducing the issue.
I downloaded the first two samples from your dropbox. These files download as CELLA_1.1.oas and CELLA_2.1.oas. The OASIS structure is that:
so eventually the cellname is declared after the cell is defined which I was suspecting to trigger the issue.
However when I use this simple script:
the output contains two rectangles which I think is the correct behaviour:
Maybe you can give me some more details. Specifically: which is the version and OS you're using? Is the script identical to your application or are you using different modes maybe?
Thanks,
Matthias