"Updating" new cells

Hello,

I encounter the following problem :
I have two OAS files.
The first one is my library (lib.oas) where i generate multiple structures with a ruby code.
The second one (main.oas) where I do my main layout.

What I wanted to do is to modify my library code only when needed (because I generate lot and lot of structures and it takes time to execute the code) and to import the newly generated structure into my file main.oas while replacing the previous cells.

But when I use the import utility (https://www.klayout.de/doc/manual/import_layout.html) I can only do the "extra cell" one (I have an error message about not the TOP cell otherwise). This only duplicate the cells adding a $1 after the newly imported ones.

I tries aswell with the search and replace utility (https://www.klayout.de/doc/manual/search_replace.html) but I doesn't understand fully and the things I tried doesn't worked.

To resume :

1) I have two OAS files, a main one and a library one.
2) I want to import the newly generated files from the library one to the main one and while overwrting the previous ones.

Thank you very much for your help,

Best regards,
Alexis

Comments

Sign In or Register to comment.