Hi there!
It's not just circles, as I am trying to add a few other implementations, and I find both loading and this new way would not be ideal since they both overwrite the original undo stack.
But here is the way that I discover to load the snap…
Thank you very much for your answer!
I am sort of talking about UI, I tried your method, but it won't update the layout in the window view.
I wonder is there a simpler way of doing that?
Thank you very much!
yes here is some stack overflow level sample code for people who just getting started
def button_clicked(self, checked): basePath = r"C:\Users\KLayout\drc\10-Corner85.lydrc" testPath = r"C:\Users\KLayout\drc" …
Hi Matthias
Thank you very much! the dbu one would help me out a lot, also the error I got says Arguement needs to be a DRC layer(class run time error)
That happens when I try to insert stuff into layers
thank you ver much!
Andy
@Matthias
I wonder if there is a more elegent solution without merging, since merging at times can be very time consuming, and I think in a way it would change the original layout. I am just curious
Thank you very much!
Andy
With some help from a friend this is the solution that I wrote
import pyaimport timestartTime = time.time()view = pya.LayoutView.current()cellview = pya.CellView.active()layout = cellview.layout()#obatin target layer and the source layertarget_laye…