It looks like you're new here. If you want to get involved, click one of these buttons!
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
Did you check this concept: https://www.klayout.de/doc-qt5/about/about_libraries.html ?
It allows installing external files as sources of cells for your main layout. Refreshing the library file will update the cells in the main layout when you load it.
Matthias
Hello Matthias,
Thank you for your help, exactly what i needed.
Have a nice day,
Alexis