Duct_Support_Automaticly

Hello. Can somebody help me. I’ve created Duct_Support. How can I with Dynamo automatically adjust support on duct level?