Hello,
Just tested: it works via the menu "Tools > gros_die" but not from within the "Macro Development" window...
Can you try?
You can also try the attached version: menu entry is "Tools > Generate > Wafer Map Ca…
Hello,
The script below will add a "cross ruler" in the bbox center of each selected object. It can then be used to start your measurement from, or for instance, manually add a label (Text) in a I/O pad center or manually route (Path) fro…
Hi Matthias,
I'm using 0.27.13 on Windows...
1) White background: selected layer and cell are highlighted in gray, layer/cell under the cursor in blue
(Image)
2) Black background: selected layer and cell are not highlighted, layer/cell under th…
Hi Matthias,
Thanks for the info!
It works when placing the cursor on top of a shape or shapes and press the "T" key...
The menu entry "Edit > Selection > Tap" doesn't do anything though (probably because your cursor is …
Hello,
The height of the processing window is 2um by default. You can increase it by adding the next line at the top of your script:
height(10) # 10um, or more if needed...
Cheers,
Tomas
Hello,
I made a little script (attached) which loads a layout and image (.lyimg) simultaneously.
1) first, create a .lyimg file: Edit > Add Image > fill in parameters > Save As... > .lyimg file
(preferably, save it in the same folder a…
Hi Matthias,
Thank you for the source!
As I had the same issue as listed above so I just removed the line "eng._finish" and it worked fine without errors. Are "eng._start" and "eng._finish" really necessary?
cheers,
…
Hi Frank,
Thanks for the reply. I added the reset but it doesn't change a thing.
I also ran the sample code listed in the documentation (https://www.klayout.de/doc-qt5/code/class_RecursiveInstanceIterator.html) on the attached gds file with top ce…
Hello,
@Matthias: since the ".raw" is behind ".extents" overlapping circles are flagged as should be.
The script below flags everything which is not a 2um circle:
layer1 = input(1, 0)
square_bboxes = layer1.extents.raw.squares
…
Hi Matthias,
Thanks for the clarification. "Weird" as in: I expected points with the same coordinates to snap to the same new point...
I'm not really that scared of scripting (anymore ;-), but many colleagues run away as fast as they can…
Hi Matthias,
Thanks for your reply!
I looked a bit deeper in the OAS file and noticed the same thing in the letter "P", where the two shapes are polygons, so still something weird going on with OAS format. So for now I suggest, without s…
Hi,
You could duplicate the cell you want to copy deep and all of its called cells as well. Then, inside these duplicated cells you make all the instances point to these newly duplicated cells... Not sure if there is a method who does this on the f…
Hi Kumaran,
Check out this link:
https://www.klayout.de/forum/discussion/comment/8606#Comment_8606
Note Matthias' comment about the definition of "emptiness"!
You can also use custom queries from the "Search And Replace" tool…