How to collect elements from links visible on a view in the host model?

This didn’t work for me.

https://forum.dynamobim.com/t/to-push-element-type-parameters-into-shared-parameters-for-rooms/5846/9

In this link we were arguing about getting the job done in pieces. (room numbers into element numbers). But I have 1000 rooms in linked file and doing a cross product intersect check takes a long time.

@Greg_McDowell suggested to do it chunks, and I thought if I can get the rooms from linked model by view specific properties, then I could do it. But I get the same error like @Swapnil_Raut.

Do you have any other suggestions? All I want to do is to make a cross check between rooms in a linked file view and the host file floors.