Tag Archives: complex

Creating Custom Parameteric Pipe Structures in Civil 3D Part Builder

Its not everyone’s favourite part of Civil 3D. But I get a lot of questions about it.

Civil 3D Part Builder has the ability to create custom parametric parts of all shapes and sizes. The video below will explain everything in detail, the rest of the blog further below will just run over the stumbling blocks you need to know.

Adding Custom Contexts

To add custom contexts you will need to go to this path and edit the “AeccPartParamCfg.xml”. You will need to restart civil 3D to see the changes in part builder

C:\ProgramData\Autodesk\C3D 2016\enu\Pipes Catalog\Aecc Shared Content\AeccPartParamCfg.xml

Add your custom parameter in the <AeccParamDeclaration> section, just copy another one and change it to suit.

Then add your same context into the <AeccParamUsage> section further below. Make sure you enter it under the correct structure type.

Linking the Custom Context to the Dimensions

To create the link to the custom context parameters you will need to ensure your part is mostly finished first. Ensure you have a dimension in Civil 3D that represents the custom parameter, you will override it in the part’s XML

Now open the parts XML file it can be found in the catalog location here.

IMPORTANT NOTE: opening the part in part builder will reset these changes shown here and you will need to go and do them again

C:\ProgramData\Autodesk\C3D 2016\enu\Pipes Catalog\ANZ Metric Structures\Junction Structures with Frames\AeccStructRectSlabTopRectFrameANZ_Metric_offsets.xml

Inside the XML you will need to find the dimension that represents the basepoint offset width.

IMPORTANT NOTE: opening the part in part builder will reset these changes shown here and you will need to go and do them again

So this is that the line should look like

Adding Custom Sizes

You can add custom sizes in this same XML.

Find the parameter you want to change and copy the lines down. Ensure you update the index number as well.

Updating the Catalog and Validating

When your done making changes you will need to update the catalog in civil 3D. Command PARTCATALOGREGEN, select structures or pipes, whatever you need.

I also recommend validating the parts in the catalog screen.

The results can be found here

C:\ProgramData\Autodesk\C3D 2016\enu\Pipes Catalog\ANZ Metric Structures\Validate

Find your part name and open the txt file.

Everything Else!

I suggest watching the video above.

Enjoy!

Loading