System Functions

Running programmatically

Some functions to set options without using the ET Surface interface.

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name UseProgressDialog - needs to be executed only when you want to change the current value set.
<Use> A Boolean indicating whether a progress dialog to be used during the execution of the functions.
Function Name SetTempFolder - needs to be executed only when you want to change the current value set.
<Path> A String specifying the full path to the temp folder to be used by ET GeoWizards. Must exist and the user must have write access to it.
Function Name IsLicensed - indicates whether ET GeoWizards is licensed on the machine.
Function Name ReleaseLicense - releases the concurrent license used.
Function Name WriteLogEntry - writes an entry in the ET GeoWizards log file.
<Message> A String - the message.
<Function> A String - in the ET Geowizards functions this is used to state the function name.

Running the functions

ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatialTechniques\ETSurface\ETSRun.exe")


UseProgressDialog

Language Syntax
Python subprocess.call([ETSPath, "UseProgressDialog", "Use"])
.NET using ETSPath.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "UseProgressDialog" "Use"
.NET using ETSOutX.dll UseProgressDialog(Use)

SetTempFolder

Language Syntax
Python subprocess.call([ETSPath, "SetTempFolder", "Path"])
.NET using ETSPath.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "SetTempFolder" "Path"
.NET using ETSOutX.dll SetTempFolder(Path)

IsLicensed

Language Syntax
Python subprocess.call([ETSPath, "IsLicensed"])
.NET using ETSPath.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "IsLicensed"
.NET using ETSOutX.dll IsLicensed

ReleaseLicense

Language Syntax
Python subprocess.call([ETSPath, "ReleaseLicense"])
.NET using ETSPath.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "ReleaseLicense"
.NET using ETSOutX.dll ReleaseLicense

WriteLogEntry

Language Syntax
Python subprocess.call([ETSPath, "WriteLogEntry", "Message", "Function"])
.NET using ETSPath.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "WriteLogEntry" "Message" "Function"
.NET using ETSOutX.dll WriteLogEntry(Message, Function)

 

Notes:

(Go to TOP)