How to connect multiple pipes and fittings using OpenMEP (Revit + Dynamo)

We can get connector’s points and group them by distance. See attached DYN.

MEP.dyn (45.9 KB)