tnoradam

About

Username
tnoradam
Joined
Visits
250
Last Active
Roles
Member

Comments

  • Just FYI, the paths were found from the selected cell to the top cell. This turned out to be wrong, because the user may be in another cellview (not the topcell). This means that unless you're in the topcell, it will highlight the selected cells in …
  • Menu Edit > Editor Options. Section Hierarchical Features: Shallow select: select "Select Top Level Objects Only" ?
  • Well, if anyone is interested, here is the full code. It is helpful when troubleshooting layouts. However, a warning is in order. It does take a long time if a cell is selected that is placed a lot of times in the layout (meaning hundreds of times -…
  • Hi Matthias, thank you soooo much for this. This works nicely. I was wracking my brain on this one. I know the GUI cannot even do that, but is there a way to select an array ? I noticed that this code only selects the cell instance, not the entire…
  • Hi Matthias, I spent the whole day on this and I got to the same conclusion as you: I need to find all the instances of the selected cells, then build paths that describe TopCell-->ThatCell, and hand that to lv.object_selection. I came up with a …
  • Hi Matthias, I have to admit I don't quite get the path assignment thing. I think I am close, but I just don't know how to set up the Path objects for lv.object_selection. Can you give me a hint on how that's done ? Thanks. Thomas. def highli…
  • I think I got it figured out. Blindly adding a keybinding string :'' to the string that is used in RBA::Application.instance.set_config was probably not quite right. I have to use menu.insert_item to auto-insert it into the config string properly, b…
  • HI Matthias, to answer your question: the lym file is set to run on startup, but not on early. I was afraid that I'd me messing up things by trying to add items to toolsbar and tools_menu if the main window is not up yet. I hunted it down some mor…
  • yes, I should probably transition to python eventually. Well, for those who don't work on remote computers, here is the code that works. It highlights and cycles through each selected and visible layer every 250ms, and recovers everything after 60s…
  • Hi Matthias, I use a series of load root + "/.rb" commands to execute the ruby code at the time the lym file runs. If I comment these out, then the rb files are not automatically loaded by KLayout scanning, even though they are in /salt/x…
  • Hi Matthias, thank you ! I should have mentioned that I was planning to do this in Ruby :smile: but I can probably translate this ok. So I am taking from this that the internal animations cannot be modified to blink faster etc ? Thomas
  • Never mind, I figured it out. You have to make it a class derived from QObject, and then you can do all that fancy stuff. module MyModule include RBA class TestClass < RBA::QObject def action_at_end_of_timer(timer) …
  • Hi Matthias, if I were to use QTimer in sPoll, then I would need to be able to hand down the parent instance. This turns out to be knifflig. Any suggestions on how to make an appropriate pointer to the parent instance when QTimer is created ? I wou…
  • Hi Matthias, you'd be surprised how many places still use GPIB for a lot of things :smile: I agree though, it is a pain to work with. Good idea with QTimer in sPoll. I will have to think about that. A lot of pieces of equipment need that while data …
  • No, I run it only once, manually. Also, I looked at it more carefully - there are a few items in the export file that are somewhat obsolete, from a long time ago. I decided to delete everything and recreate it. Seems to be working now. I import it o…
  • Spoke too soon. I don't know what exactly what is going on, but the keyboard shortcuts keep disappearing. I am on 26.9 now. I have attached the kb_data file - as generated in the routine attached. Strangely enough, some of the shortcuts are greyed o…
  • We have mapped network drives, so I am hosting it as a "file:". No WedDAV needed.
  • Not quite what this thread is about, but I figure this could help the community with GPIB equipment. I made an NI488.2 GPIB wrapper driver class, I had just fought through it's implementation on MATLAB and JAVA. I tested it on a parameter analyzer a…
  • That sounds reasonable. For our little setup, we use a mapped network drive, so all internal. I couldn't resist, and wrote an updater that checks both grain.xml every 10min. It shows a blinking icon in the toolbar when the versions don't match. …
  • Ah yes ! (1) turns out it was a key-binding save file from 2012, I replaced it with something newer, and now everything is ok. (2) I moved grain.xml out from under /SALT/, and now I can edit it. Thank you !!!
  • ABSOLUTELY INGENIOUS IDEA !!! If you can't react to mouse clicks on layout_view, you can always write a GUI (QDialog) for it that has buttons for scope actions. As for a timer script, I just had to make one that checks for updates every 10min, so h…
  • I have a similar situation. I have many scripts that execute at startup, and many technologies to manage. I found it to be best to execute a code when a GDS is loaded. That way, I switch the technology right after the file is opened. I have a csv fi…
  • I don't know when this was implemented but I noticed this only now. It just opened up a whole host of visual demo opportunities. It is not quite what I had asked to achieve in this thread, but it's worth pointing out. app = RBA::Application.instan…
  • Hi Matthias, I actually believe that your tiling processor suggestion does a good enough job. From the other thread: tp.queue("_tile && (var d = to_f(input.area(_tile.bbox)) / to_f(_tile.bbox.area);_output(res, (1-d)))") Where i…
  • Gotcha ! This did the trick. Thank you !!! def mergeShapes(s1) retVal = RBA::Shapes::new textShapes = RBA::Shapes::new shapes = [] if s1.size>0 s1.each do |shape| …
  • Hi Matthias, this confirms my fears. I take from your response that there is no good way of forcing the tech-button to show another item ? I understand that the technology has already switched, I just would like to also switch the tech-button from r…
  • Hi, I am finally getting around to implementing this automatic tech switcher. I succeeded in the test case below: when the file is loaded, the technology switches and adjust the layers. However, the Technology Manager widget in the tool bar remains…
  • To put it into Homer's words: Doh !
  • Hi Matthias, I can't put the whole code on there. You would need all the processing data and some layout. This may be a bit too much in terms of confidentiality. I will head over there though and finally get set up. I have another simpler problem I …