KLayout
  • Discussions
  • Sign In
Home › Search
Sign In · Register

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register
  1. Does RBA::Layout.read change existing PCells in a layout?

    Matthias
    by Matthias · May 2016
    The safe way I advise in general is to use "Cell#copy_tree" which takes care of creating unique cells. In your case the script using "Cell#copy_tree" looks like thi
  2. Merge layer with Ruby script

    Matthias
    by Matthias · April 2016
    To use Cell#copy_tree, you'll need to create two layouts, load the two files into these two layouts and then copy over the source cell into the target cell using Cell#copy_tree.
  3. Merge layer with Ruby script

    israelcass
    by israelcass · April 2016
    I'm back and trying to understand how I merge two layers.. I search for Cell#copy_tree but I don't understand how use it.
  4. Merge layer with Ruby script

    Matthias
    by Matthias · April 2016
    Cell#copy_tree and relatives are your friend.
  5. Python script example to merge gds files

    Matthias
    by Matthias · February 2016
    The safer (but slower) way is to read each layout into a separate pya.Layout object and copy the content over from this local layout to the target one using Cell#copy_tree. This will assign unique cel
  6. Python: How to remove artifacts from using object.size() ?

    jchurch
    by jchurch · September 2015
    #Correct Object access
  7. Sorry for dumb question - How I can made my layout from previously saved cells?

    Matthias
    by Matthias · August 2015
    The safe option is to read the individual layouts into a new layout object and copy the contents over into the master layout using Cell#copy_tree.
  8. undo stack

    Matthias
    by Matthias · June 2015
    I just like to add that usually you won't need the manager object. The LayoutView#commit and LayoutView#transaction methods are usually sufficient:
  9. Error when using change_pcell_parameter

    cgelinek_radlogic
    by cgelinek_radlogic · June 2015
    Hi Matthias,
  10. Error when using change_pcell_parameter

    Matthias
    by Matthias · May 2015
    But what's definitely missing is an easy way to enforce coerce_parameters. How about something like "Cell#coerce_pcell_parameters" or "Instance#coerce_pcell_parameters&q
  11. klayout-r2739: Small patch for build.sh and build error

    friendfx
    by friendfx · April 2015
    Hello,
  12. Running one lym from another?

    davidnhutch
    by davidnhutch · February 2015
    But what if "#CODE GOES HERE" is very long code, and you have many buttons, so it is unweildy (and bad organization) to paste all these on_triggered actions in one macro. Well, if it
  13. Button Shortcut to PCell?

    NMF
    by NMF · February 2015
    OK, I did some more reading and I see that the code wrapper I was using was from old scripts before macros. (From http://klayout.de/forum/comments.php?DiscussionID=310&Focus=1425#Comment_1425)
  14. Button Shortcut to PCell?

    davidnhutch
    by davidnhutch · February 2015
    I think #1 may be possible but difficult.
  15. Convert PCell to Static Cell

    davidnhutch
    by davidnhutch · February 2015
    I would like to use Layout#convert_cell_to_static as you say, to convert a PCell (say, all PCells on the layout for argument's sake) to static cell.
  16. Instancing one GDS file as a cell in the open file

    Matthias
    by Matthias · February 2015
    * copy over the shapes and cell tree from that new layout into the master layout using Cell#copy_tree: "target.copy_tree(newLayout.top_cell)"
  17. Convert PCell to Static Cell

    Matthias
    by Matthias · June 2014
    since 0.23.x there is a method Layout#convert_cell_to_static which converts a PCell to a static cell. It takes the cell index of the proxy cell (that is a representative of the PCell in the layout) an
  18. Instancing one GDS file as a cell in the open file

    Matthias
    by Matthias · May 2014
    If the "read again" approach is too simplistic, I can offer Cell#copy_tree_shapes. There is a version of that method which takes a CellMapping object which allows to be very specific
  19. Instancing one GDS file as a cell in the open file

    Matthias
    by Matthias · May 2014
    Since version 0.23.x there is better support for copying shapes, instances and even cell trees across layouts. Have a look at the Cell#copy... method family. There are even hierarchical copy functions
  20. Strange behavior probably involving redraw

    david234589
    by david234589 · March 2014
    make this work #libs = [] #pcells = [] #counter = 0; #RBA::Library.library_names.each_with_index { |l,i| # libs.push(l) # pcell_list = #Get a list of the pcells in library l #lib
Previous Next
Powered by Vanilla