Connect to Plumbing

Hi, so i have this routine where i`m trying to connect two plumbing. but I need way to select the connector I want.
Is there way to name the connector so I can choose wich one I want?

You can name connectors in the family. Then you’d have to use Python to get the available connectors and filter by name.

If there is any difference in the connector that you can filter by (flow direction/size/system classification, etc) than you can use that to get the connector you want. MEPover package has a bunch of nodes to get connectors from family instances and to query connector properties.