@rounak1068
The code from Matthias belongs to " Ruby "
if you are fan of Python, please try below
import pyalayout = pya.CellView.active().layout()# Box in micron units:clip_rect = pya.DBox(30.0, 30.0, 110.0, 110.0)# create a clip cell …
Hello rounak1068,
Never use script to re-name cell before, I made a trial to rename top-cell "M", it works and a new GDS also be created
import pyaKLAYOUT = pya.Layout()gds_files = ["a.gds"]for each_gds in gds_files: KLAYOUT…
Hello,
Modified the code a bit, it might be you want?
import pyaKLAYOUT = pya.Layout()gds_files = ["xyz.gds"]for each_gds in gds_files: KLAYOUT.read(each_gds) for top_cell_read in KLAYOUT.top_cells(): if top_cell_read.name != "…
It's fine 🙂
@dick_freebird Yes, just as you said, top-bottom verification is doable, that's why I think Klayout is powerful, nice weekend~
Best regards,
Vincent
Hello Matthias,
Before this, I always outputted netlist.l2n , then some excel job followed
now I have warrior to guard another door, thanks
Finally.. passed the test B)
Best regards,
Vincent
Hello Matthias,
Thanks for showing me the door :)
"blank_circuit" trick is great, although this package is die level, but the " black box magic " still workable.
Please see below image -- part of the package ( I called it &q…
Hello, Pradhi
By the way, if inner / outer radius feature is not enough, maybe you can try this one,
which provided by Matthias, it can select edges by angle, and works under DRC macro
original = input(...)patches = original.notch(1.um, angle…
Hello,
Maybe can refer to this first, this method round the stuff that you select only
https://www.klayout.de/forum/discussion/comment/9139#Comment_9139
Hello Matthias,
Thanks for the great favor to me
Maybe the layer propertyies issue comes from my weird computer,
* first, I made the setting here
(Image)
* second, restart Klayout will get this layer already, and
run the code, a…
Hello Matthias,
Happy 2023~
Hmm... set layer 8/0 in layer property file first, with the property what user like, ( color, stripe.. can keep the trait when restart klayout )
then, active the code, in my case, the box is not visiable on la…
Hello Matthias,
I deleted " klayoutrc " file, remade the setting, and the file was regenerated, but seems nothing changed.
Maybe something weird on layer property setting also. For a quick start, layer property usually will be set.
Us…
Hello @Matthias
Thanks for your time, please check the image as below, not sure it will be workable if change some simple setting .
My coding skill is not good, so I need this function to check code and understand it more.
Under Windows 11 & …
Hello @Matthias
Wow, best net friend is back, I should check the similar class first. Forgive me :p
feedback one thing more, not sure the enable/disable debugging button still workable or not,
Can not play the code step by step.
(Image)
Hello JW,
This topic interests me. The code insure the connection between 2 bumps if the distance under 600.
I imagine, maybe manually sorting can be skipped if the jugde condition be more solid. It will be fun if you
can share the criteria for bu…
Hello Matthias,
After trying, I found in Ruby:
Region::Metrics Projection
is equal to python
Region.Metrics.Projection
it works ! I think it's time for me to study " Ruby " thanks~
Sorry, I posted this new discussion under " Verification " when reading some case,
if so, there will be no topic categories to choose. Please help to re-align to " Python code " if possible, thanks..
Hello Matthias,
Try & error, come out below code, it seems work,
Thanks for your perfect reply and this creative tool :)
Vincent
from pya import *import mathcellview = pya.CellView.active()layout = cellview.layout()top = cellview.cellmetal…
hello Matthias,
You should be kidding me.. :)
Method one already works perfectly to me, I have no ruby background, so I missed many great information in the manual, even can not understand properly.You solution always hit the problem in 3 rows, it…
@dick_freebird
Hello, thanks for sharing the experience. At my site, polyimide is common material to do electric isolation, and wet etching is usually performed, special chemical with high etching selectivity ratio, means even no FAB material will…
Hello Matthias & freebird
I am sure that you are expert in VLSI
Yes, this design is belong to post-VLSI field, and connect( metal, " via ", metal ) is not available in this application, but it is ok to embed intersection method …