Hi,
When you get a box with "Entities" that basically says you have a cell called "Entities" and you don't have enabled enough levels of hierarchy to have the contents displayed. Did you choose a large enough number of hierarchy…
Hi OkGuy,
did you enter a text on the "PCell" tab?
If you don't it will basically create a TEXT with an empty string and since there is no geometry inside the cell it may look as if the cell was not placed.
Regards,
Matthias
Hi e.bourque,
that's apparently because for some reason it can't find test.gds. If you use the correct input file path, does it work then?
Best regards,
Matthias
Hi chhung,
Actually there is no good way of knowing that. You can tell indirectly from the meta information in "Layout Statistics" (0.22) or "Layout Properties" (0.21): for example, a GDS file will have a "user unit" w…
Hi chhung,
I think that is a compiler issue. Which gcc version are you using? I'd say it's a pretty old one. I have tested myself with 4.3.2, 4.4.3 and 4.7.1 which I think is a fair cross section of the recent ones.
You may be able to solve that b…
Hallo both of you,
Please download the tarkit once again - I have applied two minor changes.
The T_ZOMBIE problem is because the rba.cc file has trouble compiling with Ruby 1.8. Frankly I was not aware I have to support Ruby 1.8 still. I have fixe…
Hi Canny,
I have had a look into the code. For the interactive clip function (Edit/Utilities/Clip) the complete cell will keep it's name or the "CLIP_" prefix is not added with the patch described above. But strmclip behaves differently b…
Hallo,
you don't need a separate Ruby installation. KLayout comes with a built-in Ruby interpreter. To convert an format to CIF you can use the script described in http://klayout.de/forum/comments.php?DiscussionID=195&page=1#Comment_802. There …
Hi Canny,
the correct line is
saveopt.format = "OASIS"
(note the quotes). The format is a string, not a constant.
The extension of the file name does not matter. In version 0.22 you can use the following function to set the format acco…
Hi canny,
sorry for that. I guess I have to look deeper into the code. I was pretty sure that was the place although I did not try myself.
I'll try it out and hopefully I am able to give you some better advice soon.
Regards,
Matthias
Hi Canny,
sorry, the patch was incorrect. I have corrected it above. This one should work now.
Regarding the naming: I was quite sure the name of the original cell should stay the same. But I can't rule out there is a chance that this would not be…
Hi Jean,
the current version 0.22 allows to edit the boxes width/height.
The size function should work - I use it frequently myself. Maybe you can be more specific, i.e. give a precise recipe how to reproduce that problem. I may have a chance to t…
Hallo,
such a feature is on my TODO stack, but among many other features of similar nature, so I can't give a time frame.
Basically, it's possible to add such a feature by scripting. There are a couple of examples in this forum and on the "Us…
Hallo,
in GDS there is in general nothing like a "include". So unlike other system which have the concept of libraries, a plain GDS editor does not allow to refer to external files except by copy & pasting. You're right that this is a…
Hi Canny,
I guess that the complete cells keep their names while the incomplete clip variants are named "$1", "..$2" etc. So it may be possible to identify clipped variants by looking for a "$" in their name (unless th…
Hi Ken,
I did not have time yet to look deeper into the xsection script. But it probably it requires some rewriting.
Did you consider to merge both layouts before applying the xsection? For example by using the "File/Import Layout" funct…
Hi Jean,
To move a shape that you have already drawn, use the "move" mode. Select this mode, pick the shape you want to move and drop it at the desired location.
To resize a box, use the "Partial mode". This lets you select a c…
Just a note from my side: in the upcoming 0.22 version there will be a way to flip/rotate just the view - that is, the layout is shown flipped for example, but the file itself will not change.
Maybe that will be helpful in certain applications, for…
Hi Ken,
sorry of the late answer.
For b.): you're right. This will set the dabase layer name accordingly and then it's shown in the layer list.
For a.): I don't think there is a straightforware solution currently. If I understand you correctly, y…
Hi Ken,
That is actually possible. Here is a simple solution:
Change the constructor of the XSectionGenerator object (around line 490 of the script), so you can supply a file path
# The main class that creates a cross-section fileclass XSectionGe…
Hallo,
Thank you for that nice feedback :-)
I'll put the status bar request on top of my TODO stack as well, but it grows from day to day, so I can't tell when to deliver it.
Best regards,
Matthias
Hi,
I'll put the scaling function on my TODO list, but it has grown pretty long now. So I can't promise such a function soon.
If you want to scale a layout in code, here is a sample:
ly = ... # layout to scalenew_dbu = ... # new database unit# co…
Hi chhung,
the easiest solution is to flatten the layout. After that there is no hierarchy and the text coordinates should correspond to the coordinates as seen from the top cell. But that modifies the layout and bloats up you data potentially.
A …
Hi chhung,
first, I'd apply the changes suggested above. I'd also suggest to use Layout#each_cell to iterate over all cells and test for shape.is_text? before using shape.text.
But the reason for the problem appears to be something different. I su…
Hello,
well, doing it properly and efficient simply requires a couple of lines of code ... :-)
Basically, KLayout is an application, not a library. It's build on some kind of framework which you could reuse (given you observe the implications of t…
Hi Stefan,
I guess you use "Delete cell" from the cell tree. This operation deletes the cell as a whole (and in consequence of that all instances of it).
To delete a specific instance, reduce the hierarchy levels such that the instance y…