Assigning LCA parameters using Python in Dynamo

Hi everyone,

this topic is not new! But I am struggling with Python part.
I am trying to write back some calculated LCA parameters to the original model. I have created two Dynamo scripts. The first script extract the area of glass of the model and multiple the value with the LCA factors from an Excel file. After that, the scripts create shared parameters for the LCA parameters. Last part is the difficult part that I haven’t been able to overcome. The second script should write back the calculated values to the Revit in front of the already created LCA parameters using Python script in Dynamo.
Can anybody help me with coding of the Python?

Files download link:

Best regards,
Pouya