Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Pipe Parts With New Contexts

1 REPLY 1
Reply
Message 1 of 2
MikeEvansUK
829 Views, 1 Reply

Custom Pipe Parts With New Contexts

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 2022 English
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

1 REPLY 1
Message 2 of 2
Daniel.Du
in reply to: MikeEvansUK

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report