ProjectExplorer, our third party plugin for Civil 3D has the capability to achieve this for you.
Here's a screenshot showing how it's done in a few clicks. Just select as many structures or pipes from the list as you like, then select "Swap Parts" from the right-click menu.