Pyroxene asked: Our group is looking for a way to automatically include our log key when exporting our "final" logs to pdf. Currently we use the append function to add the logs to a pdf copy of our key. However if there's a way to do this automatically it would save us a few steps. Does anyone have any experience with this?
ANSWER: One way to automatically include a document when you output other documents is to create an Output Script. This can be as simple as capturing the Output settings for your log key document, and then Appending the script of settings for your other reports.The script is a simple text document that can then be edited each time you output reports to change the Data Source and selected boreholes. A more sophisticated way to do this is to edit the script to request user input each time for the project name and/or borehole selection.There is a chapter on Command Scripts in the Help > Contents > How-To Guide. In addition, under Help > Manuals > Tutorials you will find Advanced Output Options and Site Maps, which contains a step-by-step example of creating and editing an output script to allow user input of the Output settings.
Pat CummingsgINT Trainer
John Sharkey asked: I’d like to automate the addition of a 2-page legend, describing our report symbology, to our final log report export to pdf. I’d rather not write a script to accomplish this since the guys would have to run the script each time they export the logs. Is there a way I can do this in gint rules as an output condition?
ANSWER: A gINT Rule will allow you to trigger printing via a script from INPUT, and automatically run the script as defined in the Rule code. This can include prompts for user-entered variables and filter values, essentially reproducing the output scenario.
The trick to this is in the OUTPUT script edit menu, Script to gINT Rules Code option, which takes the output script that is working and renders it in gINT Rule-compatible statements that can be copied/pasted directly into the Rule edit window.
This is normally managed as an add-in gINT Rule that is selected from the Add-In menu in INPUT when you are ready to print the report (or export to PDF in this case.)
The gINT Help topic is called Batch output through Add-In scripts (how-to guide), but the reference in it to a file on gintsoftware.com is outdated. The file you want is now on the Geotechnical Community WIKI, gra002.zip.