What error does the yellow node give you?
Solve that first.
Then take the node String from Object to convert the family names in the bottom part of your picture to a string (text) then match that with your 4th sublist with the Contains node and a Boolean Mask node.
Then make a new list that contains coordinates and family name.
Then separate them out using a code block calling indexes like you did already
Then feed the result to the FamilyInstance.ByCurve node like this.
In later posts there was mentioned just BimEDU package but this one do not had that package. And then it wants me to update Orchid (But I install BimEDU so which Orchid…) so I rather use the original solution when it work.
But thank you for hint.
I am really sorry. If I can say I prefer code block than a prepared node. Because sometimes the description in the node is not descriptive enought. And at the end I was just really happy that it works.