Is it possible to tell gINT (in a script) to process only the boring that is in the CSV file?
I have a script that processes boring log and creates PDF. When user has submitted a log for boring number 3 (ex. B3); this script will work with all the existing boring in the database.
If i have more than 10 borings in the database already then the execution time gets longer (close to 10+ min). I have a project that has 100+ boring(s) and I'm scared how long it may take, Any possible solution ?
Thanks in advance.
Hi Syed,
In a gINT script file you can set the range in the spec
Command Script7/30/03 12:54:50 PM**OperationOutput**CommandPRINT**PropertiesType=GraphName=US ATTERBERG LIMITS**SpecProject=c:\gint\projects\us lab.gpjRange=LAB-1|1,LAB-1|2,LAB-1|5,LAB-1|10,LAB-1|15,LAB-1|28.5
For more in depth details about writing scripts in gINT
goto the Help Menu in gINT search for Command Scripts - Output (how-to guide)
Answer Verified By: Syed Ahmed
Hi Kirk, the "Range" parameter is not doing it for Boring log. Here is my script, can you please suggest what is wrong ?
**Operation QUIET **Operation Input **Command ImportText **Properties Project=\\...\data\...\data.gpj Range=LB-2 DataTemplate=C:\Users\Public\Documents\Bentley\gINT\DATATMPL\template.gdt **Spec DataFile=\\...\...\data.csv OverwriteOption=Never **Operation QUIET **Operation Output **Command EXPORT **Properties Type=Log Name=COMPANY **Spec Project=\\..\data\PAR\ ..\data.gpj DbSourceMode=1 ExportFile=\\...\data\...\data(1).pdf
Here in the script I mentioned "LB-1" so that gINT processes only LB-1, but it is using all the previously inserted boring from the database.
I looked at this very quickly and didn't check everything in your script.
But, the first thing that stands out to me is that you really have two scripts here - one for the Input operation and one for the Output operation. You specified the Range for the Input operation. But, you did not specify the Range for the Output operation. So, you will still export PDF's for all Points in the project.
Assuming everything else is OK with your script, if you insert the Range parameter in the lower Output Properties spec, it should limit the borings that are output.
My bad, it works now, thanks !