hi <@U016EM8L91B>, <@U017X0NM2E7> - want to delete...
# magic
r
hi @Tim Edwards, @Mitch Bailey - want to delete all instances of decap cells - what is the command in magic ? The instance names are pattern PHY and decap
t
I don't know of an easy way; you can do it with something like this:
Copy code
set celllist [cellname list instances sky130_fd_sc_hd__decap_3]
foreach cell $celllist {select cell $cell ; delete}
which can be put in a double loop like this:
Copy code
foreach strength {1 2 3 4 6 8 12} {
    set celllist [cellname list instances sky130_fd_sc_hd__decap_$strength]
    foreach cell $celllist {select cell $cell ; delete}
}