SetSystemType for undefinied system

I don’t know how @chuongmep’s node works, but you can’t assign a new system type to an undefined network directly. It doesn’t work in Revit and it doesn’t work in Dynamo. You have to add the elements to an existing system. You can create a new system if you need a new one, but you need one to begin with.

You also can’t assign a system to fittings - they inherit the system from their connected elements. You’ll want to filter the fittings out if you want to avoid warnings.

yes so true :wink: thats why i try to connect a duct with system and delete it again :wink: but the node actuelly works if the ducts itnt connected at all

Yeah, that’s where I’m not sure what method is being used with that node currently, but the duct network is still connected so those elements won’t have all their connectors available. You should be able to use the API to add them to a system without dealing with any of those other issues.

yeah probably, i just find it easy to connect a new branch and delete…probably it could be smarter but works…its very rare i work with undefined systems…im try stay away :wink: :wink:

hi my friend
chek this it will work

i think u can select item that is undefined and then set their parameter to the system type that u want, (replace vent with undefined)

Hi @f.saeedian dont think it will work if undefined even manuelly, guess we need connect a system