Element.space_ get parameter value Error

Could you help to find a solution for the Error?

It was working perfectly on Revit 2016
Error on Revit 2017

Hi @Bit_DXB

You can use “Room.Name” OOTB node:

Thanks kulkul for your reply.
Working @MEP side
Just need to get the elements in the Space. Write the space info to the Elements.
It was working @2016

After you get the names use “Element.SetParameter” node to set the space names to your data devices. Does that make Sense!