Edit Formula Value in Project Environment for Multiple Families at Once

you did not say what the error was, so i tested and got this new error to me:“… expected Document got Document”.

so i looked it up and maybe the solution is in this:

namely : doc = DocumentManager.Instance.CurrentDBDocument

hope that’s it