User Guide

From ObjectVision

(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
== '''GeoDMS Run'''==
== '''GeoDMS Run'''==
-
The [[GeoDMS]] Run is used to update tree items from a command line or batch file. To run the GeoDMSRun.exe, activate the Command Prompt Window. The GeoDMSRun.exe can then be activated from the command line.  
+
The [[GeoDMSRun]] is used to update tree items from a command line or batch file. To run the GeoDMSRun.exe, activate the Command Prompt Window. The GeoDMSRun.exe can then be activated from the command line.  
The following parameters can/need to be specified:
The following parameters can/need to be specified:

Revision as of 13:08, 18 November 2019

User's Guides are available in assisting users how to work with the GeoDMS GUI and GeoDMSRun for available projects.

In the section How To Model information van be found on editing a model configuration or setting up a new project.

GeoDMS GUI

User Guides of the GeoDMS GUI (pdf format) are available for the multiple versions. They can also be used for intermediate versions, as the changes to the GUI per versions are usually limited. If substantial changes are made to the GUI, a new version of the User Guide will be made available.

GeoDMS Run

The GeoDMSRun is used to update tree items from a command line or batch file. To run the GeoDMSRun.exe, activate the Command Prompt Window. The GeoDMSRun.exe can then be activated from the command line. The following parameters can/need to be specified:

  • (Optional) /Llogfilename (since version 5.55)
  • (Required) ConfigFileName
  • zero or more TreeItem names (space separated) to be calculated. Multiple item names can be specified, calculated results will be saved in storage's were configured.

Examples

1: "C:\Program Files\ObjectVision\GeoDms552\GeoDmsRun.exe" "C:\svn\GeoDMS\dev\webgen\cfg\dms.dms" /Results/pages             
2: "C:\Program Files\ObjectVision\GeoDms552\GeoDmsRun.exe" "C:\svn\GeoDMS\dev\tst\Operator\cfg\operator.dms" /Arithmetics/plus/test_attr /Arithmetics/sub/test_attr
3: "C:\Program Files\ObjectVision\GeoDms555\GeoDmsRun.exe" "/LC:\tmp\log.txt" "C:\svn\GeoDMS\dev\webgen\cfg\dms.dms" /Results/pages

The first example updates the item: Results/pages in the webgen configuration.

The second example updates two items: Arithmetics/plus/test_attr and Arithmetics/sub/test_attr, both in the operator.dms configuration.

The third example is similar to the first example with logging saved to the file C:\tmp\log.txt.

The quotes in both examples are needed for the file names, as spaces may occur in these names. In the tree item names quotes are not needed, as spaces are not allowed in these names. Note that: The value for LocalDataDir is read from the registry key Software\\ObjectVision\\DMS\\LocalDataDir (default: C:\LocalData) which can be changed in the Tools->Options dialog from the GeoDMSGUI. %localDataProjDir% is usually defined as LocalDataDir/%projName%.

The [GeoDMS]GUI settings about logging as saved in the registry is ignored for the GeoDMSRun.exe, use the /L option to enable logging.

Personal tools