Change undefined duct

Hi,
Is there any dynamo node or python script to change the undefined duct back to its system?
I tried setparameterbyname with “System Type” but not success.
And I don’t want to manually join the duct with other ducts in order to force change its system type, I want to do it by script.

Hello…MePover had some nodes there probably can help you…

Unfortunately no
But I can finally change it by revitapi, SetSystemType Method
https://www.revitapidocs.com/2020.1/a2a9376f-2dae-cc06-6066-c7b8a7789788.htm

Dear Newshunhk,
Can you share script from here? I am also facing with same problem. :frowning: