Need to assign an element IDs to a room parameter

I am trying to track rooms from a linked project file in my host project by assigning the linked file rooms element ID to a parameter in each new room. I only get the first element ID assigned to all of the new rooms LinkElementID parameter. I can’t get dynamo to process the list.

You have to make your list structures match. Right now you have element as an L3 list and value as an L2 list.

Thanks. List Flatten did the trick.