Keep visible entities only
Use the command Keep visible entities only in Tools to remove all hidden entities and empty subprojects, in order to clean the drawing.
Click Edit.
Click Tools.
Click Keep visible entities only from the drop-down menu.
This function shows this notification, since the removed data cannot be recovered.
Click Yes to proceed to delete all hidden entities. Click No to cancel the operation.