Built-In Variables
Micromine Geobank features a number of built-in variables that can be used to substitute and return values in fields on forms. The following table lists and defines the available variables.
| Variable | Definition |
|---|---|
| [$GBTEMP] |
Substitutes the configured file path of the temporary folder for objects that need to specify a file path. This can also be [$GBISTEMP] in legacy objects. |
| [$GBWORK] |
Substitutes the configured file path of the work folder for objects that need to specify a file path. This can also be [$GBISWORK] in legacy objects. |
| [$GBRESOURCES] | Substitutes the configured file path of the Micromine Geobank Resources folder for objects that need to specify a file path. |
| [$GBCONFIG] | Substitutes the configured file path of the Micromine Geobank Configuration folder for objects that need to specify a file path. |
| $DATE |
Substitutes the current date in the following objects:
|
| $DATETIME | Substitutes the current date and time in the default value of substitute parameters and global sub parameters. |
| $DEFAULTPROJECT | Substitutes the name of the default project in Plan View and other drillhole tools. |
| $DESPATCHID |
Substitutes the Despatch ID in the following objects:
|
| $INSTANCE | Used by LAS File import. This variable returns a maximum instance for a given project and site ID. The field can be mapped to a column for the LAS File import. |
| $OBJECTNAME | Used for Field and Text Labels templates in Graphic Reports, allowing you to set the captions of labels to the name of the object being executed. |
| $USER |
Substitutes the current username in the following objects:
|
More information is contained in General (Options) and Substitution Parameters.