Hi Matthias,
Thank you. I have adapted your example to my need and that works perfectly.
The next step is to transfert the layer 1/0 to the 'A.gds' file.
Can I use "copy_tree_shapes" ? If yes, is it possible to get a short example ?
Than…
Thank you David. Very nice tool. That run perfectly.
But in my program, I do not want user intervention (for the selection of boxes). So, do you know if there is a way to select these boxes by program ?
Thanks.
Eric
Thank you David for your answer and your proposal.
I used the following code that it perfectly works for my need:
summaryfile = 'C:\Users\xxxxh\KLayout\Rep_travail\Template\Summary.txt'
File.open(summaryfile, 'w') do |out|
out << "Pr…
Hi Matthias,
thanks a lot. I have included it to my program. That's work perfectly.
I have an another question on a different subject: I have a path composed of 3 points (like a 'L'). The size is random. In a loop, I duplicate it with an angle.
E…
Hi Matthias,
sorry, I was not clear enough:
- I mentioned 'Pattern' but you can translate by shape (or polygon),
- all shapes are merged in the layer 1 (after generating a mapping and flattening the instances),
- the cell containing these sha…
Hi Matthias,
thanks a lot for your prompt reply.
To answer your question, I want to select all polygons of a single layer to know his density area.
It's the first time I use Ruby language and I do not know how to proceed.
Here is the code I want …