It's possible to provide libraries per technology, so basically you can specialize a PCell for a technology: implement a generic base class in a general module, then derive a class for a given technol
In general, I am interested for the PCell development and I am trying to use the idea of this example as a base: https://www.klayout.de/forum/discussion/comment/4444#Comment_4444. I am trying to build
The marker browser is exactly build for this purpose. If you're able to format the list of coordinates in it's XML format, you're done. It's also possible to fill a marker database using a script and
#compare two method to calculate the density mapimport pyaimport timepixel = 9pattern_layer = 1000gds_file = "C:/Users/Aeolus/Desktop/testcase1.gds"layout = pya.Layout.new()layout.re
So maybe it would be good to have a "safe merge" hard coded in C++ since Python name compares are probably slower than C++. It looks like "cell#copy_tree" implement
There is no method for "Import layout from another file", because this feature is just using "Cell#copy_tree" or "Cell#copy_tree_shapes":
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