• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D Customization

    Reply
    Valued Mentor
    Posts: 493
    Registered: ‎09-29-2008

    Custom Pipe Parts With New Contexts

    177 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?

    Please use plain text.
    ADN Support Specialist
    Posts: 104
    Registered: ‎12-23-2008

    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

    Please use plain text.