Add a pressure pipe connection automatically using dynamo

Hello, everyone.

I would like to know if there is any way to add a pressure pipe connection automatically using dynamo or even python and these connections connect to the pipes?