Setting calculated value, from elements, to Parameter within family

According to this your .dyn should have
worked(?).

Did you start Dynamo when within the Family Editor?