I have a large model that is too complicated to mesh in its entirety and I want to isolate all of the geometry within a certain radius of a point and delete the rest. I am trying to create a script to automate this because there are a lot of separate geometries that would make this very tedious. I would like the script to delete any geometry that does not intersect a sphere created at a named point location, and I tried using pcall to catch the error but from another community question, it seems like that is not possible. Is there a way to either handle the error properly so the script doesn't end, or a more efficient way of checking for intersection then using the intersect operation on every geometry?