AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

*Expert Elite*
Posts: 754
Registered: ‎09-29-2008
Message 1 of 2 (329 Views)

Custom Pipe Parts With New Contexts

329 Views, 1 Replies
09-07-2012 01:40 AM

I have Edited the Conc pipe and added a new profile with three new model parameters to be used as list types in the part type. But it will not hold or change the values when selected. Can anyone help here?


My workflow (obtained from websites : & was to:

Check the custom parts flag then create the Geometry / constraints, dimensions and variables.

Added the following Variables (PWks, PDpth, PBed) to the AeccPartParamCfg file in the AeccDfParameter & pipe part type as optional parameters.


Edit the parts XML and changed the context & index for each variable.


Restart Civil3d 2013 and run partbuilder. Regen Catalog > Test Catalog.


The part is validated correctly but when I insert it into a new partslist the values I receive for the new contexts will not come in correct as to what was selected. Also after creating a pipe I can not change any of the new values (it does not hold after apply) & the bottom of the pipe in model seems to be at an incorrect level based from the actual pipe data.


The part worked as expected in partbuilder with different sizes before the XML mods.


If I re-open the pipe in Part builder I see duplicate references for the newly added contexts and their index numbers.

Any Ideas as to what’s going wrong here. Should I just start again or have I done something wrong in the creation process?

Mike Evans

Civil3D 2013 / 2014 British UK
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

Board Manager
Posts: 195
Registered: ‎12-23-2008
Message 2 of 2 (283 Views)

Re: Custom Pipe Parts With New Contexts

09-25-2012 05:00 PM in reply to: mikeevans

It seems that this question is not Civil 3D API related, so I would suggest you to ask in Civil 3D product board to get advises from more product focused audience.



Daniel Du
Developer Technical Services
Autodesk Developer Network

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.