Hello!
Going off of this discussion..
Is there a way to do the opposite? Go from a static cell to a PCell through Python scripting? I haven’t been able to find any “convert_to_pcell” functions or maybe I’ve overlooked something.
Thanks in advance!
Hi Matthias!
Thank you for your reply. I was actually able to sort of figure it out with the code below based on another discussion you had! :
import klayout.db as kdb layout = pya.Layout() lmap = layout.read("outfile.gds") T…