AutoCAD Civil 3D Customization

AutoCAD Civil 3D Customization

Reply
*Expert Elite*
mikeevans
Posts: 816
Registered: ‎09-29-2008
Message 1 of 2 (363 Views)

Custom Pipe Parts With New Contexts

363 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 : http://civil2inventor.wordpress.com/2009/09/16/civil-3d-part-builder-solutions/ & http://civil3dpedia.com/2009/09/03/civil-3d-part-builder-not-just-3d-part-2/) 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

ADN Support Specialist
Daniel.Du
Posts: 276
Registered: ‎12-23-2008
Message 2 of 2 (314 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. 

 

http://forums.autodesk.com/t5/AutoCAD-Civil-3D/bd-p/66

 

 



Daniel Du
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.