Changing family type based on absence of parameter value

I have spaces that have numbers, and spaces without numbers. The default tag shows a blank box if no number exists. I would like to create a script where if Number==" " then the family type changes from “Name + Number” to “Name”.

Using Dynamo I can get to where I have a filtered boolean list of my tags. How do I complete the change? I have tried using the FamilyInstance.SetType node by Clockwork but it has not worked for me yet.

Thanks

SetParameterValueByName with “Type” as the parameter input should do the trick.