List mapping help please

Can someone please help me map this list.

The Bottom lists is of window instances I have read the parameter values of height and width, which I am using to create new Types in a different Window Family.

I have combinde the strings to create a new family type name and sorted these so I only get unique family names.

Now I need to read use the original element sizes to set the parameters.
The second list represents the sort order of unique sizes.
How do I match this back to the original element list, so that I have a just the unique family sizes?.

Hi @Justin_Wright,

Could you provide the dyn file please?

WindowMakeTypesFromStrecth.dyn (16.3 KB)

I tried with a structural column family instead of window. the principle is the same.

This works but it may be a little different approach from what you had in mind