It looks like you're new here. If you want to get involved, click one of these buttons!
I want to export a cell but I also want to purposefully create ghost cells for the first layer of hierarchy. I have not been able to do this with Python scripting so far. Do you have any tips of how I could do it?
We've reached a point where having all cells in a single file is not scalable, particularly with multiple team members trying to work on the a chip. So the plan is to write a KLayout Python script which will export each cell to a separate file in the design repository. Each cell layout will consist of the layout at that level and then ghost cells preserving the first layer of hierarchy below.
When someone wants to work on a cell they can run another script that will pull the latest cell layouts from the design repository and populate the ghost cells. They can work on the design before exporting.
The concept is to split the hierarchy into individual cells at save and pull it back together at load. In that way individual cells can be modified without having a single binary file.