UPDATE: I succeeded to to solve the problem of non updating.
NOW, How to modify this dynamo script to be used with all family elements?
Hello, I used a dynamo script from this discussion to change the loss method settings and the value changed but the pressure drop did not!!
Any suggestions to solve this problem, keeping in mind that I am very bad at python.