New Depth Adjustment Process
To create a new depth adjustment definition:
- In the Configuration Manager, right-click on the User Interface | Drillhole Utilities | Depth Adjustment node of the navigation tree and select the New Depth Adjustment option from the menu.
- Enter the general properties (Name, Description) of the depth adjustment you are creating.
- To prompt the user for values when running queries, substitution parameters (for example HOLE_ID = '?Enter the Hole ID?') can be inserted.
- To configure the query group, click on the Configuration tab. See: Depth Adjustment Configuration
- To configure the messages to be shown, or the scripts to be executed, when the task form is opened or closed, click on the Events tab.
The depth adjustment process includes "before" and "after" events. Use the Events tab to configure SQL queries to execute in conjunction with these events, that is:
- when the process opens
- when the process closes
- before depth adjustment changes are saved
- after depth adjustment changes have been saved.
The queries you configure on this tab are normally used to interact with database objects (such as temporary tables) that are used during execution of the process. The inclusion of these events allows a process to perform functions that would previously have required you to build a Micromine Geobank macro.
An event query cannot contain substitution parameters and must not return a result set.
Copying Depth Adjustment objects
To create a new Depth Adjustment Process, it is often desirable to copy an already-configured Depth Adjustment object and then make changes rather than start with a brand new object.
To do this within an instance of Micromine Geobank it is fine to use copy and paste, because the unique reference for any linked objects, such as symbology sets, is the same so references remain in place. However, if you wish to copy a Depth adjustment Object from one Micromine Geobank database to another (such as the test Micromine Geobank instance to the production Micromine Geobank instance or the head-office Micromine Geobank instance to a site Micromine Geobank instance, then use the Configuration Export then Import Tool. this will allow you to import and/or resolve the links to symbology sets and any other related objects.
Note: In versions prior to Micromine Geobank 2020, symbology sets were referenced by their text name (not an id) and thus sometimes cut and paste between instances worked because names happened to be the same, but in other cases the links were broken by name changes. The use of identifiers is more robust, but necessitates the use of export/import between instances.