This guide provides a standard process for exporting files from Deswik in a format that can be used with the Cavroc toolbar for rhino.
Stage 1: Exporting from Deswik
To start the mine geometries need to be loaded and visible in the Deswik file, for a typical life of mine modelling study, it is likely that you can make use of the ‘TASK SOLIDS’ layer. In addition to any layers containing historic or survey data (not necessarily included in the Deswik schedule). Anything visible on screen will be exported.

Once everything you need is visible on screen, Go to file-export-CAD and other formats:

In the dialogue box, select:
- Visible entities
- Format: AutoCAD (.dxf)
- Version: 2018
- The following Radio Buttons should also be selected/deselected:

Ensure that you select to Parse layers on attribute, and choose the ID field, if the ID field doesn’t exist select the GUID field or any field that contains an identifier for individual objects.
Finally select a save location and file name, and press ‘OK’
Once the process is complete, we now need to export the model attributes:
Go to, File-Export-Text-CSV/Text

Select Visible Entities again.
Then add a new rule, and select ‘Add all attributes’ just make sure that x,y,z coordinates are not added, these will make too many unique attribute lines in the database To make things easier you can select only the required attributes, such as: Start/finish date, activity type (stoping/development), back fill type, and anything else that you may wish to split the geometries by ALWAYS INCLUDE THE ATTRIBUTRE THAT YOU SELECTED TO PARSE LAYERS AS IN THE DXF EXPORT:

Press ‘OK’ and save the csv file with your dxf file:

Stage 2: Import using the Cavroc Plugin for Rhino
If you have used a field that is not ‘ID’ for the export, you will need to edit your CSV and identify the field and rename it to ‘ID’
In a new Rhino project, type the command ‘Import_Deswik’
Navigate to, and select the dxf file exported from Deswik.
Then navigate to and select the attributes file.
Once loaded, all of the geometries will be visible in the rhino file, The rhino object names will match the Deswik ID, and attributes stored as object properties. From there you can use the SplitByAttribute, ColourByAttribute, and DeswikToStopeXSequence commands.
[upl-image-preview url=https://forum.cavroc.com/assets/files/2024-11-27/1732695573-757424-image.png]