Delete PlaceHolder Component

Hello, with this GhPython code we can find PlacehloderComponent with their original names, is it possible to delete them?

image

missing components.gh (5.2 KB)

Update: It work

Update: this problem solved
grasshopper object expired during solution

Maybe there is a better solution

remove placeholder comp.gh (2.3 KB)

13 Likes