Select walls in phase and change instance parameter

Hi Everyone,

I’m still a newbee on Dynamo and can’t find what’s wrong with the end of my script.
I want to filter walls by their creation phases then when I get the good selection, I need to modify an instance text parameter (“Test” in my exemple).

It looks like the wall selection works but once I try to link that selection to “Set parameter by name”, it tells me the instance text parameter doesn’t exist. I can’t see what I’m doing wrong here.

Thanks in advance for your help!!

DynamoScript|690x173

You need to filter the walls by phase. Right now you’re filtering the phases and trying to set the Test parameter for phase instead of wall.

Well, I think now should be better, but still have some issues with walls…
When I choose a floor/ceiling category, it works fine. What I don’t get is why does it fails when choosing Wall category??? Phases are the same whatever the category, my project parameter is set for the 3 categories…

Would somebody know what I’m doing wrong still?

… Made it from scratch again and it finally works! Don’t get why it didn’t at first…