Once a borehole view or cross section view is designed, you can reuse the design in other projects by saving the file as a template. Templates allow you to create, save, and load borehole view designs, cross section view designs, or entire projects to be reused in other projects or by other Strater users. Template files have the option of storing a single borehole view or cross section view. Or, the template can store all of the view windows, schemes, and the table layout without any actual data. Template .TSF files are stand-alone files from the main Strater project .SDG files.
Templates can be created by either opening an existing project and saving it as a template, or by starting with an empty borehole view or cross section view, creating the view design, and saving it as a template.
To create a new, empty borehole view or cross section view window:
Click the Home | New | Borehole View command or the button,
Click the Home | New | Cross Section View command or the button, or
Right-click in the View Manager and select New Borehole View or New Cross Section View.
When the view window opens, design the view by opening data files and creating the various objects with all of the properties that should be saved to the template. If you do not have data for the logs, you can design the borehole view in design mode.
You can save a project as a template from either design or active mode. A saved template is stored in the exact format in which it was saved.
To save only a single borehole view or cross section view window, click the Home | Template | Save Current View As command. Alternatively, right-click on the view window name in the View Manager and select Save Template of Current View. In the Save Active View To Template File dialog, type a File name that indicates the view window type being saved and any other information needed for identification. Click Save and the file is saved to a .TSF file format with only the selected borehole view or cross section view window. No data layout, schemes, or other view windows are saved.
To save the entire project as a template, click the File | Save As command. In the Save As dialog, type a File name that indicates the entire project is being saved and set the Save as type to Strater Template Files (*.tsf). Click Save and the file is saved to a .TSF file format with all view windows, schemes, and table formats. No actual data is saved. Data tables are created matching the original layout, but without any actual data. . If there are multiple tables in the template they are all saved, even those that are not currently represented in the view windows. All schemes in the project are also saved in the template.
To load an existing template file, click the File | Open command or right-click in the View Manager and select Load Template. View windows in the template are loaded into new view windows in the project. Tables are automatically created. with the format of the data in the template for full project templates. You are prompted to load data in the template wizard or, you can import data into the tables, edit the logs to reflect the data, and create additional objects if necessary.
Once a template has been loaded into a new Strater window, the appearance of the view window with the imported template remains unchanged if the original source template is changed elsewhere. In order to use any changes made to the original template, you must open that template into a new view window.
Only one template can be used in each view window. You can open multiple templates into multiple view windows and save them all in a single project file with the File | Save As command.
View windows in full project templates are loaded in active mode, when there is data in any of the tables attached to the view window. If no data appears in any of the tables attached to a view window, the view window will be in design mode.
View only templates are loaded in active mode if there is data in any of the tables attached to the view window. View only templates are loaded in design mode if no data appears in any of the tables referenced in the template.
Click on the various tables and use the File | Import command to import data into each table. Click the Log | Display | Design Mode command to switch to active mode after data has been imported into the project. Click on the view windows and click on View | Display | View Properties command. Set the Hole ID Filter for the borehole view on the View tab in the Property Manager.
If there is a template associated with a borehole view, it is listed in the Borehole View Properties. If the Template Name field is blank, a template is not used for this borehole view. Otherwise, the Template Name contains the name of the template used in the project.
See Also