The Family Type Parameter is a more specific workflow than generally used. Here is an early example that does something similar. Note the python script that gets the Family Types available for that parameter.