Create a set of cells and insert them in another cell

Hi, I'new to KLayout scrpting. I would like to create a script that would create a number of cells (say 5 different cells). Each cell would have a different name and would contain one instance of a basic library pcell (namely a DONUT) with given inner radius, outer radius and number of vertex.
Then, I would like to create a second script that would create a cell and create a list of instances of the cells created by the first script, each instance defining which cell to use and at which coordinates it should be.
I try to find the solution by myself but did not succeed so far. Thanks for any help.

Sign In or Register to comment.