Getting family names by string

probably something here will help you replace your list of string with framing types.

And then use the be mentioned method w the code block x[1,2,3, etc…] to pull out the item you want from that list.