jnopaja

About

Username
jnopaja
Joined
Visits
0
Last Active
Roles
Member

Comments

  • That was it. I couldn't figure out which function to use and where to grab the cellview index. Thanks!
  • Ok, so instead of calling layout_view.show_layout everytime, I've decided that I only call it the first time. The cell in question is deleted, then created again (thus giving me a new RBA::Cell). After the algorithm completes, I can click on the c…
  • Ahh, after changing my layermap to map to datatype 0, it no longer produces the data on new layers and it correctly puts the data on the correct gds layer. I will attempt to solve our datatype issue, but I may have additional questions. Thanks!
  • I managed to translate and use the same methodology that was used in the C++ and similar python code and it worked. thanks!
  • That's what I needed to know. Thanks, Matthias!
  • that helps. Thanks, Chris!
    in undo stack Comment by jnopaja June 2015
  • That does help. Thanks, Chris!
  • Thanks, Matthias, for the response. Since the GUI is invoked through klayout using the -z option to hide klayout, is it possible to invoke a command from within the ruby script to make the klayout window visible?
  • some_ruby_file.rb: include RBA ui_path = "./example.ui" parent = Application.instance.main_window ui_file = QFile::new(ui_path) ui_file.open(QIODevice::ReadOnly.to_i) dialog = QFormBuilder::new.load(ui_file, parent) ui_file.close # we …
  • ui file: <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Dialog</class> <widget class="QDialog" name="Dialog"> <property name="geometry&quo…
  • Given a GUI created by loading a .ui file from QtDesigner. That GUI has many items including one QGraphicsView_Native widget. It is this widget to which we want layout data to be drawn. There seems to be two ways one might accomplish this: 1. Pa…
  • I'll try and examine it more closely. I didn't write the actual GUI portion... From my end: (Quote) > (Quote) > (Quote) This code works as a script invoked within klayout, but it doesn't seem to do it from our custom gui. I am working wit…
  • Hi Matthias, We are creating our own custom GUI with its own windows separate from Klayout's GUI. The script is still being run by Klayout, but Klayout windows are not being started. Thus, we do our own RBA calls. The script being run is identi…