In a previous post I introduced the ability to swap parts for pipe objects. It is also possible to swap structures. The structure of the code is almost exactly the same as the swapping pipes as shown below.
In the above case I’ve gone through and moved the code to vb.net. I’ve also added coded to allow the user to select multiple pipes and structures and added a dialog box to have the user select the pipe and/or structure from a dialog box (most of the code is not shown), no more having to change pipes or structures one at a time.
This short video shows it in action: http://screencast.com/t/MksgtRgeBuHS
If you want to try it on for size you may find the compiled project here: http://style.civil3dreminders.com/C3DRemindersPack2009-10-12.zip
Instructions on how to load it may be found here: