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?

Hi Team,

I am in a similar situation I got a structural connection element, how ever im not able to change the host, would like to change it to a Part but theres no way to do it from Revit, is there i can do it with Dynamo

I started with something like this

Cheers