Connecting sprinkler to system

If i can access that API and use it for multiple sprinkler it will make this graph much simpler.

Related to connection thread:
https://forum.dynamobim.com/t/how-to-place-pipes-that-are-connected-to-system/7218

as an alternative im attempting to use this node.
anyone use AddMEPFitting.addElbow sucessfully yet? Gorilla17 pkg, seems like a reduce should have similar code. and could get me what i need.