Interactive data links

It is now possible to include interactive data links or hyperlinks within a Micromine data file. Links can be used in a Master project, for example, to link to other Micromine projects.

When you load Point, String, Drillhole Event and Drillhole Interval data in Vizex, the links in a LINK field can be activated. The Link field is a simple text field which, depending on the parameters you supply, can be used to open a project, link to a website, run a macro, run a Python script, run an executable, or open any type of file that is supported by Windows and registered for use by an installed program.

To execute a hyperlink

  1. In Vizex, right-click on an object in a layer that has associated Link attributes and select Activate Links.
  2. Double-click on an object in a layer that has associated Link attributes. The action you have defined for the link (open image, open document, run script etc.) will be executed.

You can use a link to perform the following actions:

Action Link Type
Open a project <PRO file>|<optional Python script or Macro filename>
  There are three variations:
  <PRO file>
  e.g. Examples.PRO
  If you only specify a project name, the project is opened and you are prompted to select from a list of saved views (if saved views exist for that project).
  <PRO file>|
  e.g. Examples.PRO|
  If you specify a project name followed by the pipe '|' symbol, the project is opened and no further action is taken.
  <PRO file>|<optional Python script or Macro filename>
  e.g. Examples.PRO|Switchview.py
  If you specify a project, followed by a pipe '|' separator, then a Python script or Macro filename, the project will open and run the specified script or macro.
Run a script or macro <Python script or Macro file>
  e.g. MAKE_VIZEX_PLOTS.MCR
  If you only specify a Python script or Macro filename, the script or macro will be executed provided it exists in the project.
 

To execute a Python script externally you can link to Python.exe and include the name of the script file as a parameter.

Open a supported file type <FILENAME>
  e.g. MyImage.jpg
  e.g. MyDocument.pdf
  If you specify a filename with a registered file type, Windows will attempt to open that file using the application associated with the file type.
  Any optional parameters you specify will depend on the file type. The folowing types are supported:
 

The following file types are supported:

  • Image files (jpg,png,bmp etc)
  • Document files (word doc, pdf, xls)
  • URL hyperlinks (http, mailto, ftp)
  • Media files (movies, audio)
Run an executable file <FILENAME>|<OPTIONAL PARAMETERS>|<OPTIONAL WORKING FOLDER>
  e.g. C:\MyApps\Notepad.exe|MyFile.txt
  If you specify the name an executable file, the file will be executed.
  Any optional parameters you specify will depend on the type of executable file.
 

The following file types are supported:

  • Executable files (.exe)
  • External scripts (batch files, perl, vb)
Link to a website <URL>
  e.g. https://webtrieve.alsminerals.com/

Concept Link IconSee Also