Assigning Uniclass classification with Naviate

As more of our civil engineering projects are being delivered using BIM principles, there is often the requirement to include metadata attached to model objects to provide additional context and information.

Assigning Uniclass classification with Naviate

Naviate for Civil 3D contains a suite of advanced tools for creating and managing Property Data in our civil design models, and this post explains how we can use Naviate to assign classification codes to objects with the “Naviate Match Properties” command.

This command can be used to add additional property data to any Property Set by matching an existing Property Set value with an item in a look-up list.

In this example, we are going to assign Uniclass classifications to a road corridor that has been rendered as AutoCAD solids. The corridor solids were generated using the Naviate Solids from Shape and Solids from Link commands.

Export solids from Shape codes

When using these commands to generate the corridor solids, we have assigned the default Naviate corridor Property Set NV-Corridor to the generated solids. This property set contains lots of useful information that has been gathered by Naviate from the corridor and it’s assemblies and is then added to the solids.

NV-Corridor property set added to the generated solids


You can, of course, use the Autodesk Civil 3D commands to create your corridor solids, and use their Property Sets, and add the additional fields that you need.

We will define the classification codes we want to assign by creating a .csv “look-up” file. The file will contain the Uniclass classification code, a Uniclass description, and the Civil 3D shape or link code. Note the inclusion of the headers.

Example Classification .csv file for Uniclass

Create this file using Notepad or a similar plain text editor, and save the file with a .csv extension, placing it in the Naviate support folder for CSV files:

C:\users\public\documents\symetri\naviate\civil3d2022\uki\support\CSV
(For more information on the Uniclass 2015 codes, use the following link: https://www.thenbs.com/our-tools/uniclass-2015)

The next step is to edit the Property Set to include placeholders for our Classification and Description. Use the Naviate ribbon to edit the Property Sets.

Edit Property Sets

In the NV-Corridor Property Set, click “Add Manual Property Definition”, and set up fields for Classification and Description as below. The property names must match the column names in the Uniclass.csv file.

Adding the new Classification fields to the property set

You can, of course, use the Autodesk Civil 3D commands to create your corridor solids, and use their Property Sets, as well as add the additional fields that you need. In the example below, we can use the built-in ClassificationCode and CodeName fields, and add a new Description field. The .csv file will need amending to rename the Classification field to ClassificationCode if you are using the included Civil 3D property sets.

Classification fields added to the built-in Corridor Shape Information property set

Selecting a solid from the drawing and viewing the property data, we can see that the new properties have been added:

The empty fields shown on an object

Open the Naviate Property Palette and select the NV-Corridor Property Set.

Open the Naviate Property PaletteSelecting objects and running Match Properties from CSV

Click Search to select all the objects in the model that are assigned this property set. Then on the CSV button, select Match Properties from CSV.

In the dialog, browse using the […] button, choose the Uniclass.csv file, and make the other settings as shown below:

Using the Match Properties command for the NV-Corridor property setUsing the Match Properties command for the Civil 3D property sets

We are matching the Code property in the Property Set, with the Code field in the .CSV file, and then importing the data from all other fields in the .CSV file that match field names in the Property Set.

Click OK to complete the command, and then view the property data on one of the solids. You will now see the fields populated from the .csv file.

Classification added to the NV-Corridor property set & Classification added to the standard Civil 3D property set

Import a .CSV file to use as a drop-down list

Another useful function of Naviate is the ability to import a .csv file to use as a list definition, which can then be assigned as a drop-down list or pick list for the Property Set.

Firstly, we need to make some changes to the .CSV file.

List definition file

We have removed the Code fields, and replaced commas with semi-colons, to conform with international standards for .CSV. The file can be saved to C:\users\public\documents\symetri\naviate\civil3d2022\uki\support\NVPropertySets\Listdefinitions.

In the Naviate Property Data Palette, click on Manage Sets, then Import List Definition.

Import the List Definition

Select your new .CSV file, and then click Open.

Selecting the List Definition .csv file

Now open the Property Sets Style Manager again from the Naviate ribbon. Click on the Funnel icon to turn off the filters and expand the List Definitions. You can view the Classification list that was added.

The imported List Definition shown in the Style Manager

Note that the Description unfortunately is not visible anywhere else except in this window.

Now in the NV-Corridor property set, change the definition for the Classification property from Text to List, and select the Classification list.

Assigning a list definition to a property set field in the NV-Corridor property setAssigning a list definition to a property set field in the built-in Corridor Shape Information property set

The Classification is now a drop-down list in the Property Set.

The list definition shown working in the object property data

The list definitions are also available in other Naviate command dialogs, such as NVProperty and the Naviate QTO dialogs: -

List definition in NVPropertyList Definition in NVQtoManager

If you would like to learn more about Naviate please visit our webpage here or contact us using the form below.

Contact us

Please submit your enquiry here and a member of our team will get in touch.
Alternatively call 0345 370 1444

Blog

AutoCAD Ten-Year Skills Evolution

25 April 2024

Take a look at the last ten years of evolution in Autodesk AutoCAD and learn how you can gain a good understanding of where the new features can fit into your current CAD work.

Learn more