Deleting model line inside family

It should be possible, but you have to Load the family into memory, do your work on it, then load it back in. The link is a post I made for brining them in from a directory, but you can start here

https://forum.dynamobim.com/t/open-families-from-a-directory-purge-a-category-load-and-save/26577