Is there a way to remove all entities of a given type type from a building?

Is there a way to remove say all foundation on a building? (and if stability is off it'll just float there)

That's not what the plugin is supposed to do...
You need a plugin that checks if the foundation is floating