It works like a charm. Could you add more feature like separate layouts as the drawing?? Thank you. Anyway, this Lisp help me save time too much
I am happy that I could help you.
For separate layouts as drawings, you can use the LISP given by cmwade.
I know that LISP but if I use that LISP first, I will open one by one drawing and use your LISP again. I meant that if I can separate layout and delete objects not on any viewport at the same time? Thank you very much
Edit: I found that if I only have object in viewport, running LISP again, and it will delete all objects viewpoint. Say another way, if I run the LISP 2 times, it will delete all objects on model space. Could you revise this? Thank you @mailmaverick