Set global parameter value

hello all
I’ve tried this script to change a global parameter value I didn’t get any error message but the value in the design on revit hasn’t change does any one have an idea about this problem
any help would be apreciated
thank you