It looks like you're new here. If you want to get involved, click one of these buttons!
Hi all,
I want to create a chip numbering and found the PCell array generator was developed already to realize that.
Installing the Toolbox and setting it up worked - as far as I can see it. Also, the PCell array generator dialog appears and the required *xlsx file is generated and read by the script.
It also seems, that the script is doing something and generating at least the PCells but I can't see the cells in my layout.
Making them as a top cell, I can see that there is also the content generated. But It can be seen only in top cell mode - not in the layout itself.
Unfortunately, it is also generated a script error I can't handle. Does anybody has a solution for that?
Or has anybody another solution apart from the Red Toolbox, mybe as a python script or something else?
Many thanks in advance...
Dirk
Comments
Hi Dirk,
You need to update the transformation "t" by adding ".to_i" twice:
t = Trans.new((x[i]/dbu).to_i,(y[i]/dbu).to_i)
I had to do this in some very old scripts of mine as well, which worked in the past, but due to one of the KLayout or Ruby library updates, they did not work anymore.
Cheers,
Tomas