For objects in room or partially within boundary maybe this other post might help:
Some of these workflows might be able to be adapted to your request.