How to import Civil 3D data?

What is Civil 3D plugin?

The Civil 3D plugin is used to import native Civil 3D data into the MAGNET Modeler model. This means that Civil 3D objects are recognized and no additional conversion is required.

The Plugin can be accessed by the Civil 3D icon in MAGNET Modeler for Autodesk user interface. Double click the icon to start the plugin.

Supported Civil 3D objects

Currently, the following items/Civil 3D objects are supported:

  • Civil 3D Surfaces: TIN surfaces, corridor surfaces and grading surfaces
  • Civil 3D Pipe networks: both pipes and structures

This means that to visualize a corridor, corridor surfaces must be created in Civil 3D first. A corridor surface is then added automatically to the Civil 3D surface collection in prospector tab (toolspace) as a CORRIDOR TIN SURFACE and will be recognized by the plugin automatically.

How to use the Civil 3D plugin?

You can add new Civil 3D Objects by double clicking the Civil 3D icon or selecting “insert” from the contextual menu.

The Civil 3D plugin dialog box is opened and all supported civil 3D objects from the current drawing will be listed.

Each Civil 3D object creates its own group.

Only objects that are marked as “Selected” will be brought into the MAGNET Modeler model.

Material and cut mode

You can select a material and cutting option for each group.

Cutting option has three modes:

  • no cut
  • cut
  • weld

Cutting only affects how surfaces relate to one another.

If  “cut” is selected for a surface then this surface cuts holes to all other surfaces that appear before the active surface in the list. Using the up and down arrows you can modify the order

If  “weld” is selected, all other surfaces are welded to this surface.

If a surface is marked as “Locked”, it will not be cut or welded.

Rows can be moved by selecting row and pressing up or down arrow.

This dialog also has  a contextual sensitive menu. With it you can check or uncheck a whole column and set the same material or cutting option for multiple rows at once. This is done by setting value for one row, selecting multiple rows and from the context sensitive menu selecting “Set same material” or “Set same cut mode”.

The dialog also has a checkbox "Simple manholes". This only affects Civil 3D pipe networks.

With this checkbox activated only simple manholes (cylindrical) are shown in MAGNET Modeler.

Create PDF

When you select Create PDF the program create PDF documents from profiles. It also create clickable links as model attribute (Info).

If you have added Civil 3D objects to the MAGNET Modeler model builder definition, they are shown in the user interface as in the picture on the right.

You can edit a setting by double clicking the item or selecting “settings” from context menu. Items can be removed by pressing “delete” or selecting “remove” from context menu.

Background on Civil 3D Surfaces

Surfaces types

A Civil 3D drawing can contain different types of surfaces. The two main types are (Land) Surfaces and Corridor Surfaces.

The land surfaces are surfaces like an existing ground, a parking lot, etc.

Surfaces are basic building blocks in AutoCAD Civil 3D, which are created from, LandXML data, TIN (triangulated irregular network), and DEM (digital elevation model) files and use points, point files, DEM data, existing AutoCAD objects, contours, breaklines, and boundaries.

Within the group of surfaces, multiple subtypes are possible :

  • TIN Surfaces
  • GRID Surfaces
  • TIN Volume Surfaces
  • GRID Volume Surfaces

Only TIN surfaces are currently supported in the Civil 3D plug-in for MAGNET Modeler.

Corridor surfaces are created from a Civil 3D Corridor (a 3D Design model for e.g. a road, railwaymodel or pipe network trench).

These corridor surfaces are not created automatically when a corridor is created. The creation of these surfaces is a semi-automated task. These corridor surfaces are an output of a corridor model, which are created manually by extracting data from a set of link codes and corridor feature lines. The surface will remain dynamically linked to the corridor and any changes to the corridor definition are reflected in the surface definitions under prospector tab. However, you can also create a detached surface from a corridor.

Creating Corridor surfaces - Best practices

Only one material can be applied per Civil 3D Surface. This means that for a corridor model, a surface for each different material must be defined.  Lanes, curbs, medians, shoulders, ditches, slopes should all have their own material. This means each needs to be defined as a separate surface.

This can be done rather quickly if you have a good understanding on how a corridor model is built.

A Corridor model is built out of 3 components: a horizontal alignment, a profile (Vertical profile geometry) and an assembly (typical design cross section, road description).

The assembly is built from subassemblies. Subassemblies (structural forming blocks) are elements that compose the geometry and substructure of the corridor model. A subassembly can be a lane, a curb, the pedestrian sidewalk, a shoulder, a ditch etc.

The geometry of a subassembly is defined around points, links and/or shapes. Each point, line or shape element has one or more codes attached.

The defined codes for each element are explained in the Civil 3D subassembly help.

The link L1 has more than 1 code attached. The most upper link (L1) in this subassembly has the code "Top", but also another code “Pave” attached.

These codes can be used when defining corridor surfaces. For example, if one is interested in creating a surface that combines all codes ‘top’, from the different subassemblies, one could visualize the top layer of the designed model. Similarly, when combining all codes ‘DATUM’, one could build the surface, needed by the contractor to define the bottom of the road model.

However, to be able to distinguish between the different materials, we could use the other codes attached to the link to be able to distinguish between pavement asphalt, concrete for the curbs and tiles for the pedestrian sidewalk.

The" Top" code allows to easily create a surface of the complete model and is by default already attached to all subassemblies. The other codes allow to create surfaces for each different material.

This is what needs to be used (the codes that define the material) if a corridor model needs to be visualized with MAGNET Explorer.

In the example below there are 4 different codes: "Pave", "Curb", "Shoulder" and "Slope".

Once the codes to be used are known, the surfaces can be defined.

Corridor Surfaces

Select the corridor in the drawing and from the ribbon (modify corridor area) choose "Corridor Surfaces".

In the dialog that appears Click on the "Create a corridor surface" button (first icon).

A new surface is created and listed in the table. Now, the link code(s) to build the surface from needs to be added. Therefore, the code must be selected in the "Specify Code" list. Once this is done click on the "Add surface item (plus sign)" button to add the code to the surface.

Once the code is added to the surface, it is a good habit to select the "Add as Breakline" check box and choose "Top links" in the Overhang Correction column. This usually creates more accurate surfaces.

It is also a good habit to rename the corridor surface so that it's more informative than the automatically generated name. It will help you in the MAGNET Modeler, when you have more complex models built around multiple corridors.

It is recommended to use the corridor name and the link code in the surface name e.g." [RoadModelName]_ Pave"  This makes it easy to assign MAGNET materials later on.

Now that once this dynamic surface is created (it will change automatically when you change the corridor), there is often some manual cleanup actions that must be done. Mostly this will have to do with cleaning up the boundary of each surface. Correct automatic boundary creation is often difficult.

If the subassembly has a constant width you can use the build options from the surface properties dialog for this (corridor) surface and define a maximum triangle length.

If there’s no constant width for the assembly and/or a lot of curves in the main alignment the user will need to manually delete the erroneous triangles. This can be done by using the surface edit operations. 

Both actions can be  started by selecting the surface in the drawing and choosing the appropriate function in the ribbon.

Working with large and complex Civil 3D project drawings - Best practices

To optimize working with larger civil 3D datasets, Civil 3D has the ability to define Data Shortcuts. In short, these are references to Civil 3D objects that are stored in other drawings; similar to XREF behaviour in standard AutoCAD.

This means that you can create your surfaces, corridor and pipe networks in individual drawing and then create a reference to them in the visualization drawing. This way only the result of the object is stored in the active drawing, while the definition of the object is stored in another drawing.

The Civil 3D plugin supports this way of working.

If you want to know how to define and work with data shortcuts, please refer to the help in Civil 3D and search for DATA SHORTCUT.