If you’re trying to extract a gds file in magic, you can do this before gds read to flatten pcells. Don’t save the layout.
gds flatglob sky130_fd_pr__*[A-Z]
You probably want to add another * at the end but I can’t on the phone.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.