Tag Archives: parameters

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

Profile based parameter control – Parameter Views and Profiles

Controlling the transition of parameters within corridor models is not as easy as it could be in Civil 3D.

  • Width can be controlled with Offset alignments/3d Polylines
  • Elevation can be controlled with profiles
  • Superelevation can be controlled with the superelevation tools
  • But slopes and grades don’t really have a specific tool that they can be controlled with.

In fact I don’t see a clear and “simple” method for managing the transition of a daylight slope at all? Although there are methods that I discuss in this post here. They are still convoluted and cumbersome to setup.

So how does one create this sort of daylight transition in Civil 3D? vvv

Well I have a very simple idea. “Parameter Views” and “Parameter Targets” which can control everything!

So basically a “parameter view” can be placed directly above or below a profile view and “parameter profiles” can be drawn on this view that represent the desired values or grade,width,slope etc.. This process is very similar to the management of superelevation, except parameter views can control everything!

The other change to make this a lot simpler is to upgrade all the generic subassemblies to have the ability to have its parameters overridden in a relative fashion. Although it’s possible to do this in the assembly properties, it is cumbersome and not straightforward as discussed in my post here. (additional links have to created, crazy profile views where elevation = slope or grade etc etc..)

I am aware that this can be achieved using Custom Subassemblies. But such a simple change would make life a lot easier for even the basic user. Plus custom subassemblies don’t travel inside the dwg!!

Particularly useful as parameters get more complex and difficult to visualise!

Loading