Update from ASCII

Use the Update from ASCII command to import an ASCII file containing block model details and grade estimation results into a pre-existing block model. This is usually the case when a Vulcan block model has been exported to an ASCII file in order to perform grade estimation using another software package. The results can then be imported back using this option.

The format of the ASCII file must be:

X Y Z data1 data2 data3

where X, Y, Z is a point in space

Whatever block encloses the point has data1, data2, and data3 inserted into the specified fields. If two data points exist for the same coordinate point, or two coordinate points lie in the same block, then the last coordinate in the ASCII file overwrites the previous entries.

The data variables in the ASCII file do not have to be in the same sequence as the block model. Not all the variables in the block model have to be in the ASCII file, but all the data variables in the ASCII file must be imported otherwise errors occur when reading the file. Therefore, if the ASCII file has eight data variables and only three of them are to be imported, then strip the file of the excess columns by using an "awk" script or by reformatting in a spreadsheet.

Note:   In order for the contents to be imported, the values in the chosen ASCII file must be space delimited.

Block model

Specify the name of the block model in which to import the attributes.

The drop-down list contains all block models found within the current working directory. Click Browse to select a file from another location.

Insertion file name

Select the ASCII file that contains the information you want to import. The drop-down list contains all files found in your current working directory. Click Browse to select a file from another location.

Treat centroids as real world/relative offsets

Centroids can be imported as real world or as relative offsets. Real world coordinates are an actual location in space, for example, AMG coordinates. Relative offsets are the distances with respect to the origin of the block model.

Import named variables as tokens

Select this check box if you want to import named variables, such as 'waste' or 'ore', as tokens. If this check box is not checked, then the integer values contained in the chosen ASCII file, for example, '0' for waste and '1' for ore, will be imported instead.

Click Edit to manually select the block model variables. Once selected, the Variables panel displays.

The order specified in the available grid must match the order contained in the nominated insertion file.

Click OK to add the command and return to the Command Editor panel.