gdsfactory / kfactory

gdsfactory with a klayout backend
https://gdsfactory.github.io/kfactory/
MIT License
28 stars 10 forks source link

how to avoid caching cells? #321

Closed joamatab closed 1 month ago

joamatab commented 1 month ago

Image

sebastian-goeldi commented 1 month ago

I am not entirely sure what you mean. Sure you can leave the cache away I guess, but to what end? it will just fail on save.

You can force rebuild a cell by doing c.delete(), but be aware I am not sure what happens to existing instances, I think they will just get deleted (of the old instance. @cell will rebuild if it detects a deleted cell.