crizos

About

Username
crizos
Joined
Visits
536
Last Active
Roles
Member

Comments

  • Hi Sebastian, Yes ideally that was the idea. I think that the step of CellInstArray is happening after the creation of the PCell (create_cell/add_pcell_variant - lists the pcell into the Cells directory), If I didn't do any obvious mistake in the…
  • Hi Sebastian, Thank you for your response! Note that I do not want to insert my pcell into layout, but instead I want the user to select it from the Cell category from the main window, and drag-n-drop it to the layout (intentionally I didn't inclu…
  • Hi Matthias, Ok, I see your point, thank you! Chris
  • Hi Matthias, I get the following error when I run your suggested command: (Quote) I observed that sometimes, if there are unsaved changes, it prompts the "Save Needed" window when I run the pya.Application.instance().main_window().close(…
  • Hi Matthias, Currently, I haven't associated my PCell library with a technology, I want to finish every flow without tech-dependencies. The "tech" argument is for future reference and implementation. As documentation mentions: (Quote) I …
  • Hi Matthias, Your explanation did the trick! Thank you very much for providing the code example, it was really helpful. Chris
  • Hi Matthias, (Quote) I'm not really sure I understood how to overcome this issue. Again, I get the same error as before when I'm trying to use the variable directly, and globals() doesn't contain the external variable so I can take it from there. …
  • Hi Matthias, This is what I am trying to do, unsuccessfully. The error I am getting: ERROR: global name 'myVar' is not defined in PCellDeclaration.produce <some_path>/klayout/bin/python/###.py:6 ... :/built-in-pymacros/pcell_declaration_…
  • A sample code of my suggestion, from what I know, until now, regarding this tool's API: layout = pya.CellView().active().layout()myLayer = pya.LayerInfo( 23, 5, 'myLayer')layout.layer(myLayer)print layout.layer_infos()print layout.layer_indexes()f…
  • KLayout Package Index is a good place to start searching where and how to build your own pcells. Complete example of tech-pcell combination are KLayoutPhotonicPCells packages combined. Also a lot of tips and utilities are hidden inside ShapeLib, whi…
  • Hi Matthias, Thank you for your answer, I was hoping that may exist a way to trigger an internal method of this plugin, or anything external, with the pcell information (pcell name, library, parameters dictionary) generated by code, without I have …
  • Hi jheinsoo, Thanks for the answer, I think that you are right for the the zoom-fitting! I guess I never saw these methods. I will try to combine selecting the newly created pcell and then zoom-fit with the "zoom_fit_sel" method. I'll giv…
  • Hi Matthias, Thank you for your responses, and sorry for any inconvenience I caused. For 1), you can think it like something you meet in memes "Its not a bug, its a feature!" :) Regarding 7), in the future, I hope I can contribute somet…
  • Hi Matthias, It is possible to use something like pya.Plugin().mouse_click_event() inside my code? Could be possible to give me an example? Note that I want to avoid creating a plugin button at the layout, but instead to call a procedure-function…
  • Hi guys, 'CleanLooks' really is smoother for eyes! Are there more styles to choose from? Thanks in advance, Chris
  • Hi Matthias, 4) It would make it easier to search by name though, and then filtering that result, or just be used as a preview. But thanks for clearing this out, I thought I was doing something wrong. I suggest that the second paragraph has to be e…
  • Hi Matthias, Thank you for your response, and again sorry for the long post I wouldn't like to spam the forum with many questions. 2) It would be a very nice feature for the future in my opinion :smile: . It would make a bigger an more complicated…