Introduction To Micromine....
Introduction To Micromine....
MICROMINE CONSULTING
TRAINING SERVICES
Australia
Email: [email protected]
WWW: http://www.micromine.com.au
Licence Agreement
The use of the software described in this manual is subject to a licence agreement with
Micromine Pty Ltd. The software may only be used or copied in accordance with the
terms and conditions of that agreement.
Disclaimer
Micromine Pty Ltd will not accept any liability arising from the use of the software or any
other software product mentioned in this manual; nor for any technical or editorial errors
or omissions made in this manual.
The mention of any other computer software product within this manual does not imply
any endorsement of such product by Micromine Pty Ltd.
Copyright
Micromine Pty Ltd is the owner of the software, and of all icons and logos within the
software, together with all soft and hardcopy documentation. This manual contains
information protected by copyright. No part of this manual may be photocopied or
reproduced in any form without prior written consent from Micromine Pty Ltd.
Authors
Trademark Acknowledgment
MICROMINE, GPick3D, GPick and FIELD MARSHAL are trademarks of Micromine Pty Ltd. Other brands and
product names mentioned in this manual are trademarks or registered trademarks of their respective owners.
Before We Begin
Module Duration: 16 hours
Introduction
This module is designed to show you how to start using Micromine and to
introduce some of the program‟s key features. To make it as realistic as
possible, it‟s based on a scenario that will be familiar to many Micromine
users.
Purpose
Phase 1 of the drilling program indicated a substantial resource. Your task is
to integrate and process the original data in order to evaluate the prospect
with a view to designing the Phase 2 drilling program. The purpose of the
new drilling program will be to provide in-fill data to enable the classification
of the resource as indicated, inferred or measured. The lessons that follow
describe the tasks you‟ll need to undertake to achieve your objective.
Objectives
As a result of this course, participants will have learnt to:
Approach
This course will be dominantly hands-on. Each new topic will commence with
a brief introduction, followed by a practical exercise. A small training
database will be used for all exercises.
In addition to these optional tasks, in-house experts at Micromine have contributed their
ideas on how to get the most from the application. You‟ll find these ideas at the end of
many lessons under the heading Good Practices.
2. When the Help window appears, click the Index tab to select it.
3. Enter the keyword. In the above example, the keyword is ODBC. If there‟s only one
topic with that keyword, it‟ll be displayed immediately. If the keyword is used in a
number of topics, the titles of those topics will appear in a list.
A screen-shot of the relevant dialog form or dialog box with the correct
entries.
A tabular display. The first column contains the name of the dialog
prompt and the second column contains the text or value to be entered.
As an example, this is a dialog box (form) that contains parameters you might need to
enter:
Prompt Setting
File SOILS_GEOCHEM
Type DATA
Filter Selected/7
Display field AU
Text angle HORIZONTAL
Style Denotes
Bold type Used to denote the names of menu items,
dialog boxes and prompts when they invoke or
contribute to the primary process being
undertaken.
Italic type Used to denote the entries you must make in
the responses in dialog boxes and fields in
tables.
Options | Plot
Options | Editor
This module is designed to show you how to start using Micromine and to introduce some of the
program‟s key features. To make it as realistic as possible, it‟s based on a scenario that will be
familiar to many Micromine users.
Objectives
Description
An ideal introduction to the power of MICROMINE, the course works through the most
commonly used functions and covers, data entry and importing, display of data, using images as
a background to data displays, generating contours, drillhole sections and hard copy output.
This course includes a detailed introduction to the VizEx user interface covering the construction
of Drillhole Database, displaying of both 2D and 3D data and a full demonstration of the Graphic
Editor.
- Page 1 of 3 -
Course Outline
Lookup Tables
Lookup tables explained
Creating a lookup table
Filters
Filters explained
Creating a filter
Multiple filter conditions
Vizex
Displaying points
Creating a colour set
Displaying outlines
Displaying an aerial photo
Editing
String files
- Page 2 of 3 -
Then, if sufficient time and if relevant…
Macros
Reasons for writing macros
3-steps to creating a macro
Information required per process
Wireframing
Working with outlines
Wireframe editor
Checking strings
Building a wireframe
Tielines
Validation
Creating bifurcations
Closing ends
Volumes
Conclusion
Summary
Course feedback
- Page 3 of 3 -
MICROMINE CONSULTING
TRAINING SERVICES
MODULE 1
MICROMINE BASICS
MICROMINE Training v9.2 Module 01 – Micromine Basics (Rev 05)
Notes:
Lesson 1 – Preparing the
Project Data
Duration: 45 minutes
In MICROMINE, the project is the fundamental means of storing and organising
your data. This lesson introduces you to projects and how you can use them.
Create a project;
Once several projects have been created, you‟re able to select a project you
want to work with. When you select a project, all the files, macros and forms
sets stored with that project are made available to you.
Since you‟re working in the project folder, there‟s no need to enter a file path
(i.e. C:\projects\tenement1\...) when you create or open files. The only time
you‟ll “leave” the project is when you need to access external data.
When you create a project, you enter a project name, a path, and a project
title. The project name becomes a new folder on that path. A project may be
located locally on the computer you‟re using, or on a remote computer
network. In either case, MICROMINE recommends that you save all your
projects under a single parent folder.
You must also set the units for a project to Metric or Imperial when you first
create it. The default is Metric. Imperial is only used when rock densities are
measured with a tonnage factor and plot scales like 20":1‟ are required.
Notes:
When you create a new project, you can use file structures, form sets and
macros from a similar project. This is a good approach because it means that
you can re-use existing work and promote consistency between projects. In
fact, many MICROMINE users create a template project and save any re-usable
file structures, macros and form sets within it. This approach is demonstrated
in the following exercise.
You can also rename, move, delete and attach projects. Renaming simply
changes the project name. Moving a project manages the entire process of
moving all the project files from one location to another.
Because project data files are stored in different folders you can use the same
file names in each project. For example, the projects “Demo” and “Training”
can both have files named collar.dat, survey.dat and assay.dat.
By default, MICROMINE will load the last project you were using.
3. Fill-in the dialog box as shown below. When you define the Project path,
use the browse […] button to navigate to the H:\MmData folder; once
you‟ve done this you can type the remaining \Templates text yourself.
Notes:
4. Click OK to create the project. The program will open in the new project.
Under normal circumstances you‟d now begin creating files and loading data
into the project. When you next create a project you can select Use existing
project as template and then enter its name. You can then nominate which
items you want to re-use from the template project by selecting from the
options shown in the group at the bottom of the dialog box.
This procedure assumes you‟ve accepted the default settings when you
installed from the Training CD.
If you changed the location of the installed data set, you‟ll need to substitute
the project folder name and path you used in the instructions that follow.
2. Enter the Project name. This is the name of the folder containing the
project data. In this case, enter: Training
3. Click the Browse […] button next to the Project path response and
navigate to the folder H:\MmData\Training. Click OK on the Browse
dialog.
Deleting a Project
Deleting a project means removing the reference to the project (the folder
where the project data is located) from a special MICROMINE file. There are
two methods of deleting projects. The first method is to delete the link to the
project folder. This is like deleting a shortcut from your Windows Desktop. The
reference to the folder is removed but the folder and its contents remain
untouched. The second method is to remove the link and delete the project
folder and all the files within it.
4. Click OK.
From now on, the Examples project won‟t appear in the list when you select
File | Project | Open from the main menu.
To delete a project and all the files it contains, follow the same procedure but
clear Detach only (remove the tick).
Notes:
Lesson One Summary
These are the key points of this lesson:
You can set the project units to metric or imperial when you create it.
When you create a new project, you can use the file structures, form sets
and macros from a similar project as a template.
To attach a project:
To delete a project:
Select File | Project | Delete and choose the project. Set the Detach
only switch as appropriate.
Good Practice
Use existing projects as templates when you create a new project. Doing so
will:
Encourage consistency in the way you store and process your data, and in
the appearance of output.
Reduce set-up time because you won‟t have to re-create data file
structures, colour sets, macro files and form sets.
Help Topics
For information on: See:
Notes:
Lesson 2 – Micromine User
Interface
Duration: 30 minutes
MICROMINE Version 10 has been modified to incorporate all functions into one
interface. In this lesson, you will learn about the MICROMINE user interface
and how to work with it.
Customise a toolbar;
Formsets Pane – Allows you to open form sets and objects in the graphic
display windows. Formsets are discussed further in Lesson 4 and in
Modules 2 and 3.
Main Menu
The Main Menu is always available within MICROMINE. From the main menu
any of the functions within MICROMINE can be accessed. If an item under the
main menu is unavailable in any particular view or function, it will be greyed
out.
Notes:
When 3D Viewer is opened, some extra menu items will appear. These are
discussed in Module 3 – 3D Viewer.
Main Toolbar
The Main toolbar gives shortcut buttons for several common tasks.
Formsets – Click the Forms Sets button to toggle the display of the Form
Sets pane on and off. Use the Form Sets Pane to define what data will be
included in the active display. This button will be highlighted whenever the
Form Sets pane is open.
Object Manager - Click the Object Manager button (or select View |
Object Manager) to toggle the display of the Object Manager pane on and
off. Use the Object Manager to change the drawing order of your display layers
and turn display layers on and off. This button will be highlighted whenever the
Object Manager is open.
Open Project – Click the Open Project button to open a project. In the Open
Project dialog, select the name of the project you want to set as the current
project. Click OK, or double-click on the project name. The project will be
loaded and operations can commence. The Project Name and Title appear on
the title bar.
File Utilities – Click the File Utilities button to invoke the File Utilities dialog.
Use File Utilities to perform various file operations such as Copy, Delete,
Rename, and View.
New File – Click the Create file button to create a new file. In the Create File
dialog, type in the name for the new file, choose a Type, and enter its Title.
Unless you are creating a file from a template, you will need to define the file
structure. Click the OK button and enter the name and type of each field in the
file
File Open – Click the Open file button to open a MICROMINE file. The Select
File dialog defaults to the current project folder.
Save – Click the Save button to save the changes you have made in the active
display or editor window.
Undo – Click the Undo button (or Ctrl-Z) to undo the last edit performed on a
string or outline in the graphic display. The Undo function records the edits
made in the display window and will undo those edits in reverse order.
Redo - Following an Undo, click the Redo button (or Ctrl-Y) to re-apply the
last edit performed in the graphic display.
Vizex – Click the Vizex button to open the Visual Explorer display window. Notes:
You can open multiple instances of Vizex. Each display window is available for
selection in the Object Manager. Note: You can tile different instances of the
Vizex and the 3D Viewer display windows.
Plot Editor – Click the Plot Editor button to edit a plot file or generate a hard
copy plot.
Run Macro – Click the Run Macro button to run a macros process. In the
Run Macro dialog, You can include up to 42 macro files in one run (with each
file containing several instructions). This allows you to create smaller files,
which are easier to test, and then combine them to create complex operations.
Context Help – Click the Help button to display context-level help. Use the
help cursor to click on the active dialog or display window to invoke a hint or
online help topic.
1. Slowly move your mouse over each button on the toolbar and observe
the tool-tip bubble on each button showing it‟s functionality.
4. Close the dialogue box using the cross in the top right hand corner of
the box.
9. Click within the white square next to East min, and observe the help tip
given.
10. Close the dialogue box using the cross in the top right hand corner of
the display.
View Toolbar
The View toolbar is used for manipulation of displays within the graphic display
windows.
Items on the View toolbar are available for use in both Vizex and 3D Viewer. Notes:
The use of each item on the toolbar is discussed for Vizex in Module 2, and for
3D Viewer in Module 3.
To open the Form Sets pane select the View | Form Sets menu option, or
click the Form Sets button on the main toolbar. When the Form Sets pane is
open, the Form Sets button is highlighted on the main toolbar You can easily
turn the Form Sets pane on and off using this button.
The Form Sets pane is a dockable window which is docked (by default) to the
left of the display window. When you click and highlight the Form Sets button,
the Form Sets pane is displayed.You can dock the Form Sets pane window to
the right, top, or bottom of the application window, or move it to an undocked Notes:
position over the display.
To dock a window, you position the cursor over the title bar of the window and
drag and drop it with the mouse. Before you release the mouse button, an
outline is displayed which previews the new position and extent of the window.
When the Form Sets pane has been docked to the left, right, top, or bottom of
the display, click the Auto-Hide icon to maximize the work area and
automatically hide the Form Sets pane when it is not in use. The Form Sets
pane is hidden and a tab is displayed instead. The tab is positioned to the left,
right, top, or bottom of the display, depending on where the Form sets pane
was docked:
Display Pane
Use the Display pane (Also called the Object Manager) to change the drawing
order of your display layers and turn display layers on and off. The Object
Manager is a table of contents which shows the display objects you have added
to Vizex and the 3D Viewer.
To open the Object Manager select the View | Object Manager menu
option, or click the Object Manager button on the main toolbar.
When the Object Manager (Display pane) is open, the Object Manager button is
highlighted on the main toolbar. You can easily turn the Object Manager on and
off using this button.
The Object Manager is a dockable window which is docked (by default) to the
left of the display window. You can dock this window to the left, right, top, or
bottom of the application window, or move it to an undocked position over the
display.
To dock a window, you position the cursor over the title bar of the window and
drag and drop it with the mouse. Before you release the mouse button, an
outline is displayed which previews the new position (and the extent) of the
window.
Exercise 2.2: Working with the Display and Form Sets Panes
1. Ensure both the Display and Form sets panes are docked to the left of
your screen. If they are showing, click on the drawing pin icon to
hide them to the left of the display.
Notes:
2. Move your mouse button over the Display and Form Sets tabs and
observe the floating panes.
3. Move your mouse button over the Form Sets pane, and while it is
showing, click on the Pin Down icon to pin it to the display.
4. Click on the top bar of the Form Sets pane, and holding your mouse
button down, drag it around the screen. Observe the outlines
displayed to preview the window location when you drag it close to one
of the edges of the display.
5. Try creating a floating Form Sets pane not pinned to one of the edges
of the display by dragging and dropping the pane to a location on the
graphic display.
6. Drag and drop the Form Sets pane to the left of the display window.
7. Move your mouse over the Display tab, and click on the Pin Down
icon to pin it to the display.
When the Form Sets or Display tabs are hidden, note that the Pin
Down icon is horizontal, and once the tabs are pinned to the
display, the icon rotates to a vertical display.
8. Experiment with moving the display tab around the display, and
observe different methods of displaying both the Form Sets and
Display panes.
9. Once you have completed this, follow the steps in step one to hide
both the Form Sets and Display panes to the left of the Display.
The Graphic Display Windows are used to display data in either Vizex or 3D
Viewer.
Multiple windows of each type can be opened at any time within MICROMINE,
and they will display in the Display Pane as separate windows.
2. Click on the Vizex Button on the Main Toolbar, and observe the new
icon appearing in the Display Pane.
3. Click on the 3D Viewer Button on the Main Toolbar, and observe the
new 3D Viewer icon appearing in the Display Pane.
4.
When you have data opened in any of these graphic display windows, the
objects loaded will be displayed as icons and titles under each object in the
display pane.
5. Select Window | Tile Horizontally from the main menu and observe
each window is now displayed on your screen.
6. Close one of the Vizex windows by clicking on the cross [X] in the top
right hand corner of the window. Repeat this for the 3D Viewer
window so that only one Vizex window remains.
7. Maximise the Remaining Vizex Window to the full screen using the
Maximise button on the top right hand corner of the window.
8. Click on the Pin Down icon on the Display Pane to hide the pane to
the left of the window.
Notes:
Customising Toolbars
Each toolbar in MICROMINE can be customised to your own personal
preferences.
To hide a toolbar, for example the Main or the View toolbar shown above,
right-click in an empty portion of the menu bar and unselect the appropriate
checkbox. Note: Some toolbars will be displayed automatically whenever the
right conditions apply. When a file is opened, for example, the Edit File toolbar
is displayed as part of the File Editor window. When you restart the
MICROMINE application, the toolbar selections you made in your last session
will be restored.
When you click the New button and specify a toolbar name, a new toolbar is
initialised and displayed in the application window. You can add tools to the
new toolbar using the Commands tab.
Alternatively, you can move a tool from one toolbar to another by dragging
and dropping it with the mouse. To copy a tool from one toolbar to another,
hold down the CTRL key as you drag and drop it with the mouse.
3. Select OK.
4. Note that a new, empty toolbar has been created in your display and a Notes:
new toolbar called Drillholes is listed in the toolbars list.
5. Click on the Commands tab and highlight the Dhole Menu item from
the Categories column.
7. Scroll down the Commands List and drag and drop Database to your
new toolbar as shown;
Notes:
8. Click on Close
9. Right click anywhere on the toolbar and click on the Drillholes toolbar
to switch it off.
Notes:
Lesson Two Summary
These are the key points of this lesson:
Main Menu
Main Toolbar
View Toolbar
Form Sets Pane
Display Pane
Graphic Display window
All processes within MICROMINE can be accessed through the Main menu.
The Form Sets Pane can be used to load Data into either Vizex or 3D
Viewer
The Display pane will display each of the graphic editor windows, and any
data loaded into them
To create a toolbar:
Help Topics
For information on: See:
Notes:
Lesson 3 – Working with Data
Files
Duration: 45 minutes
Data files are the basic data container in MICROMINE. In this lesson you‟ll learn
about the different types of data files and how to create and work with them.
In each record there are Easting and Northing coordinates for a copper assay.
The copper assay is associated with a sample number.
There are several types of file used in MICROMINE. The main input files are
Data, Survey and String. These files are differentiated by file extension. The
data file has the extension DAT, the survey file SVY, and the string file STR.
There are no other fundamental differences between these types of file. In fact
a file with exactly the same structure could have any of these extensions.
The main reason for having the different extensions is so you can group like
files in a project. For example, geological data is often stored in DAT files; while
contour strings and other string type data is stored in STR files; and survey Notes:
information from total stations or theodolites is stored in SVY files.
There are other types of MICROMINE files, however MICROMINE itself handles
the creation and management of these.
You, as the user, must create the files needed for a project. To do this you give
the new file a name and then define its structure. That is, the names and
characteristics of the fields and the order in which they will be processed and
displayed.
There are two field types in files: Character and Numeric. In most cases it‟s
easy to decide which type you should apply to a field. Data that‟s essentially
numeric should be in fields with the Numeric type. Statistical functions will only
operate on numeric fields and colour and hatch sets are defined differently for
numeric and character fields. Note that you can still type non-numeric data into
numeric fields, for example, NS (not sampled) in an assay field. Alpha and
alphanumeric data is generally given the type Character. Some examples of
common Character type fields are Hole Name, Sample Number, and Lithology
Type.
In general, MICROMINE processes data files to create output. You must tell a
function (in MICROMINE) the name of a file and the fields it should use from
that file. The function can then load data, record by record, from the file and
perform its task. This is the fundamental operating paradigm of MICROMINE.
Notes:
The main file preparation and processing tool is the File Editor. The File Editor
has many features and data processing tools that are useful to the earth
scientist.
1. Select File| Project | Open from the main menu. Alternatively, you can
use the Open Project toolbar button.
3. Click OK.
1. Select File | New from the main menu. Alternatively, you can click the
New toolbar button.
2. Enter the following values into the New File dialog box:
Prompt Setting
File COLLAR_TEMPLATE
Type DATA
Title Collar Template
Notes:
3. Don‟t select Use template?
4. Click OK and the New file window will appear.
In this window you create the file structure. To do this you must define:
Press the Tab key to move right from field to field and Shift+Tab to move to
the left. You can also use the arrow keys to move up and down, or just click on
a cell with the mouse. Press Enter to create a new row.
1. Once you‟ve entered these values, click Close on the menu in the New
window.
3. The new file will open into a File Editor window. You could start entering
values immediately but since it‟s intended to be a template file you‟d
generally leave it empty.
4. Close the File Editor window, either by clicking the [X] at the top right of
the window, or by clicking the Close toolbar button.
Notes:
Finally, return to the Training project:
1. Select File | Project | Open from the main menu. Alternatively, you can
click the Open Project toolbar button.
3. Click OK to continue.
1. Select File | New from the main menu. Alternatively, you can click the
New toolbar button.
Prompt Setting
File TEST_COLLAR
Type DATA
Title From Template
9. The New file window will open with a file structure identical to the one for
the COLLAR_TEMPLATE file.
10. Select Close and then click Yes when prompted. The new file will be
created and immediately displayed in the File Editor.
11. Select File | Close or press the ESC key to close the file editor.
You can see from this exercise how much time using templates can save,
especially when you‟re creating files with many fields. Additionally, using
templates promotes consistent file structures both within and across projects.
You can copy the contents of a template file, and the parameters Notes:
in File | New can be saved as a form. This feature is extremely
useful when you‟re writing macros. You can also create a file in
any form by right clicking on a file name, a field name, or by
pressing F5.
Do the following:
2. Select MMI_NVG_GCM from the window that appears. If you can‟t see it,
make sure that Files of type is set to DATA.
4. Press F6 to modify the file, or alternately, close the file, then Select File |
Modify from the File Editor menu and select MMI_NVG_GCM from the file
list.
5. Position the cursor in the EAST_GRID field and press Ctrl+I or select
Records | Insert Records from the menu.
When you‟ve completed the process, the file structure should look like this:
10. Select File | Close or press the ESC key to close the file editor.
Notes:
Optional Exercise
If you have time add the following Fields:
Notes:
When creating a file you must give the file a name and then define field
names, field types, field lengths and number of decimal places.
You can use existing files as templates when creating new files. These
templates can be in the current project, in another project, or in a folder
on a local or shared drive. This promotes consistency and saves having to
repeat work.
Select File | New and enter the files‟ name and type, then
Define the structure by specifying each field‟s name, type, width, and
number of decimals.
Select File | New and enter the file‟s name and type, then
Set the Use template option and choose the template file.
To modify the structure of an existing file:
Good Practice
Wherever possible use templates to create new file structures. You should
create a set of template files and store them in a folder that has been set aside
for that purpose. When you create a new file, retrieve a suitable template and
use it to define the file structure.
Help Topics
For information on: See:
Notes:
Lesson 4 – Data Entry and File
Processing
Duration: 90 minutes
The data that describes characteristics of a prospect or mine can be collected
and recorded in a variety of ways. They include: survey data from total
stations, rock sample data from geologists‟ notebooks, drillhole data from
portable data entry equipment, compass traverse notes, data files from aerial
surveys and aerial photography.
The challenge is to get all of this information in different formats into a project
and into a coherent and useful state. This lesson describes some of the
processes that can be used to get data into a MICROMINE project.
Merge assay results from the lab with their associated coordinates;
Use Merge Lab Data to process a SIF file received from the laboratory;
Importing
Merging
Linking
When you import data, all fields in the source file are included in the process.
You can control which fields from the source data are written to the
MICROMINE target file.
To merge data, you select fields in a source file and merge them to the correct
fields in the target file by matching values in a key field. You can also append
the data.
Notes:
When you link to a database you use ODBC to connect to an external data
source.
Generally Text Import is only used to transfer independent data sets into a
MICROMINE project. The Text Merge function is used to re-establish
relationships within data sets, for example, merging assay results with the
coordinates at which the samples were taken.
Before you begin using these techniques, it‟s worth reviewing the different
types of file that you‟ll meet when you undertake these processes.
Make sure you‟re using the built-in file viewer. To ensure this is the case, select
Options | Editor from the main menu and check that Built-in is selected in
the Text Viewer group.
Notes:
Working with Dialogs and Forms
Before we explore the methods of bringing data into MICROMINE, let‟s look at
the process of entering parameters into MICROMINE dialogs. So far, we‟ve only
seen the simplest of dialogs, but as you continue to learn MICROMINE you‟ll
encounter increasingly complex ones.
Dialogs
Some MICROMINE dialogs have over 50 individual controls arranged in
numerous groups. The best way to fill out such a complicated dialog is to work
through it as if you were reading down the columns of a newspaper: top down,
from left to right. In the case of a tabbed dialog, you can extend the analogy to
reading the pages of a magazine. Adopting a systematic approach like this
ensures that responses are made in the correct order, which is important
because other prompts on the dialog may change depending on your earlier
choices.
Some dialog prompts are highlighted in a different colour (usually red). These
are compulsory prompts: You must enter a value before proceeding. Other
prompts can be left blank if they‟re not relevant.
Form Sets
MICROMINE provides an elegant way to save and re-use the parameters that
you‟ve entered into a dialog: You simply save them as a Form Set, which can
be recalled for later reuse.
To save the contents of a dialog as a form set, click the Forms button on the
Dialogue form. Depending on the exact nature of the dialog, it may not have
its own Forms button. For dialogue forms without a forms button, you can
either click the Forms button under the Display menu, or use the Forms
toolbar button. Dialogue boxes for many of the graphical display options such
as Dhole | Normal sections do not have their own Forms buttons.
MICROMINE will display the Forms dialog, which gives you the opportunity to
save the parameters with a Title of your choice. The title can be any
descriptive, plain English text, since all that MICROMINE needs to internally
reference the form set is its Number, which must be unique. The Forms dialog
also allows you to recall a previously saved form set, and import or export form Notes:
sets for sharing with other users.
Some dialogs have buttons that open other dialogs. In MICROMINE, the
“parent” dialog is called a dialog form, and the “child” dialogs are known as
dialog boxes. All dialog boxes that belong to a dialog form are automatically
saved together with that particular dialog form.
Each MICROMINE function maintains its own independent list of form sets, so
there‟s no risk of duplication. For example, more than one function could have
a form set Number 1, with the title “Testing”.
Even if you forget to save a dialog as a form set, every MICROMINE dialog is
automatically saved to a „default‟ form set. Simply re-opening a particular dialog
will automatically recall the default set, so your previous settings are always
available, even after restarting the computer. As soon as you change a value,
however, the previous value will be lost.
Forms are a very useful facility. They promote consistency and save
you from re-entering values.
2. Before choosing any data, click the Display Limits… button and confirm
that the Display Limits dialog is empty. Close the Display Limits dialog.
3. Double-click the File response and choose NVG_GCM from the list.
4. Once you‟ve chosen the file, re-click the Display Limits… button and
note that the coordinate fields and their minima and maxima have been
automatically set. Close the Display Limits dialog.
5. Double-click the small blank square next to the Symbol prompt and
choose a plus [+] symbol.
6. Click the first OK button on the toolbar to run the function and test your
settings.
7. Close the display window using File | Close, or the cross in the top right
corner of the window to return to the dialog.
Assuming you‟re happy with the settings, you can now save them as a form
set.
3. When the Save Current Values dialog appears, type in the Title Notes:
Geochem Display and click OK. Both dialogs will disappear.
4. Click the Forms menu or toolbar button a second time, and note that your
newly saved form set appears in the list of saved form sets.
If you wanted to re-use those settings, you‟d simply click the appropriate form
set to select it, and then click Open to load the settings.
To successfully merge the records in two files, there must be a field with the
same values in both the target and source files. This is known as a key field. If
the key field in each file contains duplicate values, you must use two or more
fields in each file to differentiate each record.
The Merge function processes the target file record by record. It finds the key
field in each record and reads the value it contains. It then looks for the same
value in the key field in the source file. When it finds an equivalent value, it
takes the data from the fields you‟ve nominated, and writes it to the
corresponding fields in the target file.
It‟s important that you know the column order in which the sample
data has been returned if the assay file does not contain a header
row. In this case, the field order is: Au1, Au2, Au3, Ag, Cu, Pb, Zn,
Ba, Mo, Sb, As, Hg and Tl.
Do the following:
1. Select File | Merge | Text from the main menu (There‟s also a Merge
function under the Edit | Tools menu of the File Editor but it doesn‟t have
as many features as this one.)
2. Click the browse […] button beside the Text file path response and
navigate to the file MMI_ASSAY_RESULTS.TXT in the Import folder (this
file can be external to the project and is only here for convenience).
3. Double-click in the Target File response and select NVG_GCM from the
window that appears.
3. Position the cursor in the Start response on the first row, and then right-
click. The contents of the source file will be displayed in the built-in text
viewer.
4. Highlight the sample number (first column). Make sure that the highlight is
extended to immediately prior to the first character in the next column.
5. Release the mouse button, and then click on Post Values; A 1 will be
posted in Start and a 7 in Length.
6. Double-click in Target Field Name and select the SAMPLE field from the
list.
7. Choose CHARACTER from the Match list and close the Key Fields dialog.
Because we‟re only using a single key field there‟s no need to proceed to the
next row.
You must now define the merge fields. This is a very similar process to defining Notes:
the key field. It involves defining:
The name of the field in the target file where the merge value will be
written.
Do the following:
4. Highlight the second column on any row. Make sure that the highlight
extends to immediately prior to the first character in the next column.
6. Select the field in the target file where that data will be written.
7. Repeat this process for each column you want to merge. In this case we
want to merge them all.
9. The final stage of the process is to run the merge. Do this by clicking the
Run button on the dialog box.
When the process is complete, a report will appear describing the results of the
process, which is reproduced in the Merge_stats file. Right-click the Unmerged
and Duplicate files to check their contents. The Unmerged report will list the
records in the source file that were not merged. The Duplicate report will list
the records with duplicate keys.
If you use Field Marshal to collect field data, you can import or
merge files in native MM format. Field Marshal and the File Editor
contain many data entry and processing functions created
specifically for earth science data. It‟s cheaper and easier to buy
Field Marshal or the File Editor than to try and write macros for MS
EXCEL or Lotus.
2. Click the browse […] button next to the Text file path response and
navigate to the Import folder (within your project). Select the file
MMI_Tenement_Data.csv.
3. Right-click the text file name to display it in the text viewer. Confirm that Notes:
it‟s in comma-delimited format, and determine which of the two fields is
bearing and which is distance.
At this stage we can‟t run the function because the target file doesn‟t yet exist.
1. Right-click on the Output File response and choose New from the popup
menu.
2. Following the same procedure as you used in Exercise 2.1, create a new
file with the following parameters:
Prompt Setting
File TENEMENT_DATA
Type DATA
Title Tenement coordinates
Use template Disabled
4. Close the editor and answer Yes to save the file. Select File | Close or
press the ESC key to close the file editor. Note how MICROMINE
automatically places the name of the newly created file into the Output File
response.
MICROMINE has no knowledge of what the fields in the CSV file represent,
so instead it refers to them simply by their position in the file. For example,
# 1 means the first field in the file, # 2 the second, and so on.
3. Repeat for # 2 and set it to BEARING. Close the Delimited Fields dialog. Notes:
4. Click the Run button on the dialog box to run the function.
5. Once the function has finished, right-click on the Output file and select
View from the popup menu. Confirm that the fields are in their correct
order.
Setting up a new ODBC connection first involves creating a Data Source Name
(DSN). There are three types of DSN, so the choice of which to use seems
complex at first. In reality, they differ only in their degree of „visibility‟ to the
rest of the users on your computer or network. You need only create the DSN
once; from then on it‟s constantly re-used each time you reference the
database.
File DSN, which is shared among all users on a network. It‟s neither user-
dedicated nor local to a particular computer.
On most computers, the User and System DSN‟s are grouped under Notes:
the category Machine Data Source.
You can use an ODBC connection two ways in MICROMINE: You can either
Import the data or Link to the database. When you Import, MICROMINE
creates a „snapshot‟ of the data. The files created in the MICROMINE project
are ordinary data files, exactly the same as any other data file you‟d create
yourself. Because of this, the newly created files are independent of the
database and can be used even if the connection to the database is lost.
However, you must re-import the data if anything in the database changes.
The training database contains four tables of drillhole data (collars, downhole
surveys, assays, and lithologies), but we‟re only interested in one of those: the
assay table. To import the other tables you‟d simply repeat the steps on the
following page.
3. Select the Machine Data Source tab and click the New… button.
5. Choose Microsoft Access Driver from the list that appears and click
Next >.
10. Click OK on the ODBC setup dialogs, until you reach the Select Table
dialog, to complete the process.
You‟ve just created a new ODBC connection! You need only complete
Steps 3 to 10 once, and from now on you‟ll be able to reuse the same DSN
each time you connect to the database.
If you run into trouble with your ODBC settings, ask your system Notes:
administrator for assistance. Connection problems often stem from
not having the correct versions of ODBC drivers installed on your
computer. You should also ask your system administrator to remove
any unnecessary DSN‟s.
13. Select the Machine Data Source tab and choose TRAINING (the DSN
you just created) from the list. Click OK.
14. The Select Table… dialog box will appear. You‟ll see the names of the
four tables in the database: ASSAY, COLLAR, LITHOLOGY and SURVEY.
Prompt Setting
Preview Selected
Number of records 20
17. Click Import. The contents of the Collar table will be displayed. If you‟d
like to change any of the characteristics of the file that MICROMINE will
create, you can do it here.
18. Click OK. MICROMINE will create the new file in your project and populate
it with the contents of the Collar table from the MS Access database.
19. Click Close once MICROMINE has finished importing the table.
Notes:
Merge or append data from lab files into files in your project;
Create a target file in a project with the contents of the lab file;
Replace below detection assay codes with a standard code or, if the
detection limit is specified in the SIF file, with the detection limit;
Replace laboratory codes with ones that are used in your company.
Merge Lab Data can only merge on a single key field. If you need
to use multiple keys, use File | Merge | Text.
2. Click the browse […] button next to the Lab file path response and Notes:
select the MMI_ NVG.SIF file (from the Import folder).
3. Back on the Merge Lab Data dialog, right-click the file name and view the
file. Take particular note of the format (column or comma delimited?) and
the particular codes found within the file. Close the text viewer window
once you‟re done.
6. Because the sample numbers are in the first column, enter 1 in Start
column.
8. In the Assayed Element Names group, position the cursor in the Row
response and right-click. Highlight the first column of element names in the
header as shown in the preceding illustration. Click Post Values.
9. In the Data group, do the same for the first row in the column of assay
values.
The function assumes that the columns in the source file all have the same
width.
10. Select Replace lab codes and click More…
11. Type NS into the first row of Lab Code, but leave Replace With blank.
This will blank out all occurrences of the string „NS‟ from the MICROMINE
file.
12. Select Replace lab code in the Below Detection group and choose the Notes:
Write <x.xx option.
13. Type LDL into the Lab code response.
14. Right-click in Detection limit row and highlight the first detection limit in
the file header. Click Post Values.
16. Type UM_report in the Unmerged file path response, and ML_stats in
the Report file response.
Do the following:
1. Double-click the Target File response and choose NVG_ASSY from the file
list.
2. Double-click the Sample field response and choose SAMPLE from the list.
This is the name of the key field in the target file.
3. Select Overwrite existing data in case there‟s any residual data in the
target file.
4. Merge Lab Data uses the field names it finds given the information you
entered in the Assayed Element Names group. When you click Assay
Fields (1 - 65)… you‟ll see the source file‟s field names in the Source
column, and target file‟s field names in the Target column.
8. Right-click the NVG_ASSY file name and check the contents of the assay
fields. Note how previously blank fields have now been populated with
data.
Data Entry
MICROMINE‟s File Editor is an excellent data entry tool that‟s specifically
designed to provide numerous tools for the rapid entry of spatial and drillhole
data. For example, by defining a series of rules, you can enter drillhole collar
coordinates and downhole sample data with a minimum of keystrokes.
Although many people use a spreadsheet application for data entry, you‟ll find
that the File Editor provides a safer and more rapid data entry environment.
The File Editor has a Tools menu available under the Edit menu that contains Notes:
a collection of basic functions for importing, exporting and merging data;
sorting and validating files; and performing field-based calculations. Many of
these tools also have toolbar buttons.
MICROMINE files are presented on-screen in a familiar grid layout. You can
navigate up and down through the file by using the keyboard up and down
arrow keys, as well as Pg Up and Pg Dn to go one page at a time. Of course,
you can scroll using the mouse, too. To move from one field to the next, press
Tab or Shift+Tab, or click into the desired field with the mouse. To create a
new record, simply press Enter at the end of the file.
The File Editor supports standard Windows shortcuts for editing text, for
example:
Ctrl+C (Copy)
Ctrl+X (Cut)
Ctrl+V (Paste)
Using these shortcuts, you can easily transfer blocks of data between
MICROMINE and, say, MS Excel, in either direction. However, the File Editor
also provides many other unique shortcuts that are designed to automate
repetitive geological data entry tasks. You can access these shortcuts by
opening the Records menu. Some of these are summarised in Table 1 below:
The add (Ctrl+A), replicate (Ctrl+R) and execute (Ctrl+T) tools also
operate on multiple records, by pressing Ctrl+Shift+[Letter] instead
of Ctrl+[Letter].
1. From the main MICROMINE menu, select File | Open and open the
NVG_ASSY file. Alternatively, you can click the Open File toolbar button.
2. Scroll to the bottom of the file and select (click) the last HOLE value, which
should read T17.
4. Now press Ctrl+R four or five times. Each time you choose this command
it replicates the T18 value to the record below.
Notes:
5. Select (click) the first blank FROM value in your new T18 hole and type in
a value of 0 (zero).
7. With the highlight still on the zero value, press Ctrl+Shift+A. The
Increment Many dialog will appear. Just click OK to accept the default
values.
8. Observe how MICROMINE has applied the new increment value to all
records below the selected cell.
9. Select the first blank TO value, type a 4 into that cell, and repeat the
Ctrl+Shift+A function. Your file should now resemble the following
diagram:
That was pretty quick, but wouldn‟t it be good if you could perform all of those
actions simultaneously? Fortunately, there is a way.
3. Click the Replicate button. Note how MICROMINE changes the “rule” for
the HOLE field from IGNORE to REPLICATE.
6. When the Copy Field dialog appears, select TO from the list and click OK.
This will take the TO value from the previous record and copy it into the
FROM field in the current record.
Copying the previous TO value into the FROM field is an excellent
way to ensure that your interval data has no gaps or overlaps.
Even if you manually edit a TO value, the next FROM value will
always be correct.
7. With the TO field selected, click the Increment button and set the
increment value to 4. Your Execute Parameters dialog should now look like
this:
Notes:
8. Click OK to close the Execute Parameters dialog.
9. Select the last T18 value in the HOLE field and press Ctrl+A. This will start
a new hole.
Before you can use the execution parameters, you must always
have a “starter record” containing actual values. The cursor must
also be somewhere in this record before creating any new data.
11. Press Ctrl+T and observe the result: All of the rules have been applied
simultaneously. Press Ctrl+T a couple more times to add some more
records. Your file should now look like this:
If you know how many records you need to add (you might be
drilling a series of 100m Reverse Circulation holes, for instance), you
can scroll to the end of the file, press Ctrl+Shift+T, and type the
number of new records into the Execute Many dialog.
Calculator
You can use the Calculator to quickly fill out fields through out a file. You can
perform simple algebra or more complex data manipulation. The calculator
works by the following formula:
Input A Calculation Function (ie Plus, Minus, etc) Input B = Result
Both Input A and Input B can be field names, numbers or a temporary variable. Notes:
The result can be a new field, existing field or a temporary variable.
To access the Calculator you can either select the File | Fields | Calculate
menu or by clicking the Calculations button on the toolbar in the File Editor.
The File Editor Calculator is slightly different to the main calculator as it has
fewer fields.
2. Double click the first Input response and select the TO field.
4. Double click the second Input response and select the FROM field.
5. Double click the Result response and select the INTERVAL field. The
dialog should resemble the following diagram.
Let‟s perform an exercise to calculate the Mid Point of each sample interval.
8. Single click the Result response and clear the box (Shift+Space) and type
in #1 to create a temporary variable.
9. Click the first Input on the second row and type in #1 to reference the
temporary variable.
10. Click the Function field on the second row and select Divide By. Notes:
11. Click the second Input and type in 2.
12. In the second Result field type in MidPoint. This will create a new field in
the data called MidPoint, which will be populated by the mid point of the
hole interval.
13. Click OK to run the calculation. You‟ll be prompted to create the new field;
answer OK to create it.
14. Close the File Editor once you‟re satisfied with the result. Please answer
NO when prompted to save changes!
Notes:
Lesson Four Summary
The key points of this lesson are:
The File Editor can be much more efficient than spreadsheet applications
for entering spatial data.
Select File | Import | Text and choose the input text file‟s format, then
Define the input file‟s format and identify the various fields, plus
Press Ctrl+A.
Press Ctrl+Shift+I.
Press Ctrl+R.
Press Ctrl+T.
Press Ctrl+Shift+P.
To insert a record:
Press Ctrl+I.
To delete a record:
Press Ctrl+D.
Good Practice
If you‟re importing text files that have the same format, create a form set
containing the import parameters. This will save you re-entering the import
parameters every time you need to import data in the same format.
Help Topics
For information on: See:
Notes:
Lesson 5 – Validating Data
Duration: 60 minutes
Validation is an essential processing task, with two primary objectives:
The first two validation options are designed to validate the contents of fields in
a file, whereas the last is designed to validate drillhole data.
You have two choices for validating fields in a file: Either Tools | Validate or
File | Fields | Validate. With Tools | Validate, you can only validate one field
at a time, but it‟s easy to use because you can validate at the same time as
you‟re editing the file.
The Validate function can check up to ten fields in a target file for correct
values. If it finds an incorrect value, it will write an error message to a report
file, along with the name of the field in which the error was found, and the
number of the record.
For character fields the function determines which values are correct or
incorrect by comparing them with entries in a validation file. You must have
previously created the validation file.
For numeric fields the function determines which values are valid by testing if
they fall within the ranges that you specify.
Notes:
Prompt Setting
File NVG_LITH
Type DATA
3. Click RUN to run the function. MICROMINE will immediately display a File
Editor window containing the results and counts of the extraction. You can
see that although there were over 400 records in the original file, fewer
than ten different codes were used.
4. Before you can use this file, you must remove the errors! We‟ll consider
blank or un-logged intervals to be errors, so highlight the blank record and
press Ctrl+D to delete it.
5. Highlight the FAUT record and press Ctrl+D to delete it also. The
remaining codes are correct.
We now need to modify the file slightly to improve the clarity of the remaining
steps.
7. In the Modify window, double-click the LITH field name and change it to
LITHOLOGY.
8. Highlight the FREQUENCY field name, and pres Ctrl + I to insert a record
so that your Modify screen looks like this:
LITHOLOGY C 10 0
LITH_DESC C 50 0
FREQUENCY N 8 0
9. Close the Modify window when you‟re done, and answer Yes to modify
the file.
10. Fill out the LITH_DESC values so that the file resembles this illustration:
Notes:
11. Finally, Close the File Editor window, answering Yes when prompted to
save the file, and close the Extract Unique Records dialog.
Range checking helps to eliminate typographical errors and other mistakes that
often occur in data entry. In the next exercise, we‟ll check a field that contains
values that range between 0 (zero) and 75.
The Fields Validate dialog is split into two halves: The upper half allows
you to set up the input, validation, and report files, whereas you define the
various validation rules in the lower half.
2. Fill out the upper half of the Fields Validate dialog as listed:
Prompt Setting
Type DATA
Type DATA
When you select Case Sensitive, values in the file you‟re validating must
match the case of your check file, otherwise they‟ll be recorded as invalid. For
example, ANDS is seen as being different to ands or Ands.
5. Right-click in the Report file response and select View from the popup
menu.
6. The Report file will look something like this. From here you can go to each
of the records in the input file that have an error and correct them.
Notes:
Validating Drillhole Data
The drillhole validation function (Dhole | Validate) will detect a large number
of errors and inconsistencies in Collar, Interval and Downhole Survey files. It
detects:
As you can see, the drillhole data undergoes comprehensive testing. You
should always validate drillhole data to ensure trouble free operation in later
processes.
Interval files are drillhole or trench files containing From-To data. Notes:
You must perform a separate validation run for each interval file
that you‟re checking, using the same collar and downhole survey
file in each case. For example, if you have interval files for assays,
lithologies, and oxidation, you must perform three separate runs of
Dhole | Validate.
Prompt Setting
Prompt Setting
You can choose to ignore unsampled intervals for the interval Notes:
length check by selecting a grade field. Any intervals with a blank
for the grade field will be ignored for the validation check.
4. Click OK. A series of status messages will appear as Validate processes the
drillhole files. If an error is detected, an appropriate message will be
displayed and the error will be written to the Report file.
5. Right-click the Report file and select View from the popup menu. This file
contains a record of all errors encountered during the validation process.
Lookup tables serve two main purposes. Firstly, they act as a data entry tool,
minimising the amount of typing required. Instead of having to type a
particular code, for example, you can simply choose it from a list. When used in
conjunction with the other data entry shortcuts that we‟ve already explored,
lookup tables make it possible to enter large quantities of data with few
keystrokes. This system works particularly well with pen-based devices such as
palmtops or PDA‟s, which may not have a keyboard.
Secondly, and perhaps more importantly, lookup tables act as a data validation
tool. Keystrokes are validated as they occur, which ensures that your data are
correct from the start. There are numerous settings that control the way lookup
tables perform this validation task.
You can create two different types of lookup table: Either a Flat lookup table,
which consists of a single list of codes and descriptions, or a Hierarchical lookup
table, which consists of nested lists of code/description pairs. Each form of
lookup table is better suited to a particular type of data.
Prompt Setting
File LITH_LOOKUP
Type LOOKUP
3. Click OK to create the new file. Because we defined the nesting levels,
MICROMINE has already set up the file structure for us.
At this point, we could manually enter the codes and descriptions, but it
makes sense to re-use the available data. The validation check file
VALID_LITH already contains the codes and descriptions we need, so let‟s
save some time by using that file.
4. Keeping LITH_LOOKUP open, select File | Open from the File Editor
menu and open the data file VALID_LITH. (If you can‟t see it, be sure to
set Files of type to DATA.) Both files are now open simultaneously.
5. Drag your mouse over all of the cells in the first two columns of
VALID_LITH to select them, and then press Ctrl+C to copy the selected
data.
6. Close the VALID_LITH file and ensure that the first cell of LITH_LOOKUP is
selected.
7. Press Ctrl+V to paste the data into the lookup table. It should look like
this:
The MICROMINE file version of the lookup table is what you‟ll edit and maintain
as administrator of this project. However, it‟s not the file that the geologists in
the field will use. You must compile this file into a binary LBN file before it can
be attached to an interval file.
1. With the file open in the editor, select File | Compile from the menu. The
Lookup Table Properties dialog will appear.
2. Set the Enable validation and Case sensitive options, but leave the
remaining options blank.
3. Click Compile to create the binary LBN file. A message will appear
indicating successful creation of this file.
1. From the main menu, select File | Open and open the NVG_LITH file.
2. Click the LITH field to select it. It doesn‟t matter if you click the field
heading or just a cell in that field.
3. From the File Editor menu, select Format | Lookup Tables | Attach.
4. Choose LITH_LOOKUP from the list and click Open. MICROMINE will add
the ellipsis buttons to the LITH field displayed in the File Editor.
5. Click one of the ellipsis […] buttons to open the lookup table. Your screen
should resemble the following diagram. From here, you can simply click
the desired code to select it.
6. Instead of clicking, try typing a code into one of the LITH cells. Even Notes:
though the lookup table is attached, you‟re not prevented from using the
keyboard in the conventional manner.
7. Try typing an incorrect code, then moving the cursor to a different cell in
the file. The invalid code is accepted! There‟s still one final stage we must
complete before the lookup table is fully set up as a validation tool.
2. From the main menu, select Options | Editor to display the Editor
Options dialog.
3. This comprehensive dialog has many settings on it, but we‟re interested in
the lower half, which is dedicated to setting the validation options.
4. Set the Validate lookup fields option. This will activate the remaining
prompts.
5. In the Validation options group, set the Beep when validation fails
option.
6. Finally, in the Validation actions group, ensure that the Valid input
compulsory option is selected. Your dialog should look like this:
Notes:
8. From the main menu, select File | Open and re-open the NVG_LITH file.
Note how the lookup table is still attached.
9. Type an invalid code into one of the LITH cells and then move the cursor
on to a different cell.
10. Observe how MICROMINE now displays a message (and beeps!) informing
you that the entered value is incorrect.
Notes:
Lesson Five Summary
These are the key points of this lesson:
To ensure consistent results you must validate data before using it.
Lookup table serve dual roles as data entry and data validation tools.
Enter the lookup codes and descriptions in the File Editor, then
Select File | Compile from the editor to create a binary LBN file.
If you‟re processing many files containing similar codes, you can create
validation files and re-use them.
You should always run drillhole validation after adding any new drilling
data or after importing it or reading it from other systems. Most problems
people have with drillhole displays are due to errors in the data that
Validate will identify.
Help Topics
For information on: See:
Notes:
Lesson 6 – Filters
Duration: 30 minutes
Filters in MICROMINE allow you to subset data of interest from a larger
dataset. This might prove useful, for instance, if you only wanted to work with
drillholes drilled during 2001. Most MICROMINE functions have a filter option,
and the filters themselves can be saved as form sets. As we‟ve already seen,
form sets allow us to re-use previous settings.
Once you‟ve activated the filter, you can edit the filter conditions by right
clicking (or pressing F4) on the filter number. In the illustration above, the
filter number is currently blank, but after you‟ve saved the filter as a form set, a
number will appear in this response. To choose an existing filter, just double Notes:
click (or press F3) the filter number and choose the form set from the list.
The Records group allows you to subset by record numbers (say, records 0 to
100). It‟s very easy to accidentally leave this option set, so please remember to
clear it afterwards!
In the event that a filter gives you exactly everything you don‟t want, simply
use the Reverse filter option to invert the filter result.
This filter condition will return the points whose easting is greater or equal to
24900. The field name is EAST_GRID (chosen by double-clicking), the operator
is >=, and the value is 24900 (entered by typing). Setting the Numeric switch
instructs MICROMINE to ignore any character values that may be in the field.
Matching Records
Once you‟ve set up a filter, you can immediately preview the results in the File
Editor by right-clicking the file name, or any of the referenced field names, and
selecting View from the popup menu. The records on a white background are Notes:
those that matched the filter conditions. These are the ones that will be used
for further calculations. The records on a grey background did not match the
filter, and will be excluded from the calculation.
Sometimes you need to might define a filter that‟s too complex for a simple
AND/OR combination. Complex filters such as this require that you use the
Equation option instead. You write an equation by typing it into the Equation
response, referring to each filter condition by its line number. You then use a
combination of character codes (listed in Table 2) in conjunction with your line
numbers.
Let‟s use an example. Suppose you had defined the filter conditions illustrated
in the screenshot earlier in this section, but wanted to combine them using an
equation. The conditions were:
To set up an equation relating these with the Boolean AND operator, you‟d type Notes:
this into the Equation response:
1&2
1|2
Code Meaning
& AND
| (pipe) OR
* Any characters
() Set precedence
You can construct quite complex filters using this technique, but in order to use
it effectively you should have an understanding of the underlying Boolean
algebra.
Imagine adding a third overlapping circle to each of the two diagrams above. Notes:
In the AND diagram, left, the area common to all three circles will be smaller
than the shaded area currently common to the existing two. The conditions are
becoming harder to satisfy. On the other hand, adding a third overlapping circle
to the OR diagram simply increases the shaded area, making the conditions
easier to satisfy.
Our first task is to create a filter to subset all geochemical samples whose
coordinates fall within the following ranges:
15900 – 16000N
24900 – 25000E
1. From the main menu, select Display | Simple. The Simple Display dialog
should have retained our settings from Exercise 4.1. If it‟s blank, you can
fill it out by referring to the first half of that exercise.
2. Click the Display Limits button and set the Grid type to FULL. Close the
Display Limits dialog.
4. Right-click (or press F4) the blank filter number to edit the filter. The
Filter dialog will appear.
5. The filter dialog may still contain settings from a previous filter. Simply
blank out any existing filter conditions before continuing.
8. Type 15900 into the first Value response and set the Numeric check box.
9. Repeat Steps 6 through 8 for the remaining filter conditions. Your filter
should now look like this:
12. Close the File Editor window and then click OK to close the filter.
13. Click OK on the toolbar to run the Simple Display function. Your display
should resemble the following diagram:
IV10680 – IV10691
NV10295 – NV10314
2. Position the cursor in the first Field Name response and repeatedly press
Ctrl+Space until all of the filter conditions are empty.
3. Double-click the first Field Name response and choose SAMPLE from the
list.
5. Type the string IV10680 into the first Value response, and clear the
Numeric switch.
6. Repeat Steps 3 to 5 for the remaining filter conditions. You filter should Notes:
now resemble this:
(1&2)|(3&4)
10. To preview the filter, right-click the File response and choose View from
the popup menu. Confirm that the desired samples are indeed selected,
i.e. on a white background.
11. The graphical output of this function is meaningless so simply close all of
the dialogs once you‟re satisfied with the result.
Notes:
Lesson Six Summary
These are the key points of this lesson:
Filters are an extremely versatile way to subset only the data of interest
from a larger dataset.
Right-click the File response and choose View from the popup menu, then
Good Practice
Saving common filters as form sets allows you to re-use them throughout
your project.
Help Topics
For information on: See:
MODULE 2
DISPLAYING AND
MANIPULATING DATA
MICROMINE Training v9.2 Module 02 – Displaying and Manipulating Data (Rev 05)
Notes:
Lesson 1 – Introducing the
Vizex Graphic Environment
Duration: 30 minutes
Vizex is MICROMINE‟s main graphic display environment, and opens by default
when you open MICROMINE. Using Vizex, you can load as many objects as
your computer, common sense, and clarity will allow. You can display all
MICROMINE object types, including downhole information, pit designs, block
models, and wireframes. Editing functions include a rich suite of tools for
snapping, smoothing, weeding, gradients, curves, draping, and wireframing.
The Vizex environment also supports seamless transitions between 2D and 3D
views.
Introducing Vizex
What is Vizex?
The Visual Explorer (Vizex) graphical interface provides a fully interactive
display environment for all MICROMINE object types.
You use the Object Manager to combine and display multiple sets of form set
objects to form a layered display. Multiple datasets can be viewed and edited
interactively using the Vizex Graphic Editor.
To speed up graphical editing, display layers can be easily turned on and off
using the Display Pane of the Object Manager.
Notes:
Starting Vizex
Vizex will open by default whenever you start MICROMINE. If Vizex is not
open, it can be opened with any of the following methods;
Load any object or saved view from the Form Sets Pane; or
Load any object or saved view by selecting any option from the
Display | Vizex menu
1. Ensure Vizex is open. If Vizex is not open, open it by clicking on the Vizex
Toolbar button.
2. Once the Vizex environment is open, open the Saved Views node by
single-clicking the small plus [+] icon to its left. This node is located at the
top left of your screen, immediately under the menu and toolbar.
Notes:
4. Vizex will load a number of different display objects into the window and
then change the window extents to match the saved view.
The View toolbar at the top of the screen provides a variety of tools for
selecting and manipulating data, and manipulating the view. Depending on the
tools you‟ve selected, Vizex may also display additional toolbars.
To create a Form Set Object, select an option from the Display | Vizex menu.
Alternatively, you can double-click an object type under the Vizex Folder to
create a new Form Set Object.
If there are no objects displayed under the Vizex Folder in the Form Sets Pane,
simply click on the plus [+] icon to it‟s left to expand the options.
Graphic Display
Display pane
You can load virtually all MICROMINE file types into Vizex using the Form Sets
pane. You‟re not limited to one occurrence of each object type, but can add as
many as your computer will allow. The currently supported file types are:
Drill holes: Display drillholes (including Trace, Hatch, Events, Graph, and
Value displays).
Pit designs: Use string editing and pit design functions to digitise a pit
outline and apply constraints to the pit design process.
Block Models: Display block models created using the modelling functions
in MICROMINE.
GIS Files: Display GIS files in the following formats; ArcView® Shapefiles,
Microstation® DGN files, and MapInfo® files in both TAB and MIF formats.
You use the Display pane to manage the currently loaded objects.
The Display pane lists the current Display Objects. You can rearrange the
drawing order of these objects by dragging and dropping them with the mouse.
Vizex draws objects from the bottom of the Display pane upwards.
You can adjust your display by simply dragging objects into the
desired display order.
Objects displayed in the Vizex Graphic display window are listed under the
Vizex icon in the display panel. If you have a 3D view open in 3D viewer at the
same time, these will be listed under the 3D viewer icon in the display pane.
When displaying multiple data layers it‟s sometimes useful to temporarily turn
off or hide a layer without removing it permanently from the display. This gives
you a better view of the objects you‟re interested in. To hide a Display Object
or layer, simply uncheck the checkbox alongside the name of the object.
To redisplay an object simply check the checkbox alongside the name of the
object. The object is re-drawn in the Graphic Display. Whether the object is
visible or not will depend on the current display limits.
1. Click the check box next to the Aeromag image display object to set it.
2. Vizex will display the image, but it obscures the remaining objects in the
display.
3. Click the Aeromag image display object‟s name or icon in the Display Notes:
pane, and drag it to the bottom of the list. When you release the mouse,
Vizex will re-draw the display with the magnetic image at the bottom.
4. You‟ll notice that the Aeromag image display object now has a blue
highlight on it, which indicates it‟s selected. Press the Del key on the
keyboard to delete it. Alternatively, you can right-click and choose
Remove from the popup menu.
If required, you can take additional control over the view by using the Display
Limits dialog, which you can access by clicking the Display Limits toolbar
button, or by choosing View | Viewpoint | Edit from the menu. The display
limits dialog has three tabs: Orthogonal, which allows you to make sections
orthogonal to your coordinate grid, Transform, which allows you to make
sections at an angle to your grid, and 3D View, which allows you to view your
objects from different positions and angles by rotating and moving the camera.
You can also define the window clipping values on this dialog. The settings that
Vizex applies will depend on which tab is active when you click the OK button.
We‟ll look at this dialog in more detail in Lesson 3.
When you are using the standard views, an editable input box can be used to
quickly change the section you are viewing. This is located on the View
Toolbar next to the standard view buttons. Once a section has been entered
into this box, it can be quickly accessed using the drop down menu.
Notes:
Vizex also provides numerous tools for zooming and panning, including a
generous zoom undo and redo memory.
1. Experiment with the effects of the standard view buttons by clicking each
toolbar button in turn. Note how sectional views like Looking North or
Looking West currently don‟t apply any clipping to the data, but simply
project the data against the requested plane. You‟ll learn how to correctly
display cross sections in Lesson 3.
2. When you‟ve finished experimenting with the standard views, return to the
Plan view orientation.
3. Click the Pan tool and drag the mouse in the display. Note how the view
dynamically pans.
4. Click the Zoom tool and drag a medium sized rectangle in the middle of
the screen. Vizex zooms to the extents of that rectangle.
6. Click the Pan tool and hold the Ctrl key. Now drag the mouse vertically in
the Graphic Display. The dynamic zoom is an alternative to the standard
Zoom tool.
7. With the view zoomed-in, click on the Simple drillhole trace object in the
Display pane to select it.
8. Now right-click and choose View Selection from the pop-up menu. The
view will adjust to fit the drillhole trace display into the screen. Note how
the drillholes are surrounded by a dashed rectangle, which indicates the
layer is selected.
Notes:
Grid Settings
Vizex gives you very good control over the way your coordinate grid is
displayed. To change the grid settings, select View | Grid Settings… from
the menu, click the Grid Settings toolbar button, or right click in the display
and select Grid Settings… from the pop-up menu.
A useful feature of the Grid Settings dialog is the Auto spacing option,
which automatically calculates the appropriate grid spacing to keep between 5
and 10 grid lines in the display.
Grid settings can be saved as form sets, so you can save and recall
specific grid settings as required.
3. Set the three Spacing responses to 100 ensuring auto spacing is unticked.
4. Select (check) both the Top/Right and Bottom/Left label options for all
three axes.
7. Click OK to accept the settings. Your display should look like the following
illustration.
8. Once you‟re satisfied with the result, select Edit | Remove All to clean
up the display in preparation for the next exercise.
Notes:
Notes:
Lesson One Summary
This lesson has covered the fundamentals of the Vizex interface and has shown
you how to work within the environment. Here‟s what we‟ve learnt so far:
Open the Saved Views node by clicking the [+] icon in the Form Sets
pane, and
To save a view:
Double click the Saved Views node and choose Save on the Forms
dialog.
Click the object in the Display pane, and then press the Del key, or
Click the object in the Display pane, right-click and choose Remove from
the pop-up menu.
Drag the objects in the Display pane into the desired order, from the
bottom up.
Select the Pan tool and hold the Ctrl key whilst dragging vertically.
Notes:
Lesson 2 – Creating a
Preliminary Display
Duration: 60 minutes
Once you‟ve loaded the various data sets into a project, the next step is to
create a preliminary display. The tasks in this lesson demonstrate how to create
a multi-layer display in which all data sets in the project can be shown.
Display surface geochemistry as shapes. The size of the shapes will vary
according to the values of the underlying data;
Combine these displays into a single coherent view of the area of interest.
You control the size of the points in two ways: By applying a scaling factor or
by specifying a series of ranges and a radius for each. With the first method
you can apply a minimum and maximum radius and scale the points smoothly
between those limits. With the range method, the points are limited to the sizes
you specify.
You can also apply a natural-log transform, which is applied before the scaling
factor or range calculation.
1. In the Form Sets pane, double-click the Points object type. Alternatively,
you can choose Load | Points from the menu.
2. The Load Points dialog consists of three tabs. Fill out the Load Points
tab as shown:
Prompt Setting
File: NVG_GCM
Type: DATA
East field: EAST_GRID
North field: NORTH_GRID
Z field: RL
Vizex dialogs are just like all other MICROMINE dialogs, with one
exception: Complex dialogs are displayed as a series of tabs rather
than one large dialog.
Prompt Setting
Shape: SYMBOL
Default symbol: (Filled triangle – select by double-
clicking the symbol box)
Display field: AU1
Font: Tahoma, 8 point regular (double-
click the AaBbYyZz text)
Position: Diagonal top right (select by
double-clicking the position box)
Vizex did several things when you clicked OK: Firstly, as expected, the new
data appeared in the Graphic Display. And secondly, a new display object
appeared in the Display pane.
Colour sets make it easy to differentiate between values, regions and other
objects in the display. The tools you use to create colour sets in MICROMINE
are particularly powerful. Because colour sets can be saved as form sets you‟re
able to use them anywhere in a project and can even export them to other Notes:
projects. This promotes consistency and saves time.
There are two types of colour sets: numeric and text. You use numeric colour
sets with numeric data and text colour sets with character data. In this case
you‟ll create a numeric colour set.
3. At the bottom of the Symbols tab, double-click the Colour field response
and select AU1 from the field list that appears.
4. Right-click the Colour set response. The Edit Colour Sets (Numeric)
dialog will appear. (If there are already values in this dialog, click the
Clear Table button at the top-left corner to empty it.)
5. Click the Assign button. The source File and Value field responses
should be filled out automatically in the Assign dialog.
7. Click OK.
Five equal numeric ranges will be calculated for the colour set. There‟s also
provision for values above and below these ranges.
1. Double-click the colour beside the first (top) entry in the table of ranges.
3. Move to the last completed row in the table and do the same, this time Notes:
selecting red.
4. Return to the first row and check the Ramp checkbox beside it.
6. Click the Colour Ramp button at the right of the dialog. The intermediate
ranges will receive colours in between red and blue.
1. Click the Forms button (while still in the Colour sets dialog).
3. Enter Soil geochem Au1 as the colour set Title. There‟s no need to change
the number of the colour set; MICROMINE automatically finds the next
available number.
4. Click OK.
5. Return to the Points dialog by clicking OK. The number allocated to the
colour set will appear in the Colour set response.
6. Click OK on the Load Points dialog to apply the changes and return to
Vizex.
Vizex uses two different scaling methods: Factor and Ranges. In this exercise Notes:
you‟ll use the Factor method, which scales each symbol based on the values in
the chosen Scaling field. If required, you can also specify minimum and
maximum radii to prevent the shapes becoming too small or too large.
When you use this method, the function reads the value in the Scaling field for
each point and performs the following calculations:
If it‟s less than or equal to the Base value (a cut-off), the point is ignored.
Otherwise, the difference between the value in the Scaling field and the
Base value is multiplied by the Scaling factor to determine the radius of the
shape.
If the radius is less than the Minimum radius, then the Minimum radius is
applied.
If the radius is greater than the Maximum radius, then the Maximum
radius is applied.
When the Natural log transform is enabled, the log is taken after the Base
value is subtracted from the value in the Scaling field.
Prompt Setting
Method: Factor
4. Finally, click the Factor Values… button and fill out the following
prompts:
Prompt Setting
Base value: 3
Minimum radius: 1
Notes:
Now that the Points display is completed, it makes sense to save it as a form
set for later re-use. To do this, follow these steps:
5. Click the Forms button (on the Load Points dialog) to display the Forms
dialog, and then click Save As.
6. Type in the title Surface geochem and click OK to return to the Load Points
dialog. Observe how the title now appears at the top of the dialog.
7. Click OK on the Load Points dialog to update the display, which should
now resemble the following diagram.
If you inspect the Display pane, you‟ll see that the name of the display object
has changed from NVG_GCM.DAT to Surface geochem. Additionally, if you
check the Form Sets pane, you‟ll notice that the Surface geochem object also
appears as an item under the Points form set node.
At any time, if you click the plus [+] icon next to a form set node
you can expand the tree to display the saved form sets listed
underneath it. However, your settings will only appear if you‟ve
saved them as a form set.
1. On the Form Sets pane, double-click the Outlines object type to display
the Load Outlines dialog. Or, if you‟d prefer, you can select Load |
Outlines from the menu.
2. Double-click in the Outline file response and choose the TENOUT file
from the list.
4. Set the Name and clear the Fill options in the Display Options group.
5. Double-click the font preview box and set the font to Tahoma, 14 point
regular.
6. Click the Forms button, followed by Save As on the Forms dialog. Type in
the title Tenement boundary and click OK.
7. Click OK on the Load Outlines dialog to return to Vizex and update your
display.
If you know the scale of the photograph and the resolution (number of pixels
per inch) at which it was scanned, you can calculate the real-world dimension
of each pixel. If you also know the coordinates of two features on the image, or
the coordinates of the pixel in the top left corner of the image, you can
georeference it to the other datasets.
Interactively. Using this technique you select two points in the image and
enter the coordinates of each. Vizex will then use these to calculate the
georeferencing information.
From existing data. You can load ArcView, MapInfo, ESRI, ER Mapper, or
GeoTIFF files that contain the georeferencing information.
Notes:
In the next exercise, you‟ll use coordinates that are supplied with the image.
1. On the Form Sets tab, double-click the Image object type to display the
Load Image dialog. Alternatively, you can also select Load | Image
from the menu. Ignore the values already in the Image dialog; they‟re
simply left over from Lesson 1.
2. Click the browse […] button next to the File response and double-click
the Import folder. Select the MMI_IMAGE.ECW file. MICROMINE will
automatically search for and load the georeferencing header information.
3. Set the Image intensity to 400. This will stop the image overpowering
the other information in the display.
5. Set the Section to 1600. This will set the image to the approximate RL of
the surface topography in that area.
6. Click Forms followed by Save As and save the settings as a form set
called Air photo. Click OK on the Load Image dialog to return to Vizex.
7. You‟ll see that the image obscures all of the other data in the display. To
change the display order, drag the Air photo object (in the Display pane)
to the bottom of the list. When you release it, the display will refresh with
the photo beneath the other objects.
Notes:
4. Click Grid Limits… and check that the X Field is set to EAST_GRID and
the Y Field is set to NORTH_GRID. Double-click the minimum and
maximum values to set them if required.
5. Enter 5 for X block size and 5 for Y block size. Notice how MICROMINE
automatically calculates the number of blocks.
6. Activate the Preview mode option and click More…. Set the Input data
colour to dark blue and the Nearest points colour to bright red.
8. Click the Data Search… button and set the Search radius to 75.
11. Click OK to run the function. The grid file will be created after a few
moments. Exit the Gridding function once it‟s done.
It makes sense to use a modified version of the colour set you created for the
Points display.
1. Double-click the Grid File object type on the Form Sets pane.
The grid file actually covers the entire area, but by “nulling” out the
low values, we‟ve produced a display grid that only highlights the
anomalies.
5. Click Forms then Save As and save the settings as a form set called MMI
Soils Geochem Au1. Click OK on the Grid File dialog to return to Vizex.
7. Click the plus [+] icons next to the Outlines, Points, Image and Grid
object types to display the form set objects that you previously created.
8. Double-click on each of those form sets to load them into Vizex and rapidly
re-construct the display.
9. If you need to change the display order, drag the objects in the Display
pane to change their order to your satisfaction. Your display should look
something like the following picture.
Notes:
1. Double-click the GIS Features object type on the Form Sets pane.
2. Double click the File response and choose nvg_geology.shp from the
Import directory.
3. Click the Z value response and enter 1600 as the RL.
4. Select the Polygons tab and click the Use Hatch field? response.
6. Double click the Hatch set response and select ArcView surface geology
map and click the Select button.
7. You will also need to select a default hatch pattern by double clicking the
Default hatch response. On the Fill Pattern dialog select a pattern and
click OK.
9. Click the Forms button and on the Forms dialog click the Save As button. Notes:
In the title response type in Surface Geology (AV). Click Ok.
1. Click the Plot toolbar button. Or, select Tools | Plot from the menu.
2. Set the Plot file name to Plan. Don‟t change any of the other responses
at this stage.
4. Finally, select Edit | Remove All from the menu to clean up the display.
Notes:
Lesson Two Summary
This lesson has taught you to construct a basic Vizex display, as well as create
and modify colour sets. Here‟s what we‟ve learnt so far:
Click the plus [+] icon next to the appropriate object type in the Form
Sets pane, then
Saving Vizex display layers as Form Sets allows you to very quickly reconstruct
a comprehensive display, without re-defining each display object.
Because Form Sets are so easy to create in Vizex, it‟s possible to create
multiple versions of the same information. For example, you could create a
Strings object for topographic contours coloured by elevation, and another of
the same contours coloured according to whether they‟re index or intermediate
contours.
Help Topics
For information on: See:
Notes:
Lesson 3 – Working with
Drillholes
Duration: 90 minutes
Lessons 1 and 2 have focussed on the basics of Vizex, and have introduced you
to various object types. Drillholes are an integral part of Vizex, and this lesson
will teach you to manage and display drillhole data.
Introduction
Vizex uses a highly efficient method for managing drillhole data, called the
Drillhole Database. Using the Drillhole Database, you can easily create and
manage all drilling data that‟s relevant to a particular project.
Once you‟ve created a Drillhole Database, you can use the power of Vizex to
display your downhole information in plan; in both orthogonal and transform
(angled) drillhole sections; and in 3D.
This lesson will introduce you to the drillhole database and teach you how to Notes:
create and manage your drilling data. You‟ll also learn to create and display a
variety of downhole information.
Drillhole Accuracy
Although most drillholes describe a curved line (known as the trace),
MICROMINE approximates the trace as a series of straight-line segments.
When you construct a Drillhole Database, Vizex automatically varies the Trace
Interval from hole-to-hole to keep the calculated drillhole within a predefined
distance of the true drillhole location.
Notes:
Referring to the diagrams above, you can see that the trace accuracy threshold
has no effect on straight holes, since they‟ll always be depicted with two points
– one at the collar, and another at the end of hole. However, curved holes will
be given a trace interval that depends on the curvature of the hole.
So, each drillhole trace that Vizex calculates will remain within 5cm of the true
(mathematical) trace location. However, depending on the curvature of each
hole, the actual trace interval might vary widely from hole-to-hole.
Notes:
Vizex automatically tracks the relationship between event and interval files and
the associated collar and survey files. One advantage of this system is that you
aren‟t distracted by dozens of irrelevant files when you‟re setting up a
downhole display – instead, only the files you added to the database are
available.
1. Double-click the Drillhole Trace Form Set Object. Alternatively, you could
choose Display | Vizex | Drillhole | Trace from the menu.
2. On the Drillhole Trace dialog, activate the trace coordinates tab, right-
click in the Database response and choose New Database from the pop-
up menu. (Ignore the values already in the Drillhole Trace dialog – these
are left over from a previous drillhole trace display.)
4. Double-click the Collar file response and choose NVG_COL from the file
list. Vizex will automatically complete the remaining responses in this
group.
5. In the Define surveys group, ensure that the Downhole surveys? Notes:
option is turned on.
6. Double-click the survey File response and choose NVG_SUVY from the list
of files. Vizex will again automatically complete the remainder of this
group.
7. Set the Azimuth correction to 40 degrees and check the Apply to first
azimuth? option.
Now it‟s time to add any downhole files (Events and Intervals) to the database.
3. A new dialog will appear; double-click the Event File response on this
dialog and choose NVG_EVENTS from the list.
4. Check that the Hole field is set to HOLE and the Depth field to DEPTH
and click Close. Vizex will add the file NVG_EVENTS.DAT to the list of
event files.
5. There are no more event files, so click OK to close the event files dialog. Notes:
6. Now click the Interval files… button, followed by Add on the dialog that
appears.
7. Double-click the Interval file response and choose NVG_ASSY from the
list. Click Close to add the file.
8. Click Add a second time and add the NVG_LITH_NO_ERR file to the
database.
9. There are no more interval files, so click OK to close the interval files
dialog.
You‟ve now constructed a new drillhole database. The only remaining step is to
have Vizex relate the files and calculate the new drillhole trace coordinates.
10. Click OK to build the database. Vizex will scan and validate the input files,
and then calculate the drillhole trace coordinates. Finally, Vizex will close
the Drill Hole Database dialog and return you to the Drillhole Trace
dialog.
Refreshing a Database
Databases are dynamic objects, so the data they contain often undergoes
regular updates. New drillholes are added, corrections are made, and so on.
Although Vizex doesn‟t automatically update the drillhole database after you‟ve
changed any of the underlying data, you fortunately don‟t have to go through
the process of re-creating the database every time you add a new drillhole.
5. Double-click Colour set and choose Drillhole Au1 (statistical) from the list.
6. Set the Trace thickness to MEDIUM. The tab should appear as shown:
7. Click the Hole Name tab and turn on the Show Hole Name? option.
8. Ensure that the Top location is set to AUTO and the Bottom location to
CENTRE.
9. Double-click the Hole name font response and change the font to
Tahoma, 12 point regular.
Notes:
10. Click the Hole Depth tab and turn on the Show Hole Depth? option.
11. Type a lower-case m into the Annotation response. This letter will be
appended to each end of hole depth, e.g. 102.3m, in the display.
12. Finally, click the Collar tab and turn on the Show Collar? option. Double-
click the blank default symbol box and choose a double concentric circle.
13. Save these settings as a Form Set by clicking the Forms button, followed
by Save As. Call the new form set Simple assay display.
14. Lastly, click OK to load the drillhole traces into Vizex. You‟ll see a plan
display that looks something like this:
Notes:
Working with Cross Sections
Now that we‟ve established the groundwork for manipulating the display and
loading drillhole traces, we can focus on applying this knowledge to displaying
cross sections. The process consists of two basic steps: Defining the view plane
(whether orthogonal, transform or a 3D View) and setting the clipping window.
These steps are collectively known as setting the Display Limits.
Display Limits
You can set the extent and other advanced properties of a cross section by
clicking the Display Limits toolbar button, or by selecting View | Viewpoint
| Edit from the menu. The Display Limits dialog has three tabs: Orthogonal,
Transform and 3D view. The settings that Vizex applies will depend on which
tab is active when you click the OK button.
Orthogonal
The Orthogonal tab consists of three main groups that allow you to vary the
View Type, the view Limits, and the clipping Window. The View Type group
simply reproduces the standard view toolbar buttons, so no further explanation
is required here.
The Limits group allows you to set the display limits and the nominal plane of
the display. The relevance of the various controls in this group will vary
according to the view type.
For example, if you‟re producing a Looking North cross section, the Minimum
and Maximum East and RL settings will determine the Limits, whereas the
North value will determine the Section plane. Similarly, if you‟re Looking West,
the Section will correspond to the desired East value, and the North and RL Notes:
values will determine the Limits.
The Window group allows you to set the Window Towards and Window Away
values, which define the thickness of the clipping window. You can also turn
clipping on or off directly from the toolbar by using the Enable Clipping
toolbar button. These values are explained in the Understanding Clipping topic,
below.
Transform
The Transform tab allows you to define a cross section that isn‟t parallel to your
coordinate grid. You do this by entering the coordinates of the endpoints that
define the section into the Section group; Vizex will calculate the bearing and
length of the section based on those numbers. Vizex also provides you with a
preview window so you can see how the section will relate to the real world.
The Window group works exactly the same as for orthogonal sections.
There‟s a much easier way to define a transform section, rather than typing in
endpoint coordinates. With a plan view in the display, click the Section toolbar
button, and then drag a section across the display. When you release the
mouse button, Vizex will draw the requested cross section.
3D View Notes:
The 3D View tab allows you view objects from different positions and angles by
rotating and moving the camera, not by rotating and moving the objects,
although this is what appears to happen.
When adjusting the limits of the 3D display, you can now specify whether to
hold the camera position (where you are looking from) and adjust the
viewpoint (the focal point of the camera as determined by its orientation), or
whether to hold the viewpoint and adjust the position of the camera. This is
set in the Calculations group.
The Orientation group defines the location (Camera X, Y and Z) and orientation
(Viewpoint X, Y and Z) of the camera.
The Window group works exactly the same as for orthogonal and transform
sections.
An easier way of creating a 3D view of your objects is to from any view, select
the Pan tool and holding down the Shift button, rotate the view to the desired
angle. If you are in a clipped section view while carrying out this process, only
the clipped window will be rotated to allow you to view your section from
different angles.
Understanding Clipping
As we‟ve seen, when you set up a cross section, you interactively define the
screen extents of the display and the nominal plane of the section using a
combination of toolbar buttons (such as the standard views, the Section button
and the Pan tool) and the Display Limits dialog. However, you must also
define the “slice” or data corridor that will be displayed. You do this by entering
values in the Away and Towards responses of the Window group.
Notes:
When you enter values into these responses, only data that falls within the data
corridor will be displayed. So, if only part of a drillhole falls within the data
corridor, only that part will be visible and the remainder will be excluded.
For an orthogonal section, activate the Display Limits dialog and click the
desired View Type, for example Looking North.
Activate the Clip to window? option and enter values for Window
Towards and Window Away.
For a transform section, first select the Section toolbar button and define
your section by dragging in a plan view.
When the section appears, activate the Display Limits dialog and set the
desired Clip to window values.
Once the section is displayed, you can toggle the clipping by clicking the
Enable Clipping toolbar button. While clipping is enabled, you can use the
Previous Section and Next Section buttons to browse forward or backward
through your data. The step size is defined by the sum of Window Towards and
Window Away.
You can freely switch between different views once you‟ve defined the section
settings. For example, you might wish to return to a plan view so you can drag
another transform section. Or, you might want to change from a cross section
(looking north) to a long section (looking west). Vizex remembers your clipping Notes:
settings and applies them where appropriate.
1. Click the plus [+] icon next to the Wireframes object (in the Form Sets
pane) to display the list of previously saved form sets, and double click the
DTM 2D slice mode object to open it.
2. Click the Display Limits toolbar button.
5. Activate Clip to window? and set both Away and Towards to 15.
7. Click the Next Section and Previous Section buttons to browse through
the data.
2. Right-click in the Graphic Display and choose View All from the pop-up
menu.
3. Click the Section toolbar button and drag an oblique section at an angle
to the drillholes. Note how Vizex displays the section extents as you drag
the mouse. When you release the mouse, Vizex displays the transform
section.
Notes:
If you open the Display Limits dialog after you‟ve defined the
transform section, you‟ll notice that the contents of the dialog
have been filled out for you.
4. You can toggle the clipping by clicking the Enable Clipping toolbar
button.
5. With clipping enabled, click the Next Section and Previous Section
buttons to browse the data.
7. Lastly, right-click in the Graphic Display and choose View All from the
pop-up menu.
Viewing in 3D
In addition to the standard orthogonal and transform displays, Vizex allows you
to seamlessly switch to a 3D display. Once you‟re in 3D, you can rotate your
data to any desired orientation. Clipping is still available if you need it, and all
editing tools are also available.
Switching to 3D is easy: Simply select the Pan tool and hold the Shift key. As
you drag the mouse in the Graphic Display, the data will rotate instead of
panning.
2. Whilst holding the Shift key, drag the mouse in the Graphic Display.
3. As you rotate from the plan orientation, clipping may re-enable itself.
Simply click the Enable Clipping button to disable it.
If you open the Display Limits dialogue box after rotating the view,
you will notice that the contents of the dialog have been filled out
for you.
4. Once you have completed 3D viewing, click the Looking North button to
return to a cross-section view.
6. Ensure that you have clipping enabled by clicking on the Enable Clipping
button to turn clipping on.
7. Select the Pan tool.
8. Whilst holding the Shift key, drag the mouse in the Graphic Display.
9. As you rotate from the looking north view, observe that the whole section
rotates.
10. Once you have completed viewing the section in 3D, simply click on the
Looking North button to return to the section view.
Notes:
Adding Downhole Information
With Vizex, you can add as much information to your drillhole traces as clarity,
common sense, and your computer‟s resources will allow. In the next few
exercises, we‟ll explore some of the various drillhole object types.
2. In the Drillhole Value dialog, make sure the Value Coordinates tab is
active.
4. Set the Interval file to NVG_ASSY.DAT, choose AU1 for the first Label
field, and choose Drillhole Au1 (statistical) for the Colour set, leave the
Justify field as default.
If more than one Label Field is selected they will display in columns Notes:
to the right or left of the drillhole depending on which side you
select.
5. Click the Value Display tab and set the label Side to RIGHT.
6. Click Forms, followed by Save As, and save the form set as Statistical
assay labels.
7. Click OK to load the labels.
1. Double-click the Drillhole Value Form Set Object a second time and
activate the Value Coordinates tab.
3. Set the Interval file to NVG_LITH_NO_ERR.DAT, and choose LITH for the
first Label field. We have no lithological colour set at this stage, so blank
out the existing Colour set and set the default colour to Black.
4. Click the Value Display tab and set the label side to LEFT.
5. Click Forms, followed by Save As, and save the form set as Lithology
labels (black).
6. Click OK to load the labels. You‟ll see black labels appear down the left
hand side of each drillhole trace.
So far, we‟ve created a numeric colour set, which has assigned groups of
numeric ranges to specific colours. We can use a similar technique to create a
text colour set.
Text colour sets work with unique character codes instead of numeric ranges.
When you use the Assign button, MICROMINE finds all unique values in the
selected field.
To simplify your colour set, you can group similar values in one of two ways:
Auto Group, which simply groups the codes by the first n characters, or Manual
grouping, where you decide what codes will be gathered together.
1. Double-click the Lithology labels (black) object in the Display pane and
activate the Value Coordinates tab.
2. Right-click the Colour set response to edit the colour set. The Edit
Colour Sets (Text) dialog will appear. If there are already values in this
dialog, click the Clear Table button at the top left of the dialog to remove
them.
5. A second Assign dialog will appear, containing two columns. The Found
column contains all unique codes in the file, and the Text column will
contain our newly created groups.
6. Highlight the ANDS code in the Found column and, ensuring that Group? Notes:
is turned off, click the right arrow button. The code will be moved to the
Text column.
7. Turn on the Group option, highlight the DACT code, and click the right
arrow button a second time. Observe how the two codes now appear on a
single line in the Text column.
8. Turn Group off and move the FAUL code. Now turn Group back on and
move the FBX code. Again, observe how they appear on the same line in
the Text column.
9. Finally, turn Group off and click the double right arrow to move the
remaining codes (NC, SED, and VEIN) as separate entries. Your Assign
dialog should look like this:
10. Click OK to close the Assign dialog. Your newly created groups are
transferred to the Colour Sets dialog.
1. Double-click each colour and set it to a colour that you feel is appropriate
for each code group. If you‟d like, you can also type in a more descriptive
Label for each. Once you‟re finished, your dialog should resemble the
following:
2. Now, click Forms, followed by Save As, and save the colour set as Basic
lithology colours.
3. Once you‟ve saved the form set, click OK to close the Colour Sets dialog
and return to Vizex. Note how your new form set number appears in the
Colour set response.
2. In the Save Current Values… dialog, click the New button to allocate a
new from set number. If this button is disabled, Vizex has already done
this for you.
You don‟t have to explicitly save the settings as a new form set,
since Vizex will automatically overwrite the old settings when you
click OK. However, it‟s a good habit to establish, since you may not
want to overwrite the old settings!
Hatch sets allow you to place a fill pattern into any enclosed region. There are
three main applications for hatch sets:
When you set up a hatch set, you can independently control the pattern,
foreground and background colours, symbol size, and outline of each pattern.
Additionally, many MICROMINE functions allow you to further control the
allocation of foreground and background colours.
1. Double-click the Drillhole Hatch Form Set Object and make sure the
Hatch Coordinates tab is active.
6. Right-click the Hatch set response to display the Edit Hatch Set (Text)
dialog.
9. Once you‟ve set up the codes, click OK to return to the Edit Hatch Set Notes:
dialog.
10. Double-click each default hatch pattern to display the Fill Pattern dialog.
As before, create a fill pattern that you think is appropriate for each code
group. Experiment with foreground, background, and border colours in
addition to the patterns themselves. Your dialog should resemble this:
11. Once you‟re done, click Forms, followed by Save As, and save the hatch
set as Basic lithology. Click OK to return to Vizex.
4. Click Forms, then Save As, and save the hatch display as Drillhole
lithology. Click OK to return to Vizex. Your display should look like the
following diagram:
Notes:
Hatch widths are always measured in real-world units. So, our
hatch pattern is literally four metres wide. Plotting this at 1:1,000-
scale would result in a hatch width of 4mm on the paper.
1. Double-click the Statistical assay labels Display object and activate the
Value Display tab.
2. Set the Offset distance in both the Labels and Ticks groups to 2, then
click OK. Vizex will automatically save the modified form set and adjust the
display.
3. Repeat Steps 1 and 2 for the Lithology labels (coloured) Display object.
4. Now zoom in on a drillhole and observe how the value ticks stop exactly at
the edge of the hatch display.
5. Select the Drillhole lithology object in the Display pane, right-click and
choose View Selection from the popup menu.
Notes:
Creating a Plot File
You‟ll now create a plot file of the cross section display, to be later used in the
Plotting exercises in conjunction with your earlier plot.
1. Click the Plot toolbar button. Or, select Plot | Generate from the menu.
2. Set the Plot file name to Section15900. Don‟t change any of the other
responses at this stage.
4. Finally, select Edit | Remove All from the menu to clean up the display.
The lessons and exercises we‟ve covered so far have all been leading to
Lesson 5, where we‟ll begin to interpret our data.
Notes:
Lesson Three Summary
This lesson has taught you to manage and display drillhole data. You‟ve worked
with various items of downhole data, such as Values and Hatch patterns.
Additionally, you‟ve seen how to view data in cross section and 3D, and how to
set up text colour and hatch sets.
Right-click the Database response and choose New from the popup
menu, finally
Double-click the desired object type in the Form Sets pane, then
To display a cross-section:
Choose the View Type and enter the Section number, then
From a Plan view, use the Section tool to drag an interactive section,
then
If required, open the Display Limits dialog and set the clipping values.
To display in 3D:
Right-click the Text or Hatch set response to open the editor, then
Help Topics
For information on: See:
Notes:
Lesson 4 – The Graphic Editor
Duration: 90 minutes
After this lesson you‟ll be able to:
Introduction
The Graphic Editor provides you with a rich suite of tools for editing string and
outline files. Using these tools, you can smooth and weed strings, define
gradients and curves, drape a string onto a wireframe, and snap to any other
object in the display. You can also easily insert, move, and delete points, as
well as move, copy and delete entire strings.
When you click the Graphic Editor button, the String Editor Toolbar appears
below the main toolbar. It‟s a dockable bar, so you can position against any
edge of your screen, or have it floating over the Graphic Display. This toolbar
can also be turned off by right clicking anywhere in the toolbar region and
unselecting the Edit Strings toolbar.
To turn off the Graphic Editor, simply click the Graphic Editor button a second
time. If you‟ve left any unsaved edits, Vizex will prompt you to save them
before shutting down the editor.
In this exercise, you‟ll load several objects that you‟d use for a sectional
drillhole interpretation and turn on the graphic editor.
1. Open the Saved Views node in the Form Sets pane by clicking the small
plus [+] icon next to it.
2. Double-click the Lesson Four object to load it. Vizex will load four display
objects, but only one, an outline file containing a series of rock unit
interpretations, will be turned on.
3. Click on the Sectional geology interp object in the Display pane to select
it. Vizex will do two things: It will place a selection rectangle around the
outlines in the graphic display and it will enable the Graphic Editor
toolbar button.
4. Click the Graphic Editor button to activate the Graphic Editor. A new
toolbar will appear.
Using this toolbar, you can access these main editing functions, which are listed
in the order that they appear in the toolbar:
Snap: Toggle snapping on and off or select snap to point, snap to line, or
snap to grid.
Follow tool: Allows you to create new strings following an existing string,
or to create copies of a string, or section of a string.
Close String: To close the selected string – the start and end point of the
string will be connected by a new segment.
Smooth: Insert a regular spread of points and remove any unnecessary Notes:
sharp corners in a string.
Curve: Extend the selected string by appending a curve to the end point.
Editing Features
This lesson will explore the various basic editing modes and context menu
options that you might use when editing features in the Graphic Display.
During the editing process, Vizex will alter the editing function according to
whether your mouse cursor is above a point or a string. You can also alter the
editing function by pressing either the Shift or Ctrl keys. Vizex gives you visual
feedback on the selected editing mode by varying the shape of the mouse
cursor.
Some editing modes, for example extending, closing, or reversing a string, are
accessible from the right-click context menu. Again, the available functionality
will vary according to what you‟re doing at the time.
Before you can use any of these editing modes, you must activate
the Select cursor by clicking its toolbar button. If any other button is
selected, the graphic editor toolbar will be disabled.
Editing Modes
Vizex will alter the exact editing function depending on the context of the
mouse (is it over a point or a string segment; is the string already selected?)
and whether you‟re pressing the Shift or Ctrl keys when you click or drag. To
guide you, Vizex also changes the shape of the mouse cursor to indicate the
active editing mode. Table 1 summarises the context editing modes.
Vizex also provides you with three toolbar buttons that allow you to control the
editing process:
New string: Begin digitising a new string. To end a new string, either press
Esc or close the string.
Toggle snapping: Toggle snapping mode on and off. Alternatively, you can
use the S key as a permanent toggle or Shift as a temporary toggle. The
snapping button will appear different according to the snapping mode you Notes:
have activated. Snapping mode can be selected from the drop down menu
next to the Snapping Button
Toggle insert: Toggle Insert Point mode on and off. Alternatively, you can
use the Shift key as a temporary toggle.
1. If you haven‟t already done so, activate the Select cursor by clicking the
Select toolbar button.
2. Click any outline in the display to select it. Vizex will highlight the points
that define the feature and you are now ready to edit, it as shown on the
following diagram.
3. Position the mouse cursor over a point and drag to move it.
4. Position the mouse cursor over a string segment and drag to move the
entire string.
5. Ensure that the snapping mode is set to „ snap to point‟ using the drop
down menu next to the snapping button. Hold the Shift key and drag a
point to move it. Note how Vizex snaps the point to existing points in the
object as you drag. Be sure to hold the Shift key until after you release
the mouse button.
6. Hold the Shift key and click on a string segment to insert a point.
8. Hold the Ctrl key, position the mouse cursor over a string segment and
drag to create a copy of the string.
Notes:
Table 1: Context editing modes
Italicised editing functions apply when string is not yet selected; the remaining
(1)
9. Click the Snap toolbar button, or alternatively press the S key, to activate
Snapping mode, and ensure that snapping mode is set to snap to point.
10. Click on a point and drag to move it. Note how Vizex snaps without you
having to hold the Shift key.
11. Change snapping mode to „Snap to Line‟ using the dropdown menu next to
the snapping button.
12. Click on a point and drag to move it. Note how Vizex snaps to lines in the
display.
13. Now click the Insert toolbar button to activate Insert mode.
14. Click on a string segment to insert a point. Again, note how you can
achieve this without holding the Shift key.
The Shift key toggles the Snap and Insert modes irrespective of how
they were set beforehand, so you can use it to temporarily reverse
either setting whenever required. The exact effect of the Shift key
depends on the object (point or string) located under the mouse
cursor at the time.
15. Click the Graphic Editor button to turn off the Graphic Editor. Answer NO Notes:
when prompted to save your edits.
You can finish a new string in two different ways, depending on whether you
want to close it or leave it open. To leave it open, just double-click as you add
the last point. Alternatively, you can press the Esc key after adding the last
point. Vizex will change the cursor back to the selection pointer to indicate the
new string is finished.
The easiest way to close a new string is to digitise the last point over the first.
Provided you‟re reasonably accurate, Vizex will recognise what you‟re
attempting to do and automatically snap the last point to the first. Closing a
string automatically finishes it.
You can also right-click and choose Close String from the pop-up
menu instead. If you use this method, you should make no attempt
to close the last string segment yourself.
To set the properties of a new string, just double-click it after it‟s been created.
Alternatively, you can select the string, then right-click and choose
Properties… from the pop-up menu. Finally, you can also use the Properties
toolbar button or choose Edit | Properties from the menu.
You can also configure Vizex to prompt you for the properties every time you
create a new string. To do this, select Options | Vizex from the menu and
activate the String Editor tab on the Vizex Options dialog. Simply check the
Prompt to edit properties on adding a new string? prompt to enable this option.
Once you‟ve started editing an object, simply selecting another object in the Notes:
Display pane makes it „snappable‟. So, whilst digitising, say, a rock unit
outline, you can snap to a fault surface (represented by a wireframe) to
correctly terminate or displace that unit. You could then snap to the drillhole
hatch display and continue editing that rock unit outline by making use of the
drillhole data.
Snap mode works in two ways: You can either click the mouse to snap single
points, or you can drag the mouse to follow an entire string. In either case,
Vizex will display a snapping cursor showing you the currently selected point.
3. Click the Graphic Editor toolbar button to turn on the Graphic Editor.
4. Click the New String toolbar button to create a new feature in the outline
file. Vizex will change the cursor from the selection cursor to the filled
crosshair, indicating that you‟re now ready to digitise points.
5. Click the Snap button to activate snapping mode, ensuring snap to point is
selected, and move the cursor around inside the Graphic Display. You‟ll see
the snapping cursor follow points in the current outline file.
6. Now select the Simple lithology trace display and Base of oxide display
objects in turn and observe the behaviour of the snapping cursor.
A dark green rock unit has been logged at the western side of the drilling, so
let‟s produce a simple interpretation of this unit.
2. Move the mouse until the snapping cursor is at one of the dark green
contacts and click. Vizex will add a point.
3. Repeat for the remaining five points that define the green unit – but don‟t
try extending the interpretation beyond the drillholes at this stage.
4. Once you‟ve digitised the sixth point (without closing the shape), right-click
and choose Close String from the pop-up menu. Alternately you can
select the Close String button from the string editor toolbar.
5. Double click on a string segment in your newly created outline to set the
Name (call it ANDS) and set the Colour/Hatch as you see fit. Your
display should resemble this diagram:
Notes:
Now you‟ll practice using follow mode by creating a hangingwall unit west of
the HW1 outline.
3. Position the mouse so that the upper, westernmost point in the MV1 unit is
highlighted.
4. Drag the mouse down that western contact. As you proceed, you‟ll see a
faint dashed line appear along the line. When you‟ve reached the bottom
of HW1, release the mouse. Vizex will immediately draw the shared
contact.
5. Now click and drag along the lowest portion of the MW1 unit, so that your
new hangingwall contact extends right to the bottom of the existing units.
At this point your new feature should resemble the diagram on the
following page.
6. Click the Snap button to turn off snapping mode and complete the
remainder of the unit with an arbitrary shape.
7. Once you‟re satisfied with your edits, click the sectional geology interp in
the display window, and click the Graphic Editor button to turn off the
Graphic Editor. You can save the edits if desired.
8. Select Edit | Remove All from the menu to clean up the display.
Notes:
Follow mode
Creating new outline and string files is straightforward. First, double-click the
desired Form Set Type (either Outline or String) in the Form Sets pane to
open the appropriate dialog. Then, when either the Outlines or Strings dialog
appears, right-click the file name and choose New from the pop-up menu to
create the new file.
When you create a new outline file this way, Vizex simply creates the file and
places the new filename into the Outlines dialog, ready for you to digitise.
However, because a string file can have any structure you‟ll have to define
the structure before you can use the file. You might find it useful to keep a
string file template handy to speed this step.
We‟ll create a new file when we do the Sectional Interpretation exercise a little
later in the course.
A basic MICROMINE string file should consist of five fields, as listed here: Notes:
EASTING, NORTHING, and RL fields, which should be given widths and
precisions appropriate for your project.
Although Micromine recommends naming the fields as shown, you can use
fields with any name as long as they suit the purpose. For example, it‟s
common to use a LABEL field as a string field. Your file can also contain as
many additional fields as required.
To use this option, simply start the Graphic Editor, select the desired string file
and then click the Create DTM button. You‟ll be asked for a wireframe type
and name, and then Vizex will produce the new wireframe. This function
automatically uses the input strings as breaklines (great for contours, pit crests
and toes) and if desired will automatically use a selected string as a constraint.
1. Open the Saved Views node in the Form Sets pane and select the
Lesson Four (b) form set. Contour lines will appear in the graphic display.
2. Click the Topographic contours object in the Display pane to select it.
6. On the Build DTM dialog, double-click the Type response and choose
DTM from the list.
7. Set the Name to TOPO and click OK. Vizex will build the wireframe.
Notes:
6. Double-click the Colour set response and choose NVG topo DTM colours
from the list. Close the Colour Coding dialog.
7. On the Wireframes dialog, click Forms followed by Save As; name the
new form set Topographic DTM – 3D shaded. Click OK to load the
wireframe.
9. Select Edit | Remove All from the menu to clean up the display once
you‟re done.
Notes:
Lesson Four Summary
In this lesson you learned how to work with the Graphic Editor, including using
the various editing modes, the editing tools, and context menus.
To follow an object:
With snap mode enabled, click and drag the mouse.
Help Topics
For information on: See:
Notes:
Lesson 5 –
Sectional Interpretation
Duration: 30 minutes
One of the primary reasons for displaying drillhole data is for interpretation.
Normally, you‟d display your drillholes, along with any ancillary data such as
faults and oxidation surface boundaries, in a cross section or long section view,
and do your interpretation right on the screen.
Prerequisites
Before we start an interpretation exercise, let‟s quickly summarise the
prerequisites and conventions that you should use.
The prerequisites involve simply validating and loading your data into the view.
More formally, the prerequisites are:
You can set the display to any orientation, including 3D, for
interpretation. Additionally, you can simultaneously edit in multiple
windows, say in plan and cross section.
Naming Conventions
MICROMINE has established a long-standing convention for naming outline files
and the outlines within them. Although you‟re not forced to use this convention
in Vizex, your workflow will proceed more smoothly if you do.
As you interpret each new cross section, you should do so in a new outline file,
and you should name each new outline file using the prefix-number system:
Within an outline file, you should name each outline according to the feature
you‟re digitising. If you‟re digitising Number Four Lode, then give it a name like
NO4. As you progress from one section (and therefore outline file) to the next,
if it‟s the same feature, keep giving it the same name.
Where there‟s more than one outline in an outline file, each outline must be
uniquely named. So, if a particular feature bifurcates or splays, use a suffix
(e.g. _H for hangingwall) to keep the names unique.
ORE16000.OUT
ORE15880.OUT
ORE15760.OUT
1. Open the Saved Views node in the Form Sets pane by clicking the small
plus [+] icon next to it.
3. Open the Drillhole Trace node in the Form Sets pane and double click
your Simple assay display form set to load it.
4. Open the Drillhole Value node and load your Statistical assay labels form Notes:
set.
Now we can create the new outline file and begin our interpretation:
2. When the Outlines dialog appears, right-click the Outline file response
and select New from the pop-up menu.
3. In the New Outline File dialog, type in the name ORE15900 and click
OK.
4. Back on the Outlines dialog, set the Orientation field to Looking North,
turn on the Name and Fill display options and click OK. Vizex will create
the new file and place a new object into the Display pane.
You‟re now ready to start editing the new file and produce an interpretation.
Interpretation Steps
At this point it‟s tempting to just launch in and start interpreting the ore grade
envelopes, but as with most tasks a systematic approach will produce a better
result. Generally, you should use a two-stage approach for your interpretation:
Then, digitise the Interpretation by using the Insert Points tool, which
you‟ll most probably use with Snap turned off.
Notes:
Why should you use this approach? Initially concentrating on the facts by
snapping to existing points will provide Vizex with a full 3D coordinate
framework for your new feature. By inserting the interpreted points into this
framework, you allow Vizex to perform a true 3D coordinate interpolation,
which produces the most accurate possible result. If instead you started
freehand digitising, Vizex would be forced to put the new points exactly into
the plane of the section, which might not correspond to the plane of the
drillholes.
2. Click the Graphic Editor toolbar button to activate the Graphic Editor.
3. Click the Select toolbar button to activate the Graphic Editor Toolbar.
4. Click the New String toolbar button to start digitising a new outline.
First, let‟s digitise the Facts:
5. Click the Snap toolbar button to enable snapping, and then click the
Simple assay display object in the Display tab to make it the current
„snappable‟ object.
7. When you‟re ready to close the outline, right-click and choose Close
String from the pop-up menu.
10. Insert points wherever you‟d like by clicking on a string segment, then
dragging the newly created point to its final location.
At this point, you‟ll note that this exercise feels very much like Exercise 2.3.
We won‟t repeat the same steps, so feel free to experiment with snapping
to other objects in the display to build an interpretation to your own
satisfaction.
11. Once you‟ve finished your interpretation, click the Graphic Editor toolbar
button to close the graphic editor. Answer Yes to save changes.
12. Select Edit | Remove All from the menu to clean up the display.
Notes:
Lesson Five Summary
In this lesson you learned about the sectional interpretation process.
If it‟s the same feature from section to section, give it the same name.
Good Practice
You can break the entire sectional interpretation process down to a four-line
summary; by remembering these four lines you‟ll guarantee your sectional
interpretation success!
Facts by snapping
Interpretation by inserting
Close Graphic Editor and Re-Open from one section to the next.
Help Topics
For information on: See:
MODULE 3
THE 3D VIEWER
MICROMINE Training v9.2 Module 03 – The 3D Viewer (Rev 03)
Notes:
Lesson 1 – The 3D Viewer
Duration: 20 minutes
Using the 3D Viewer you can load data sets and view them in 3D. In this lesson
you‟ll learn how to display drillholes and DTM‟s in 3D.
Create a fly-through.
You can use any field to represent the Z-axis (usually height), and thus display
2D data in a 3D environment. For example, use assay values from sample data
to represent as Z values, which can then be colour coded.
Open any form, or create a new form under the 3D section in the Form
Sets Display; or
1. Open up the Form Sets panel by moving the mouse over the tab.
2. Under 3D viewer, double click on the Points icon. If there is nothing Notes:
listed under 3D viewer in the Form Sets tab, click on the [+] sign next to
the 3D Viewer Folder to expand the options.
3. On the Load Points dialog, double-click the File response and choose
NVG_GCM from the file list. Leave the remaining responses set to their
default values.
4. Click on the Forms button and save the form as Geochem Points.
Note that opening an object in 3D Viewer does not close the Vizex
window. If at any time you wish to return to your Vizex display, you
can select the Vizex Window from the Window menu, or click on
the Vizex display on the Display Pane
Decoration
The controls that appear around the lower edge and sides of the 3D Viewer are
known as decoration. These controls provide a means of manipulating the
contents of the view. Decoration is turned on by default when you enter 3D
Viewer. The Default can be switched off by unticking Show Decoration on
the 3D Environment Setup found under Options | 3D Environment. The
decoration can also be turned off and on using View | 3D | Decoration.
The two thumbwheels at the bottom left corner of the window rotate the
data about the X- and Y-axes of the screen. They work as if they were
connected to an axle running through the centre of your screen.
The thumbwheel at the bottom right corner of the window moves your
viewpoint in and out of the data. It‟s called the Dolly wheel, which is a
name inherited from the motion picture industry. Using this control is
equivalent to walking toward or away from a scene whilst looking through
your camera‟s viewfinder.
The slider to the left of the Dolly wheel is the zoom control. This control is
only enabled if the view is in perspective mode, and is equivalent to
changing the zoom on your camera while looking through the viewfinder.
The cluster of buttons at the right of the display contains the basic tools that
you‟ll use to manipulate the view and select data. The buttons are reproduced
and explained below:
Notes:
Toolbar
The MICROMINE View toolbar is also used within 3D Viewer. The functions
remain the same or very similar to the functions used in Vizex. The use of
these buttons in 3D Viewer are described below;
Pan Tool: Activate View Mode and move the camera around your data;
Seek: Move towards a point and set it as the new rotation axis;
Next Section: When clipping is active, allows you to browse to the next
section;
Notes:
Menu
Extra features become available on the MICROMINE Main Menu when 3D
Viewer is opened. These menu options are summarised below;
The File menu contains options to manage your 3D files, print scenes and
access file utilities.
The options on the Edit menu allow you to select loaded objects and
display, remove them, or change their properties. You can also change the
direction of the illumination and the background colour of the scene.
Use the View menu to select, save or restore a viewpoint. You can
position the camera in plan view or according to a cardinal point, and then
save this setting in a Form. You can also select (or clear) default viewing
features, rotation axes, decoration, drawing style and mode. Options for
changing the direction of the illumination, adding extra light sources and
changing the background colour of the scene are also available under the
View menu.
Use the Wireframe menu to view and select from the wireframe types in
the current project, load wireframe sets and enter edit mode after loading
a wireframe object.
Use the Plot menu to create a plot of your 3D data by selecting the 3D
Plot function.
Use the Flight Path menu to generate, edit and save 3D fly-throughs of
your data.
To create a Form Set Object in 3D Viewer, select an option from the Display |
3D Menu, or alternatively, double-click an object type under the 3D Folder to
create a new Form Set Object.
If there are no objects displayed under the Vizex Folder in the Form Sets pane,
simply click on the plus [+] icon to it‟s left to expand the options.
The Object Manager / Display pane provides your main means of manipulating Notes:
objects in the 3D view.
The Display pane allows you to select objects loaded in your 3D window, and
modify the properties of any existing display object, hide objects within the
display and delete objects.
You must specify a fixed trace interval in the traditional method, instead of
allowing MICROMINE to calculate it the way the Drillhole Database does;
1. Double click on the Drillholes icon under the 3D Folder on the Form Sets
pane.
3. Select Colour code traces? and then click the Colour Coding… button.
Make the following entries in the Colour Coding dialog box.
Notes:
Prompt Setting
Interval file: NVG_ASSY
Colour field: AU1
Colour set: Drillhole Au1 (statistical)
5. Click on the Forms button, and save this form as Simple Assay Drillholes.
6. Click Close to return to the Load Drillholes dialog and then click OK to
complete the process. The drillholes will be loaded into the display. Your
display should look like this:
1. With the View/pan tool selected, drag the mouse within the view and
observe how the view rotates in response to your mouse movements.
2. Now use the Rot X and Rot Y thumbwheels and observe how the view
rotates around the screen X- and Y-Axes. These wheels are useful if you
require more precise movement.
4. Click the View All button and observe how the 3D Viewer dollys backward
so that all of the data are visible.
There are two very useful keyboard and mouse combinations that allow you to
manipulate the view with greater freedom:
5. Hold the Ctrl key and drag the mouse. Doing this allows you to “pan”
around the view.
6. Simultaneously hold the Ctrl+Shift keys and drag the mouse up and
down the screen. This keyboard combination activates a dynamic zoom
mode.
DTM‟s are most commonly associated with topographic data, with the Z-
coordinate representing elevation.
In this task you‟ll load a DTM of the topography around the area where the
drillholes are located.
1. Double click on the Wireframe icon under the 3D Folder in the Form Sets
pane.
2. Double-click the Type response and select DTM from the list.
3. Double-click the Name response and select NVG_TOPO from the list.
5. Select colour set 3 (titled NVG_TOPO DTM Colours) and click Close.
You can also “drape” an image over the DTM in the 3D Viewer. Typically you‟d
use this to display an aerial photo of the area.
To drape an image:
1. Open the Display pane by clicking on the display pane icon if it is switched
off, or moving your mouse over the display pane if it is minimised, or
selecting the display tab.
2. Click on the DTM NVG_TOPO object to highlight it, right click, and select
Properties.
4. Click the browse […] button next to the Image file response and double-
click the Import folder. Select the MMI_IMAGE.ECW file.
You can control the transparency and degree of smoothing of the DTM by
choosing the Change appearance option in the Load Wireframe dialog.
Notes:
Creating a Fly‐through of the 3D
Viewer Display
A useful feature of the 3D Viewer is the ability to create, store and replay a fly-
through of your data. The process involves repeatedly setting the view using
the standard 3D Viewer controls and saving each view as a viewpoint in a flight
path file. Alternatively, you can create a flythrough from an existing string file.
Once the flight path file has been created, it can be re-loaded and replayed
using any data that exist within the same coordinate space as the original
image.
When you‟re editing or displaying a fly through, the 3D Viewer will display the
flight path control panel underneath the existing toolbar. This control panel
contains all of the tools that you need to record, modify, and play back a fly
through. You use the control buttons at the left of the panel, shown below, to
manipulate your fly through.
Play
Stop
First
Back
Forward
Last
Insert
Add
Delete
Modify
2. Rotate and dolly or zoom the view to give a general overview of the data.
4. Rotate the view about 45° and click Add a second time.
5. Tilt the view back so that you can see the drillholes underneath the surface
and click Add.
7. Repeat various combinations of these steps until you have displayed the
data to your satisfaction.
9. Notice that the number of markers on the slider bar (to the right of the
control buttons) corresponds to the number of viewpoints that you added.
If necessary, you can use this to advance to a particular viewpoint in the
fly through.
10. Select Flight Path | Close from the menu and answer No when Notes:
prompted to save the file.
In the next exercise you‟ll load a previously created string and initially watch
how the camera follows the string. Later you‟ll learn to control where the
camera is looking.
1. Select Flight Path | Create from string from the 3D Viewer Menu.
2. Double Click the File response and open the NVG_Flythrough string file.
3. Right Click the File response and select the View menu item. Notice how
the file contains a number of fields. Each point along the string represents
a viewpoint. An RL must be specified at each point, and the Horizontal and
Vertical angle of the camera can be set. Close the file editor.
Prompt Setting
X field: EAST
Y field: NORTH
Z field: NEWRL
String field: STRING
Join field: JOIN
Horizontal angle field: HORZ_ANGLE
Default horizontal angle: 0
Vertical angle field: VERT_ANGLE
Default vertical angle: 0
Flight Path File: NVG_Flight
5. When the flight path loads it will go to the first viewpoint. Make sure the
Time response is set to at least 100 secs, then click the Play button. This
tour will start with the camera following the string and then it will
demonstrate different view angles.
This lesson has covered the fundamentals of the 3D Viewer and has shown you
how to work within the environment. Here‟s what we‟ve learnt so far:
To manipulate a 3D View:
Use the View tool and drag the mouse in the screen, or
Hold the Ctrl+Shift keys and drag the mouse up or down the screen.
To load an object:
Click Properties.
To create a fly-through:
Select Flight Path | Create from string from the menu, then
Good Practice
Use the 3D Viewer to confirm the spatial relationship between your 3D data
sets. This is especially useful if you‟ve completed a sectional interpretation and
want to ensure that the interpretation matches the drilling.
Help Topics
For information on: See:
Notes:
Lesson 2 – Creating Output
Duration: 15 minutes
In this lesson, you‟ll learn to generate plot file, VRML, and JPEG output from
the 3D Viewer for use in other applications.
1. Select File | Save from the menu. Alternatively, click the Save toolbar
button.
2. Type in a File name, and ensure that Save as type is set to Inventor
Files. Click Save to save the file.
Create a plot file that can be plotted using the Plot Editor. However, this
method doesn‟t support advanced 3D view properties such as transparency
and image draping, so the second method is usually preferred.
Create a JPEG of the display, which can be used in the Plot Editor in a
picture frame or in any other application that can display JPEGS. Normally
you‟d save them as 150 DPI JPEGS for plotting. Higher resolutions are
possible but may create very large files.
In this exercise you‟ll use the second alternative and create a JPEG file that can Notes:
be included in a report.
1. Select Plot | Generate from the 3D Viewer menu. Alternatively, you can
click the Plot toolbar button.
5. Because we only require a low-resolution image for this lesson, set the
resolution to 72 DPI.
7. Double-click the Layout response and choose No Title. Your dialog should
look like this:
9. The function will create two files, a PEL file and a JPG file. The PEL file is a
standard MICROMINE plot file. It contains a link to the JPG file that
contains the actual image created from the display.
You can create a normal plot in the Plot Editor using the
combination of the PEL and JPG file.
Notes:
Saving a 3D View as a VRML File
You can create VRML (Virtual Reality Markup Language) files in the 3D Viewer
and send them to colleagues that have an Internet browser (such as Internet
Explorer™ or Netscape™) equipped with a VRML plug-in. Your colleagues can
then display the 3D image in their browser in much the same way as you
displayed it in the 3D Viewer.
This technique is excellent for sharing 3D models with remote site offices or
head offices where those people may not have access to a MICROMINE licence.
1. With the same 3D View displayed, select File | Save As… from the menu
in the 3D Viewer.
2. Choose VRML Files from Save as type and enter NVG_VRML as the file
name. Click Save to create the file, which will be given a WRL extension.
http://www.parallelgraphics.com/products/cortona/
4. The special VRML toolbars will load when the browser recognises the file
type.
Notes:
Lesson Two Summary
This lesson has covered the ways in which you can save or otherwise output a
3D View. These are the topics that we‟ve covered so far:
To Save a 3D View:
Select File | Save (or Save As) from the menu, then
To create a 3D Plot:
Help Topics
For information on: See:
Notes:
Lesson 3 – An Introduction to
3D Modelling
Duration: 15 minutes
Three-dimensional modelling is beyond the scope of this introductory training
course. However, this lesson will provide a brief overview of some of the
techniques that can be used when modelling solid polygonal features.
3D Modelling
You create 3D wireframes of solid polygonal features such as rock units, ore
zones, and grade envelopes. It‟s essentially a two-stage process. Firstly, you
create a series of sectional interpretations through the desired object, and then
secondly, you join those sectional interpretations to form a 3D wireframe.
The following exercises will show you how to load outlines, which were created
from a sectional interpretation, and begin constructing a wireframe from them.
1. From the menu select Edit | Remove All to clean up the 3D view.
2. From the Form Sets pane, double click on the Outlines icon.
4. Double-click the Prefix response and select NV1N1 from the list. In this
example, the prefix is NV1N and the first number is 1.
5. Delete the 1 off the end of the file name so that the prefix response reads
NV1N.
6. Set the Start number to 3 and the End number to 7.
7. Set (check) Use outline Z values? The dialog should now look like this: Notes:
These outlines represent an interpreted ore grade envelope from the NVG
deposit. Each outline represents the interpretation of a single plan flitch;
together they define the entire envelope at 5m intervals.
1. Select Wireframe | New from the menu. This will put the 3D Viewer into
wireframe editing mode and activate a series of new buttons on the
toolbar.
3. Use the thumbwheels at the bottom left of the screen to rotate the view so
that you can see each outline as a separate object, with no overlap
between them.
4. Click the Select Tool at the right of the screen or from the View
Toolbar. You won‟t be able to build the wireframe unless this tool is
active.
5. Click on a line segment from the first outline at the single (i.e. non-
bifurcated) end of the model. MICROMINE will highlight it in red.
6. Click a line segment from the adjacent outline. MICROMINE will move the
highlight to this outline and construct a wireframe between them. The
following diagram illustrates these two steps.
7. Repeat this process for the next few outlines. MICROMINE will
progressively build the wireframe as you proceed.
You‟ll probably notice that some of the wireframe segments have not been Notes:
constructed correctly, and instead appear to be folded into themselves. You‟ll
learn how to correct or prevent this situation during the Advanced MICROMINE
training course. The advanced training will also teach you how to validate
wireframes, edit strings, create bifurcations, and more.
1. To save the wireframe object, select Wireframe | Save from the menu.
3. On the Wireframe Properties dialog, set the Name to INTRO and set
the colour to light red.
If you don‟t have the wireframing module, you can still display
representative solids of your outlines by selecting the Create solids?
option in the Load Outlines dialog.
Notes:
Lesson Three Summary
In this lesson we‟ve briefly looked at the 3D modelling (wireframing) process.
To load outlines:
Select the Build Wireframe button and Select Tool button, then
To save a wireframe:
Good Practice
Before you start building your wireframe, load the drillhole data along with the
outlines to ensure they fall within the same coordinate space. By doing this
you‟ll immediately reveal whether you‟ve loaded the outlines in the correct
orientation. It‟s far better to correct the orientation now than after several days
of wireframe construction!
Help Topics
For information on: See:
Notes:
MODULE 4
PLOTTING 1
Lesson 1 – The Plot Editor
Duration: 90 minutes
In this module you‟ll learn to create a hardcopy plot incorporating the plan and cross section plot files you
created earlier.
Introduction
The Plot Editor allows you to create complex plots with multiple frames incorporating other plots, grids,
legends, images and tables. It also gives you the ability to plot a section and plan in the same plot frame.
The Plot Editor provides you with multiple output options. You can send the plot to a connected plotter or
printer, or save it in PGL (HPGL), DXF, EMF or PRN formats. If you select a postscript printer driver and print to
a PRN file, the output file will be in postscript format.
Before sending the plot to an output device, you can create a title, include a legend, select a grid type and
include text or a logo. You can also insert variables to make automatic substitutions with predefined or user-
defined parameters.
You can preview a plot on the screen before producing a hardcopy. Facilities are then available allowing you to
zoom in on any part of the plot area or to apply a scaling factor to the complete plot or to labels and symbols.
While in preview mode you can also dump the display to the Windows clipboard (for use in another application)
or to a bitmap file.
1. Select Plot | Plot Editor from the main menu. Alternatively, you can click the Plotting toolbar button.
2. On the Plot Editor dialog, double-click the Plot file response and select NVGSEC_15760 from the file list.
3. When you select the file, Micromine will display this dialog:
At this point we‟ve already given the Plot Editor enough information to run a preliminary plot, so let‟s have a
look at what we‟ve produced so far.
5. Click OK on the toolbar to run the plot. It should resemble the following diagram. Observe how the plot
appears distorted, and the drillholes are probably off-centre relative to the plot.
6. Once you‟ve finished previewing the plot, close the graphic display window to re-display the Plot Editor
dialog.
Import Parameters
Whenever you load a plot into the Plot Editor, Micromine asks you to Import Parameters. Plot parameters define
the content and appearance of the plot, and include things like:
X- and Y-scales;
Paper size;
Rotation;
When you select Yes, the parameters associated with the plot file are used. If you‟re loading the plot for the
first time, you‟ll get that plot‟s default parameters, but if you‟ve already loaded and configured the plot,
Micromine will use the latest parameters.
When you select No, the parameters currently shown in the Plot Editor are used. This is useful for those times
when you want to make several plots, all having the same appearance – just set up the first plot, and then load
the remaining plots, answering No in each case.
Output
The Plot Editor has numerous Output modes. You‟ll most often use PREVIEW mode, since this mode shows the
page layout as it will appear on the printed page. While you‟re previewing a plot, you can move, add, and
delete labels, as well as add other information (such as other plots, logos, tables, etc.) to the plot.
HARDCOPY mode simply sends the plot to the desired printer or plotter.
Using FILE mode, you can output the plot in a variety of different file formats.
DXF: Use this to share plots with drawing and GIS programs. You can output plots in real-
world coordinates, allowing them to be directly overlain with other GIS data;
EMF: Use this to share plots with other Windows™ programs such as PowerPoint™;
PRN: Produces a binary file in the chosen plotter‟s native language. If you choose a PostScript
plotter driver, the output file will be a PostScript file.
Style
The Plot Editor supports three different plot Styles. You‟ll make most of your plots using the SCALED style,
which literally allows you to plot to scale.
The STATISTICAL style is useful for plotting graphs or histograms, where the actual scale of the plot is
irrelevant.
SECTION+PLAN allows you to plot cross-sections with a plan window. The plan window is smart and
automatically tracks the section settings. To make use of this option, create a plan plot that encompasses the
entire project, and allow Micromine to vary the plan plot‟s parameters to suit the currently chosen section.
Configuring a Plot
The Plot Editor dialog, below, allows you to configure a plot to your satisfaction. Settings can be as simple as
choosing a paper size, or as complex as creating a plot from multiple plot frames.
Paper Size
The Plot Editor supports numerous paper sizes. However, because paper sizes are stored as form sets, you can
easily define your own custom sizes in addition to the standard ones provided. To choose a paper size, simply
double-click the Paper size response (even though it‟s greyed out – this only means you can‟t directly type into
it) and choose from the list.
Plot Layout
Layouts are templates that define which frames will appear on a plot, their positions and their characteristics.
The Plot Editor provides numerous predefined layouts, but as with paper sizes it‟s also easy to create your own
and save them as form sets.
The predefined layouts define where the title frame will be positioned on the sheet of paper. To select a layout,
double click the Layout response on the main Plot Editor dialog.
We‟ll be using the BOTTOM Plot Layout for this lesson, which appears as shown here:
You can see that the Master Plot Frame, which contains the actual plot data, occupies the bulk of the plot area.
Beneath that is a title area consisting of six small frames. We‟ll look at placing data into some of these frames
(specifically NOTES, TITLE, and CLIENT) in later exercises.
Plot Definition
You use the Plot Definition group to finely control parameters such as the Plot Area, X- and Y-Scale, and
the real-world plot extents.
These parameters all work together, and it‟s important to realise that whenever you change one, the others will
automatically update in response.
The parameters that you‟ll change most often here are the two Scales, and the Centre coordinates. By
modifying these (and the Paper size), you can re-size and re-centre the plot data on the plot area. All of the
remaining parameters are dependent on these settings.
Until you are experienced with using the Plot Editor, there are some parameters that you should
try to avoid changing, because you might produce a situation where Micromine expects an
impossible paper size. They are Changed by scale, which should remain set to MIN/MAX, the
Plot Area, which is dependent on (and set by) the Paper size, and the Minimum/Maximum
values, which are affected by nearly every other parameter.
Exercise 1.2: Set the plot definition parameters
As you can see in the Plot Definition group, the X- and Y-scales of our plot are different (and arbitrary), plus
the preview revealed that the plot contents are off-centre.
2. To accommodate this new paper size you‟ll now have to adjust the plot scale in the Plot Definition group.
3. Click the Auto Scale button (the left hand one, as shown below) to have Micromine pick a best-fit scale
for the current plot area and paper size.
4. Click OK to run the plot and check the fit. If the fit is poor, close the graphic display window and enter
different X- and Y-Scales, then click OK to redisplay the plot.
5. Move the mouse cursor around on the graphic display window and observe the coordinate display at the
lower right of the screen. Position the mouse at what you perceive to be the centre of the data (not the
centre of the window!) and note down the coordinates.
6. Close the graphic display window and enter those coordinates into the X- and Y-Centre responses in the
Plot Definition. (The X-Centre should be about 25025, and the Y-Centre about 1510.) As you edit each
value, observe how the Minimum and Maximum values automatically update.
7. Click OK to run the Plot Editor again. The section now appears about right.
8. Close the graphic display and return to the main Plot Editor dialog when you‟re done.
Coordinate Grid
Depending on the parameters you chose when you initially created the cross section, your plot might not have
a coordinate grid displayed. However, it‟s easy to set up a coordinate grid display using the Plot Editor‟s Grid
option.
1. On the Plot Editor dialog, set the Grid? option and click More…
2. Fill out the lower part of the Grid dialog as shown here:
3. Click the More… button at the top centre of the Grid dialog, and when the Grid Parameters dialog
appears, set the Font to Tahoma.
4. Close the dialogs and click OK on the Plot Editor toolbar to re-run the plot. A 100m coordinate grid now
appears on the plot.
5. Close the graphic display window once you‟re done viewing the plot.
Title Frames
The Plot Editor uses a powerful method of managing plot titles: Each title is saved as an entry into a text file.
When a particular title is required for a plot, it‟s simply chosen from a list. This technique offers significant
advantages over typing the title text directly onto the plot or into a dialog, because it allows you to create a
library of titles.
To access a title, you need to specify the name of the text file containing that title, and the Data Set that
defines the title itself. The following exercise explains how to use this technique.
2. If you inspect the Text Edit (Title Frames) dialog, you‟ll notice that it contains form sets called NOTES A,
NOTES B, TITLE, and CLIENT. Because the Layout is set to BOTTOM, these are the available frames;
different layouts may contain different frames.
3. Double-click Text File column in the TITLE row and choose TITLE from the file list.
5. Edit the values in the first two rows (TITLE-0). Make the entries Introduction to Micromine, and Training
Plot.
6. Close the File Editor and answer Yes to save the file.
7. Back in the Text Edit dialog, double-click in the Data Set column of the TITLE row and select the data set
you edited - TITLE-0 in this case.
Choosing a Data Set works a bit like a filter, instructing the Plot Editor to “select only those lines
whose DATA_SET column contains the text TITLE-0”.
9. Run the Plot Editor again (click OK) to check the results.
You can create any number of Data Sets in the TITLE.PED file, which can contain different title information
(say, for different projects). Simply select the appropriate Data Set when you‟re setting up your plot.
Advanced Configuration
So far we‟ve set up a basic but functional plot. Now let‟s look at ways to improve the plot‟s functionality.
Plots are generally made up of a series of components such as legends, other plots, tables, images and so on.
Each component of a plot is contained in a separate frame. To add frames to a plot you must define its
characteristics in the Layout Definition.
Layout Definition
The Layout Definition dialog allows you to set advanced plot properties. Perhaps the most common task
you‟ll complete using this dialog is to add more frames to the plot. The lower portion of this dialog is dedicated
to this task, whereas the upper portion describes the main plot area.
Frames are usually positioned in this dialog using the USER Coordinate system. With this system, the lower left
hand corner of the plot area is always (0,0), and the upper right hand corner is always (1000,1000), regardless
of the chosen paper size. Even if you change the paper size while you‟re setting up the plot, the coordinate
system remains the same.
The following diagram shows how the USER coordinate system applies to the BOTTOM layout.
New frames are always positioned with a top right coordinate of 1000, 1000. You should resize
your new frames before moving them to their new location, since this makes the coordinates
easier to work with.
Adding a Legend
Most geological plots contain a legend, which summarises the various patterns and colours for assay grades,
rock units, and so on. The next exercise will show you how to set up a legend as a frame on a plot.
Exercise 1.5: Add a legend
To add a legend frame:
1. Click the Layout Definition… button on the Plot Editor dialog. The dialog shown previously will appear.
2. The information in the upper portion of this dialog describes the main area of the plot. You define
additional frames in the lower portion of the dialog.
3. To add the legend, pull down the first Frame Type list in the lower part of the dialog and choose LEGEND
from the list.
4. Position the cursor in the Form Set column and enter MMI_Lithology as the name of the legend form set.
5. Right-click the Form Set. You‟ll be told that the Set does not exist, and will be prompted to create it.
Click Yes. The Legend Frame Layout dialog will appear.
7. Choose TEXT COLOUR SET from the Type list and then double-click in the Set number response. A list of
all the text colour sets in the project will be displayed.
9. Click Load on the Legend Load dialog. The colour set will be loaded into the Legend Frame Layout
dialog.
10. Close the Legend Load dialog. Your Legend Frame Layout dialog should now look like this:
12. Enter the following to define the size of the legend frame.
Prompt Setting
Bly: 771
TRy: 1000
Coords: USER
These entries will position the legend in the top-right hand corner of the main plot frame.
13. Leave the other prompts in their default state and click Close to return the Plot Editor dialog.
14. Run the Plot Editor again to observe the changes you have made. It should look something like the
following diagram.
15. Close the graphic display to return to the main Plot Editor dialog once you‟re done.
1. Click the Layout Definition button to display the Layout Definition dialog.
2. The SCALE frame is part of the MM BOTTOM title area, so we need to edit this form set.
3. Right-click the MM BOTTOM form set, situated near the top of the dialog.
4. The Title Frame Layout dialog lists all of the frames that make up the MM BOTTOM form set. You can
see that the COMPLEX frame contains a Form Set called SCALE, so right click that form set to edit it.
The Complex Frame Layout dialog contains many settings, but we need only use this dialog as a means of
accessing the underlying Data Set, which is also called SCALE.
5. The SCALE data set should be highlighted by default, so just right-click to edit it.
6. The file COMPLEX.PED will open into the File Editor. Scan through the SCALE Data Set entries until you
find a line containing the text @plotdate. (This text appears on lines 54 and 90; you must perform the
following steps in both places.)
7. If you‟d like to automatically print the creation date of the plot, substitute @plotdate with @cddmmyy.
8. If, on the other hand, you‟d like to print the plot date of the plot, substitute @plotdate with @ddmmyy.
10. Click OK or Close on all of the dialogs to return to the Plot Editor.
11. Click OK to run the Plot Editor, and zoom in on the SCALE frame. Whereas the date was previously set to
an arbitrary date, you‟ll see that it now displays today‟s date.
@plotdate, @cddmmyy, and @ddmmyy are Plot Editor substitutions, which are covered in more
detail in the Advanced Micromine course.
Lesson Summary
This lesson has introduced you to the Plot Editor and the process of creating a plot. Here‟s what we‟ve learnt:
Edit the COMPLEX.PED file and replace @plotdate with the desired substitution.
Help Topics
For information on: See:
The Plot Editor Plot Editor: Quick Plot and the Plot Editor: Overview
(or choose topics)
The Layout Definition Plot Editor: Quick Plot and the Plot Editor:
Creating more complex plots:
Layout definition dialog box
Creating a plot Plot Editor: Quick Plot and the Plot Editor:
Creating a simple plot: Creating a simple plot
Substitutions Plot Editor: Quick Plot and the Plot Editor:
Substitutions: Overview
TABLE OF CONTENTS
MODULE 5
MACROS 1
MICROMINE Training v9.2 Module 05– Macros 1 (Rev 02)
Notes:
Macros
Duration: 45 minutes
This module will teach you how to write, test, and run a macro. You can use
macros to automate a variety of MICROMINE tasks, including the Plot Editor.
Introducing Macros
Macros are an important part of MICROMINE, since they allow you to automate
MICROMINE processes. A macro is simply a file containing a list of instructions
that allow MICROMINE to perform a sequence of commands without further
input. Once a macro is set up, you can run it repeatedly without intervention.
You can include any function that appears on the MICROMINE menu as a
macro instruction.
Repetition. Macros allow you to perform the same operation many times
without having to sit at your computer. A classic geological example
involves plotting many cross sections at the conclusion of a drilling
programme. In this case the macro would repeat the same drillhole
function as many times as there were cross sections.
You can combine both primary tasks using advanced macro writing techniques.
You can also increase the flexibility of your macro by prompting the user for
values during execution. You‟ll learn to write these advanced macros in the
Macros 2 module, which is part of the Advanced MICROMINE course.
Notes:
Creating a Macro
Writing and using macros is a three step process:
1. Create, test, and save all form sets that will be accessed by the macro;
2. Write the macro file, referencing the previously saved form sets;
Once you‟ve prepared the dialog, consider which responses on that dialog will
change each time it‟s run from a macro. For example, if you were plotting cross
sections, the Section number would probably change each time that function
was run.
After you‟ve identified the responses whose values will change, substitute the
trial data values with Replaceable Parameters. These parameters are identified
by a % (percent) symbol followed by a number, for example %3, and will be
replaced with actual values when the dialog is run from the macro. You can
define replaceable parameters %1 through %15.
2. Click on the [+] button next to the Drillhole Trace Object on the Forms Set
Pane to expand the Drillhole trace Forms.
3. Open the your assay display formset you created in Module 2 by double
clicking on it.
4. Click on the [+] button next to the Drillhole Value Object on the Forms Set
Pane to expand the Drillhole Events Value Forms.
5. Open the Assay Labels form set by double clicking on each of these forms.
6. Click on the [+] button next to the Drillhole Hatch Object on the Forms
Set Pane to expand the Drillhole Hatch Forms.
8. Click on the [+] button next to the Wireframes Object on the Forms Set
Pane to expand the Wireframes Forms.
10. Once you have loaded all the objects into the display, open the Display
Limits window by clicking on the Display Limits Button.
11. Set the View to LOOKING NORTH and select an appropriate Section and
select OK.
You‟ve now produced a simple drillhole cross section. We want to save this as
a saved view so it can be re-used in a macro.
12. Select File | Save from the main menu or select the Save Icon from the
main toolbar.
13. Ensure you are not saving over a previously saved view by selecting the
New button if it is highlighted.
14. Set the Title to Simple Cross-Section for Macro. Click OK to save the
Saved View.
northing, is obviously going to change from time to time. Inspection of the data Notes:
reveals that the drillhole line spacing varies somewhat, so the Window towards
and Window away responses must also change.
1. Open the Display Limits window by clicking on the Display Limits Button.
3. Replace the Window away value with %2, and Window towards with
%3.
These replaceable parameters serve as placeholders for real data. When the
macro is run, MICROMINE will search the macro file for data values matching
the various %-values and place them into the dialog.
2. On the Forms dialog, click Save As and set the Title to Cross section
setup - macro. Click OK to save the form set.
Macro files are ordinary MICROMINE files, so you can use all of the standard
data entry shortcuts like Ctrl+A (add) or Ctrl+R (replicate). Additionally, the
Process and Form fields in the macro file have permanently attached lookup
tables to simplify the macro writing procedure. The Process lookup table simply
reproduces the main MICROMINE menu, and the Form lookup table lists the
saved form sets corresponding to the chosen process.
When you‟re writing a macro, each line represents a single step or “process”,
which usually requires you to specify three pieces of information:
1. The Process, which corresponds to the menu item you‟d have chosen if
you were performing the same task manually;
2. The Form, which allows you to choose the appropriate form set;
Most Process settings correspond to main menu options, but there are a few
special commands that apply only to macros, the most common of which are:
ABORT: Type YES into the Form field to make the macro terminate if an
error occurs;
COMMENT: Forces the macro to ignore all subsequent text on that line.
You can use this to label the fields in your macro file.
Finally, if you‟re writing a macro that involves creating plot files, you must type
the name of the output plot file into the Plot File field.
The Plot File field serves only one purpose: to reproduce the
Generate Plot File dialog that pops up whenever you manually
create a plot file from a graphic display.
Notes:
2. When the New Macro File dialog appears, type in the Name
DH_SECTION and click OK. You‟ll see a blank macro file appear in the File
Editor. Observe how the Process and Form fields have lookup table
buttons.
3. Click the Process lookup table button and note how the popup menu
reproduces the main MICROMINE menu. Select Display | Vizex | Saved
View from this menu.
4. Click the Form lookup table button and select your saved form set from
the list.
Once it‟s chosen, you can edit the form set by right clicking in the
Form field. You can also create form sets for simple dialogs (for
example, File | New) without leaving the File Editor. Simply choose
the required Process and right click the Form field to display the
appropriate dialog.
6. Click the Process lookup table button, and select Display | Vizex |
Display Limits from this menu.
7. Click the Form lookup table button and select your saved display limits
form set from the list.
If you remember the Display Limits dialog from the previous exercise, Section
corresponded to %1, Window towards was %2 and Window away was %3.
Knowing this, we‟re now ready to place actual data values into the matching
fields of the macro.
8. Type the value 6945200 into the %1 field, and 50 into both %2 and %3.
9. Finally, type the name 6945200mN into the Plot File field.
At this point it‟s worth exploring the similarities between this macro and
performing the same task manually.
You select The Saved view from your Form Sets Tab in Vizex to load your Notes:
required data.
You select the Display Limits process from the toolbar This is exactly like
making the same selection from the main menu. In other words, choosing
a process within a macro is the same as making a menu selection during a
manual run.
You chose a saved form set. This is just like choosing Forms and then
clicking Open after you‟ve opened the desired dialog or selecting a from
from the Form Sets Tab.
You typed values into the %-fields. This is equivalent to typing those
values directly into the dialog. In comparison, when you run the macro,
MICROMINE sees the %-values in the dialog and searches the matching
%-fields in the macro for actual data values.
Finally, you typed a Plot File name. This corresponds to the name you‟d
type into the Generate Plot File dialog after clicking the Plot toolbar
button.
1. Select Records | Increment from the File Editor menu and type a value
of 100 into the Increment Value dialog.
2. Highlight the 15760 value in the %1 field and press Ctrl+A five(5) times.
There should now be nine lines in the macro and the last %1 value should
read 16000.
3. Highlight the 6945700mN value in the Plot File field and press
Shift+Ctrl+A. Click OK on the Increment Many dialog to update the
values.
4. For each of the fields Process, Form, %2, and %3, highlight the first
value and press Ctrl+Shift+R. Your macro file should now look like this:
5. Save the macro and close the editor. You‟ve now written a macro that will
automatically make nine plot files.
Running a macro means executing the commands stored in the macro file. You
don‟t run the macro file itself, but call the file from the Run Macro dialog.
You can include up to 42 macro files in the one run. This allows you to create
smaller files, which are easier to test, and then combine them to create
complex operations.
To run a macro, select Tools | Macros | Run from the menu. You can enter
the names of all the macro files you want to execute into the Run Macro
dialog. They‟ll be processed in the order you enter them. If you‟d like to start
with an intermediate macro, simply select the Start At button next to the file
where you‟d like to begin. The files before it will be ignored.
You must also enter a compulsory report file name. It‟s essential that you check
this file after the macro has run, since any popup messages that would have
been displayed during a manual run will be written to this file. At the very least
you should scan the report for errors, which will always be highlighted with
blocks of hash „#‟ symbols, like this:
Time: 08:48:48
#### ERROR IN COPY STRUCTURE ####
----------------------------
2. On the Run Macro dialog, double-click the Macro Name at row number
1 and choose DH_SECTION from the list.
If you give the report file the same name as the macro, you‟ll be
able to track which reports correspond to which macros.
5. If you watch carefully, you‟ll be able to see %1 being replaced with actual
values on the Normal Sections dialog. You‟ll also be able to see the
sections changing in the graphic display.
6. Once the macro is finished, right-click the report file name and view the
contents. Any error messages will be reproduced here. Close the report file
once you‟re satisfied.
Notes:
Toolbox
MICROMINE Toolbox is a project which is attached to MICROMINE
when you run an installation. It is essentially a group of Macros
available to use with your own data.
The MICROMINE Toolbox provides a way to run processes that are not
available as a single function. The Toolbox project contains a set of
macros that can be used to manipulate data in any of your working
projects. You invoke a Toolbox process by opening the Toolbox project
and then running the appropriate macro.
Notes:
Lesson Summary
This lesson has introduced the concepts of macro writing. The topics that we‟ve
covered so far are:
Run it!
The replaceable parameter values (i.e. what you‟d have manually typed
into the dialog).
Good Practice
Keep your macros short and restrict them to achieving a single outcome
whenever possible. Short macros are much easier to maintain. If required, you
can string together simple macros in the Run Macro dialog to perform a more
complex task.
Giving report files the same names as the macros will allow you to track the
relationship between them.
Help Topics
For information on: See:
Notes: