Revision history [back]
I'd do the following...
- Get
WaterUseConnectionsobjects - Use the
HVACComponentfunctionloopto get their respective plant loops - Use the
LoopfunctionsupplyComponentsto get all supply components for the loop returned as a model object vector removethe existing objects- Create your new object
- Use the
PlantLoopfunctionaddSupplyBranchForComponentto add the new object to the loop
Hopefully that helps.