@dick_freebird:
I have several folders inside ./klayout/pymacros but there are several files too.
None of them is run at the start-up. It doesn't matter if I put them in ./klayout. They are not running. However, when I put them in ./klayout director…
@Matthias :
You are right: Python codes for Pcells (that work perfectly in klayout Windows os version) is not running at the startup in klayout Ubuntu version.
By running ("klayout -d 31 ..") I get errors which I attached to this comment.…
@Matthias The problem is not in Windows.
As I told @dick_freebird I don't have any problem in Windows.
But in Ubuntu, my codes are in the .klayout but still are not available in the libraries.
@dick_freebird Actually, I have a lot of codes. Codes that should be visible in menu is working correctly and are shown inside Macros' menu. But Codes that must show in the Libraries are not showed and I have to run them manually.
I don't have this…
Hi @Matthias,
In fact, all of the codes are inside "pymacros" folder inside .klayout.
But Klayout still not running my python codes. I need to run them manually.
Hi Matthias,
I tried to figure out this code but since I am a noobie I couldn't. It would be easier if I have an example of Python.
Let's assume that I have a Pcell named "Transistor" in a Library called "Test_Lib" which has 4 v…
Yes, my transistors are Pcells. I want to use a script to call-back (use) several Pcell transistor topologies, and change their parameters, and put them in an array of transistors.
Thank you Matthias,
I have one more question:
I have a "pya.Region" which I want to rotate 90 degrees. I know that it can rotate by "transform" but I don't know how I can use this code.