Level and Host - how to change Host

I’m trying to change parameter Host from a Structural Foundation.
But I get an error: the parameter is read-only.



script.dyn (11.3 KB)

I want to copy the value of parameter Level to parameter Host.
(Host is a Level, not Floor)
How do I change that?