Drss4

About

Username
Drss4
Joined
Visits
87
Last Active
Roles
Member

Comments

  • omg this is amazing! Thank u!
  • 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!
  • I see! Thank you very much! Andy
  • 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" …
  • nvm I think I find what I was looking for https://www.klayout.de/doc-qt5/code/class_Macro.html#method44
  • I see thank you very much! Andy
  • 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
  • I see! Thank you very much for the respond! 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
  • Sorry for the late reply! Thank you very much Matthias, this is very helpful! Have a great day! 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…