This function adds existing pipe connections to a drawn longitudinal profile.
You find the function in the following location:
The following method is used: