Delete every elements except elements inside one bounding box

Hi, I’ve used “All intersecting Elements of category by boundingbox” from clockwork, but how can I keep them and delete everything else in the model?
Thanks!

In order for people to give you help you need to show more info about what you have tried so far. Where has it failed? What methods can we advise based on what you have tried already?

This is a forum for helping you understand and solve any issues you encounter not for creating scripts for you.

Thanks.

sorry I found a solution.
get all elements and then setdifference with the elements inside bbox, and then delete.