AutoCAD Civil 3D Customization

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

Custom Pipe Parts With New Contexts

321 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

Board Manager
Daniel.Du
Posts: 181
Registered: ‎12-23-2008
Message 2 of 2 (275 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
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 to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs