In this script, I’ve narrowed the selection down to a family instance I want to delete. But I can’t figure out how to delete it. As you see here, I can’t hook it up directly to Elements.Delete node, because it’s looking for an element instead of a string.
If I try to use filter by bool mask before hooking up to the delete node, I also get an error, no matter what I connect into the “list” input. In this example, I get the “specified cast is not valid” error.
Do you know what I’m missing? Thanks…