Transfer a number from a Room Project Parameter (linked file) to a Space Project

Hi

I have been working on a Definition to transfer a number from a Room Project Parameter (linked file) to a Space Project Parameter.

Autodesks Space Naming Utility is not a option in this case.

I my definition so far I can get the list of Rooms in the Linked file and the Spaces in my own file.

The big questions - how do i proceed to tranfer the number to the Space Parameter and insure its transferred to the right Space??

 

 

Capture