Dynamo SetParameter + GetParameter

Hello,
I dont understand why I dont have directly 2 for my parameter? I need to run a second time to have what I want. Can you help me please?
Dyn.pdf (72.7 KB)

Hi @thomas.1,

I tried to do it myself and it works fine. Which version of Dynamo and Revit are you using?