Hi all,
I did same test which friendfx did. The memory indeed keep inceasing while button got focus. When i click klayout main window to make the wdg window including the buttons lose focus, the memory stop increase. Regarding memory increase satur…
Hi Matthias,
I used your above code to insert widgets in grid layout. As you said, no klayout crash problem. Thanks for your cause identification.
But there is still another problem that the memory usage of klayout will keep accumulating as i open…
Hi all,
I think i found the cause of klayout crash problem. As i add "nil" action to the buttons, no matter how or how long i keep resizing the window size, there won't be klayout crash problem. So the button without corresponding action …
Hi Matthias,
Thanks for your explanation. After I add a parent to the variable "wdg", the "wdg" window is embedded into klayout window and can't be moved or adjusted for window size. I want it floating. Please see below modified…
Hi friendfx,
Thanks for your reply. I use 0.23.4 on win7.
The reason i add app.exec in the end is that i don't use Macro Developement window to run this code. I use the way of klayout.exe -r $my_ruby_code_path to run it, so i have to use app.exec t…
Hi Matthias,
Oh..... i had seen my code many times and didn't find this mistake. Thank you very much. But i have a question. Because i have used below code to load all shapes of the cell i want it to be flatten originally. I am wondering if i use c…
Hi davidenhutch,
Below is my simplied code which can point out the probelm i told. The generated .oas file has nothing. but if you delete the code of flattening (i mark it using pond mark in Unit_Mark" class), result is normal but i want it to…
Hi Matthias,
Below is my exampe code. I create 6 hierchical levels. Only the bottom cell (SUB5) has a box shape. Other parent cells are to make complex array using this box as an instance. Then I use layout.cell.flatten to flatten my main cell (cal…