The elements you have selected are the instances placed in the project. You can query their type with FamilyInstance.GetType node and link your GetParameterValueByName node to that list.
There are a few nodes in packages that work like this if the parameter is either Type or Instance. I think Rhythm has one.