Revision history [back]
I'd do the following...
- Get
WaterUseConnections
objects - Use the
HVACComponent
functionloop
to get their respective plant loops - Use the
Loop
functionsupplyComponents
to get all supply components for the loop returned as a model object vector remove
the existing objects- Create your new object
- Use the
PlantLoop
functionaddSupplyBranchForComponent
to add the new object to the loop
Hopefully that helps.