Volume damper placement

Is it possible, to automatically place volume damper in every air terminal branch ducts?

I tried many python codes, but still didn’t work.

I appreciate your help.

Please read the intro post for newbie.

and please, no double post here and on the dynamo forum. Don’t bother the whole community at once. If one does not work after a few days, then go ahead and ask in the other, but generally you need to try for yourself with an approach and then show and ask.