Substitution Parameters

Substitution parameters need to be prefixed with the @ sign when you reference them. Note also that the names of substitution parameters are NOT case sensitive. This fact can be used to clarify the visibility of the substitution parameters when entered in a plot text file.

The plot file substitution parameter @blastholedatabasename, for example, is much easier to read as a mixed case expression: @BlastholeDatabaseName.

There are two kinds of predefined substitution parameter: Global and Plot File.

Blast Design Plot and other Vizex plots are only able to reference Global substitutions. This is because Blast Design, Ring Design and Vizex plots are rendered directly from a live or saved Vizex view and there is no associated PEL file.

Global

Global substitutions (which exist for the current session) use system information and the metadata associated with a current user's session. You can use them anywhere in the application where substitutions can be made, for example, in a Text Frame in a 2D or a 3D plot.

For example, suppose you have a plot layout that you use in several projects, and in each of those you want to include the project name and the date in the title. The solution is to define the data sets in the title once, with the text: @project and @ddmmyy.

These are predefined variables which do not require any further description in the substitution table. Each time this plot is printed, the project name and the current date will be automatically inserted into the title.

The following Global substitutions are provided:

Parameter Description
@ddmmyy or @mmddyy Current date, e.g. 26/5/10 or 5/26/10
@time  Current time, e.g. 12:34
@yyyy  Current year, e.g. 2010
@mm or @month Current month, e.g. 11 or Nov
@dd  Current day, e.g. 23
@project  Current project, e.g. DEMO
@projdir  Current project folder, e.g. C:\PROJECTS\TEST
@projtitle  Current project title, e.g. DEMO PROJECT
@username Current user's username
@networkdomain Current user's network domain
@licenceID Current user's Micromine licence ID
@mmversion Current user's Micromine version number
@computername Current user's computer name
@windowsversion Current user's Windows operating system version

Blast Design Plot

The following Blast Design Plot substitutions are provided:

Parameter Description
@blastholedatabasename The name of the current blasthole database (BHDB)
@blastblockname The name of the current blast block.