AutoCAD Civil 3D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Globally changing pipe diameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Re: Globally changing pipe diameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Not OTB, you can do it two ways:
LAndXMLHack: export the network to LandMXL and edit each pipe diameter to be the required then re-import (Longwinded but use find and replace to speed up).
Export the network as a Windes file using UKIE CKit windes out function. Edit the Standard parts list so that it only contains the pipe diameter you want then import the file (Quick). [Reconmended]
Other way would be to use the Pipes to Excel Vba sample (C:\Program Files\Autodesk\AutoCAD Civil 3D 2011\Sample\Civil 3D API\COM\Vba\Pipe\PipeSample.dvb) you can change the Pipes using oPipe.ResizeByInnerDiaOrWidth(guid, dia, True). but this requires some code. Not easy and about as quick to do as the first option but you only need to make it once, next time you can just run it again.
Re: Globally changing pipe diameters
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It doesn't appear that I've updated the compiled code for 2011, but the code to swap parts may be found here: http://blog.civil3dreminders.com/2009/10/civil-3d-

