Copy and Paste from a specific level of a linked Model

Hi everybody!
This is the script I’ve been creating for copying different objects from a linked model in Revit. It works pretty well but I need to copy only object from specific levels of the linked model and not all of them (I mean i only need walls from Level 02 and not from Level 01 and level 03, 04… for example).
Can anybody show me what’s missing in the script?
Thanks in advice!

Once you have the list of elements from Springnodes Collect.LinkedInstanceElements then you can query them for their level, compare that against a list of desired levels and then filter the elements before using Springnodes Document.CopyFromLinkInstance

42044.dyn (32.4 KB)