Hello Guys
Just an update 2023 to the matter mentioned in the question above,
there is now an add-in called pyRevit, it has many usefil tools to apply on your Revit file, but our main concern today is the one that called Links > then choose List DWGs - it will open a window have all the DWG imports categories with a search in a view option or USE THEIR ID number and search for them using search by ID method in Revit, once you select it- press delete and voila - you will get a clean file from the DWG stray parts everywhere.

it will ask you when pressing List DWGs to select from the view or the ones in the model
select what you seek, most probably will the Model to have all of them at once

And then you will have the results listed with the information as attached below:

Thank you for bringing the matter up @Stephm419
If the above helps; kindly mark this reply Accept as Solution... KUDOS are also welcomed (Only if the above helps)