Import Project Files
To display this screen:
- Data ribbon >> Import >> Add to Project >> Add to Project (by driver).
-
Project Files control bar >> Right-click the project icon >> Add >> Import Files.
-
Project Data control bar >> Right-click "Project" >> Add >> Import Files.
The Import Files screen is shown as the final step in the data import process and contains three tabs, each suited to a specific import-related purpose:
-
Files – Define the names of the resulting data files to be added to the current project.
-
Fields – Filter any non-essential incoming data on a field-by-field basis, and options for specifying the display legends to use to display the incoming data.
-
Rename Fields – As Datamine file data columns are restricted to 24 characters in length, it may be necessary to shorten incoming field names to provide a smooth transitional process during import. All fields being imported that are over 24 characters in length will be automatically 'trimmed' (characters will be removed from the end of the field until 24 characters is achieved), and you can opt to rename any incoming field (this may be useful if the default output for one application is synonymous with a particular table field, for example).
The Import Files screen displays when you Import Project Files by Driver and Import Multiple Files to Project.
Note: The mappings specified in the Rename Fields tab are applied whenever a file is saved to Datamine's native format, and not just when it is saved during important.
Note: For some file formats, you can import multiples files at once. See Import Multiple Files to Project.
To define file output settings:
-
Display the Import Files screen.
-
Define the Base file name. This is the prefix used to recognize the file after importation.
-
On the Files tab, use Save File Types options to create one or more Datamine file types. Each selection results in an additional project file reference.
if you have specified a Base File Name, each enabled field description will be automatically generated, using the base name with one of following suffixes:
-
PT – for points files
-
TR – for triangle (wireframe) files
-
ST – for string files
-
BM – for block model files
-
-
By default, Generated extended precision files is selected. We recommend you leave this selection as it is.
-
The Description is shown in the Properties control bar if the file is subsequently selected in Studio. Edit this as required.
-
Set the Location to store the converted Datamine file or files.
To define field mappings:
-
Display the Import Files screen.
-
Select the Import Fields tab.
-
All files in the incoming file display. All are checked by default (=all are created in the imported file). Check or uncheck attributes to include or exclude them from the imported file(s).
-
Choose a COLOUR field. This is automatically mapped to Datamine's colour codes and can be useful for default 3D window visualization.
-
Click + to automatically create a default colour legend for this field.
-
-
Check Use legends to resolve colour values to display the Colour Legend list.
-
Select a default visualization legend to use to display COLOUR field values.
-
Display a preview of the legend.
-
Edit the legend using the Legends Manager.
-
To rename fields during importation:
-
Display the Import Files screen.
-
Select the Rename Fields tab.
The left side of this tab is used to contain a list of conversion instructions. Any automatically (or previously added) instructions is shown in the following format:
ORIGINAL NAME -> NEW NAME
NEW NAME should not be longer than 24 characters, and if a string greater than 24 characters is added, it will be automatically concatenated to 24 characters on import.
-
Click Add to insert a new instruction.
-
Enter the name of the original field name (From).
-
Enter the name of the field name in the imported file (To).
-
-
Renaming instructions are processed in order, with the uppermost renaming instructions processed first. Raise or Lower an item to change its processing order.
Note: Select an existing item and click Edit to modify it.
Related topics and activities