I had a similar situation.
I’ve imported a few families into my project, than, after a few months deleted (replaced with family parameters) their shared parameters.
I actually used @GavC’s Crumple package for that (and Orchid)
But the parameters stuck in the project.
So i improvised, and exported all the parameters from that family (now when they are family parameters) and added them to a new script to delete the shared parameters in project:
@interactiverendering you can remove the parameters like this too, but you will probably need to write them down one by one by hand. if you don’t know their origin family
You can create a Multiple Category Schedule, export it, and then open it with Excel.
Then copy the second row into Notepad++
Format the text as a list for dynamo (helpful: Notepad++ add to every line - Stack Overflow)
and run the above script