Click or drag to resize

CSYS Methods

The CSYS type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAbort
This method terminates the execution of a script. A message giving the reason for the abort will be displayed along with the line number where we stopped in the script.
Public methodStatic memberAddLineageParameter
Add a parameter to the current lineage object
Public methodStatic memberAddLineageSource
Add a source to the current lineage object
Public methodStatic memberAssert
Abort with GX line number if not true.
Public methodStatic memberBreakDate
Breaks a decimal date value into year, month and day.
Public methodStatic memberCancel
This method indicates that the GX program terminated without doing anything of interest and should be ignored. In particular, the GX will not be logged in a recorded GS.
Public methodStatic memberCheckProductUpdates
Check for product updates via Geosoft Connect
Public methodStatic memberClearGroup
Clear current contents of a group
Public methodStatic memberClearGroupParm
Clears all paramters in a specified group.
Public methodStatic memberClearLineageParameters
Clear all the lineage parameters
Public methodStatic memberClearLineageSources
Clear all the lineage sources
Public methodStatic memberClearMenus
Clear all menus
Public methodStatic memberClearParm
Clears all paramters.
Public methodStatic memberClipboardToFile
Copy text from the clipboard to a file.
Public methodStatic memberConnectWithCurrentCentralInstance(CGXNETCore, String, String, String, String)
Query information necessary to communicate with current Central Instance
Public methodStatic memberConnectWithCurrentCentralInstance(CGXNETCore, String, Int32, String, Int32, String, Int32, String, Int32)
Query information necessary to communicate with current Central Instance
Public methodStatic memberCopyGeoFile
Copy a Geosoft data file and all associated files to a new folder
Public methodStatic memberCRCFile
Compute the CRC of a file
Public methodStatic memberCRCFileOffset
Compute the CRC of a file with an Offset
Public methodStatic memberCreateClipboardRA
Create a RA to read text from the clipboard.
Public methodStatic memberCreateClipboardWA
Create a WA to write text on the clipboard.
Public methodStatic memberDATListLST
Returns a LST of Grid/Image types as names and qualifiers as valuesLST Example: NAME: "Geosoft default (*.grd)" VALUE: "GRD"
Public methodStatic memberDecryptString(CGXNETCore, String, String, Int32)
Decrypts a string that has been previously encrypted by EncryptString_SYS.
Public methodStatic memberDecryptString(CGXNETCore, String, String, Int32, Int32)
Decrypts a string that has been previously encrypted by EncryptString_SYS.
Public methodStatic memberDefaultInt
Allows a default int to be set.
Public methodStatic memberDefaultReal
Allows a default real to be set.
Public methodStatic memberDefaultString
Allows a default string to be set.
Public methodStatic memberDeleteDirectory
Delete a directory and all files/subdirectories contained therein.
Public methodStatic memberDestr
Destroy ANY object made with a Create_? method
Public methodStatic memberDestroyPTMP
Destroy PTMP.
Public methodStatic memberDisableGXDebugger
Disable GX Debugger GUI if active
Public methodStatic memberDisplayHelp
Display the help dialog with the specified topic highlighted
Public methodStatic memberDisplayHelpTopic
Display the help dialog without topic lookup in INI files
Public methodStatic memberDisplayInt
Display an integer.
Public methodStatic memberDisplayMessage
Display a user message.
Public methodStatic memberDisplayReal
Display a real number.
Public methodStatic memberDoCommand
Execute an Oasis montaj command.
Public methodStatic memberEMFObjectSize
Get the size of an EMF object
Public methodStatic memberEnableGXDebugger(CGXNETCore, String, String)
Enable GX Debugger GUI
Public methodStatic memberEnableGXDebugger(CGXNETCore, IWin32Window, String, String)
Enable GX Debugger GUI
Public methodStatic memberEncryptString(CGXNETCore, String, String, Int32)
Encrypts a string for secure storage in configuration files or in the workspace parameters.
Public methodStatic memberEncryptString(CGXNETCore, String, String, Int32, Int32)
Encrypts a string for secure storage in configuration files or in the workspace parameters.
Public methodStatic memberError
Register an error message
Public methodStatic memberErrorTag
Set an error message tag string
Public methodStatic memberExit
This method terminates the execution of a script in a regular fashion with no error messages displayed.
Public methodStatic memberFileRen
Rename a file
Public methodStatic memberFileToClipboard
Copy a text file onto the clipboard as text.
Public methodStatic memberFilterParmGroup
Controls filtering of specific group during logging.
Public methodStatic memberFindFilesVV
Fill a VV with files matching an input file mask.
Public methodStatic memberFontLST
List all Windows and geosoft fonts.
Public methodStatic memberGenerateGUID(CGXNETCore, String)
Genrates a GUID string (e.g. {4FEDE8BF-CDAB-430A-8026-1CCC0EC0A2EB})
Public methodStatic memberGenerateGUID(CGXNETCore, String, Int32)
Genrates a GUID string (e.g. {4FEDE8BF-CDAB-430A-8026-1CCC0EC0A2EB})
Public methodStatic memberGeosoftConnectAuthenticateAndNavigate
Automatically authenticate and navigate to my.geosoft.com URL
Public methodStatic memberGetEntitlementRights
Get the Entitlement Rights
Public methodStatic memberGetLoadedMenus
Get the loaded menus.
Public methodStatic memberGetPattern
Gets pattern parameters from the parameter block.
Public methodStatic memberGetPTMP
Get temporary saves copy of parameter block.
Public methodStatic memberGetPublishPathForCentral(CGXNETCore, String, String)
Get cache path to publish datasets to Central
Public methodStatic memberGetPublishPathForCentral(CGXNETCore, String, String, Int32)
Get cache path to publish datasets to Central
Public methodStatic memberGetREG
Get REG parameters.
Public methodStatic memberGetSettingsMETA
Get the settings metadata object.
Public methodStatic memberGetWorkspaceREG
Get a copy of the workspace REG;
Public methodStatic memberGlobalReset
Reset the global parameters.
Public methodStatic memberGlobalSet
Set a global parameter setting.
Public methodStatic memberGlobalWrite
Modify the global parameters.
Public methodStatic memberGtString(CGXNETCore, String, String, String)
This method returns a string in the parameter block.
Public methodStatic memberGtString(CGXNETCore, String, String, String, Int32)
This method returns a string in the parameter block.
Public methodStatic memberIAbsoluteFileName(CGXNETCore, String, String)
Convert an abbreviated path name to a full path name.
Public methodStatic memberIAbsoluteFileName(CGXNETCore, String, String, Int32)
Convert an abbreviated path name to a full path name.
Public methodStatic memberiAssertGX
DLL function argument error assertion
Public methodStatic memberIBackupGeoFile(CGXNETCore, String, String)
Backup a Geosoft data file and all associated files to a temporary folder.
Public methodStatic memberIBackupGeoFile(CGXNETCore, String, String, Int32)
Backup a Geosoft data file and all associated files to a temporary folder.
Public methodStatic memberiCheckArcLicense
Check to see if a ESRI ArcEngine or ArcView license is available
Public methodStatic memberiCheckArcLicenseEx(CGXNETCore, String)
Check to see if a ESRI ArcEngine or ArcView license is available, returns type and version of available engine.
Public methodStatic memberiCheckArcLicenseEx(CGXNETCore, String, Int32)
Check to see if a ESRI ArcEngine or ArcView license is available, returns type and version of available engine.
Public methodStatic memberiCheckArcSDKLicenseEx(CGXNETCore, String)
Check to see if a ESRI ArcGIS Pro SDK and Map SDK license is available, returns type and version of available engine.
Public methodStatic memberiCheckArcSDKLicenseEx(CGXNETCore, String, Int32)
Check to see if a ESRI ArcGIS Pro SDK and Map SDK license is available, returns type and version of available engine.
Public methodStatic memberiCheckIntrinsic
Check to see if an intrinsic object is licensed
Public methodStatic memberiCheckStop
This method is called at convenient points in the GX code to check if the user has asked the script to stop running. This method should be called by any GX program that may take a while to complete.
Public methodStatic memberiClearErrAP
This method is called at to clear all registered errors.
Public methodStatic memberiCopyFile
Copy a file.
Public methodStatic memberiDatetoLong
Converts a double date to a value representing total days elapsed since day 0 of year 0. This uses the Numerical Receipies Julian function.
Public methodStatic memberiDelay
Idle delay method.
Public methodStatic memberiDeleteFile
Delete a file.
Public methodStatic memberiDeleteGIFile
Delete the GI file associated with a grid.
Public methodStatic memberiDeleteGridFile
Delete a grid file and its associated GI and XML files.
Public methodStatic memberiDirExist
Check to see if a directory exists
Public methodStatic memberiDisplayQuestion
Display a YES/NO type question. This method waits for the user to hit YES or NO.
Public methodStatic memberiDisplayQuestionWithCancel
Display a YES/NO/CANCEL type question. This method waits for the user to hit YES or NO or CANCEL.
Public methodStatic memberiDisplayTaskDialogUI
Show a Windows TaskDialog UI (see https://msdn.microsoft.com/en-us/library/windows/desktop/bb760441(v=vs.85).aspx).
Public methodStatic memberiExistEnv
Check if setting exists in environment.
Public methodStatic memberiExistInt
This method checks to see if a int parameter exists.
Public methodStatic memberiExistReal
This method checks to see if a real parameter exists.
Public methodStatic memberiExistString
This method checks to see if a string parameter exists.
Public methodStatic memberiFileExist
Check to see if a file exists
Public methodStatic memberiFileSize
Returns size of a file.
Public methodStatic memberiFileWritable
Check if a file can be created or opened in read-write mode at a specific location
Public methodStatic memberiFindPath(CGXNETCore, String, Int32, String)
Get full path for a file with Geosoft subdirectory parameter.
Public methodStatic memberiFindPath(CGXNETCore, String, Int32, String, Int32)
Get full path for a file with Geosoft subdirectory parameter.
Public methodStatic memberiFindPathEx(CGXNETCore, String, Int32, Int32, String)
Get full path for a file.
Public methodStatic memberiFindPathEx(CGXNETCore, String, Int32, Int32, String, Int32)
Get full path for a file.
Public methodStatic memberIGetDirectory(CGXNETCore, Int32, String)
Get a directory path
Public methodStatic memberIGetDirectory(CGXNETCore, Int32, String, Int32)
Get a directory path
Public methodStatic memberIGetEnv(CGXNETCore, String, String)
Get an environment setting.
Public methodStatic memberIGetEnv(CGXNETCore, String, String, Int32)
Get an environment setting.
Public methodStatic memberiGetErrorAP
Get the error number of an error.
Public methodStatic memberIGetErrorMessageAP(CGXNETCore, Int32, String)
Return the error message text as a string.
Public methodStatic memberIGetErrorMessageAP(CGXNETCore, Int32, String, Int32)
Return the error message text as a string.
Public methodStatic memberiGetGeodist
Gets a global flag that indicates whether we are running within the geodist library
Public methodStatic memberIGetGeosoftID(CGXNETCore, String)
Get the Geosoft ID (email) if signed in
Public methodStatic memberIGetGeosoftID(CGXNETCore, String, Int32)
Get the Geosoft ID (email) if signed in
Public methodStatic memberiGetInt
This method returns an int from the parameter block.
Public methodStatic memberIGetLicenseClass(CGXNETCore, String)
Get the current application license class.
Public methodStatic memberIGetLicenseClass(CGXNETCore, String, Int32)
Get the current application license class.
Public methodStatic memberIGetLicensedUser(CGXNETCore, String, String)
Get the licensed user name and Company
Public methodStatic memberIGetLicensedUser(CGXNETCore, String, Int32, String, Int32)
Get the licensed user name and Company
Public methodStatic memberIGetPath(CGXNETCore, Int32, String)
Get a Geosoft path
Public methodStatic memberIGetPath(CGXNETCore, Int32, String, Int32)
Get a Geosoft path
Public methodStatic memberIGetProfileName(CGXNETCore, String)
Get the profile name as defined in My Geosoft (or email if not defined)
Public methodStatic memberIGetProfileName(CGXNETCore, String, Int32)
Get the profile name as defined in My Geosoft (or email if not defined)
Public methodStatic memberIGetProfileURL(CGXNETCore, String)
Get link to my.geosoft.com profile URL
Public methodStatic memberIGetProfileURL(CGXNETCore, String, Int32)
Get link to my.geosoft.com profile URL
Public methodStatic memberIGetSysInfo(CGXNETCore, Int32, String)
Get system information
Public methodStatic memberIGetSysInfo(CGXNETCore, Int32, String, Int32)
Get system information
Public methodStatic memberiGetThreadID
Get the ID the current thread.
Public methodStatic memberiGetTimer
Return the elapsed time since the established time.
Public methodStatic memberiGetTopErrorAP
Get the error number of the last registered error.
Public methodStatic memberIGetWindowsDir(CGXNETCore, String)
Get the Windows directory path
Public methodStatic memberIGetWindowsDir(CGXNETCore, String, Int32)
Get the Windows directory path
Public methodStatic memberiGetYesNo
Check a YES/NO Setting
Public methodStatic memberIiGetDotNetGXEntries(CGXNETCore, String, String)
Get the list of entry points that this assembly has exposed to Oasis montaj.
Public methodStatic memberIiGetDotNetGXEntries(CGXNETCore, String, String, Int32)
Get the list of entry points that this assembly has exposed to Oasis montaj.
Public methodStatic memberIiGlobal(CGXNETCore, String, String)
Get a global parameter setting.
Public methodStatic memberIiGlobal(CGXNETCore, String, String, Int32)
Get a global parameter setting.
Public methodStatic memberiInteractive
Checks to see if you should run interactively.
Public methodStatic memberIiPrompt(CGXNETCore, String, String)
Asks the User to enter a string.
Public methodStatic memberIiPrompt(CGXNETCore, String, String, Int32)
Asks the User to enter a string.
Public methodStatic memberIiRegistryGetVal(CGXNETCore, Int32, String, String, String)
Get a registry value
Public methodStatic memberIiRegistryGetVal(CGXNETCore, Int32, String, String, String, Int32)
Get a registry value
Public methodStatic memberiIsSignedIn
Check if signed in via Geosoft Connect
Public methodStatic memberiMakeDir
Create a directory.
Public methodStatic memberiMakeFileReadonly
Set a file's read-only attribute.
Public methodStatic memberiMakeFileWritable
Removes a file's read-only attribute.
Public methodStatic memberiNumErrorsAP
Returns the number of registered errors.
Public methodStatic memberiOLEAutomation
Call OLE Automation designed to be called from Montaj.
Public methodStatic memberiProgState
Return current progress state (On/Off)
Public methodStatic memberiRegistryDeleteKey
Delete a registry value
Public methodStatic memberiRegistryDeleteVal
Delete a registry value
Public methodStatic memberIRelativeFileName(CGXNETCore, String, String)
Convert a file name to a relative abbreviated path name
Public methodStatic memberIRelativeFileName(CGXNETCore, String, String, Int32)
Convert a file name to a relative abbreviated path name
Public methodStatic memberIReplaceString(CGXNETCore, String, String, String)
Replace "% %" tokens in a string with parameter values
Public methodStatic memberIReplaceString(CGXNETCore, String, String, Int32, String)
Replace "% %" tokens in a string with parameter values
Public methodStatic memberiRun
Run a command line process.
Public methodStatic memberiRunGS
Run a GS.
Public methodStatic memberiRunGX(CGXNETCore, String)
Run a GX.
Public methodStatic memberiRunGX(CGXNETCore, IWin32Window, String)
Run a GX.
Public methodStatic memberiRunPDF
Run a PDF.
Public methodStatic memberiRunPython(CGXNETCore, String, String)
Run a Python GX script with initialization information.
Public methodStatic memberiRunPython(CGXNETCore, IWin32Window, String, String)
Run a Python GX script with initialization information.
Public methodStatic memberiScript
Checks to see if we are running inside OMS (script mode)
Public methodStatic memberiScriptRecord
Checks to see if we are in scripting recording mode
Public methodStatic memberIsEncryptedString
Checks whether the specified string was encrypted by EncryptString_SYS.
Public methodStatic memberiShellExecute
Call Microsoft ShellExecute function (See `MSDN <https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx>`_)
Public methodStatic memberIShortPathFileName(CGXNETCore, String, String)
Obtains the short path form of a specified input path.
Public methodStatic memberIShortPathFileName(CGXNETCore, String, String, Int32)
Obtains the short path form of a specified input path.
Public methodStatic memberITempFileExt(CGXNETCore, String, String)
Generate a unique file name for this extension in the temp directory.
Public methodStatic memberITempFileExt(CGXNETCore, String, String, Int32)
Generate a unique file name for this extension in the temp directory.
Public methodStatic memberITempFileName(CGXNETCore, String, String)
Generate a file name for this file in the temp directory.
Public methodStatic memberITempFileName(CGXNETCore, String, String, Int32)
Generate a file name for this file in the temp directory.
Public methodStatic memberiTestingSystemMode
Checks to see if the GX is running in the Geosoft testing system.
Public methodStatic memberiTimetoLong
Converts decimal hours to seconds in a day.
Public methodStatic memberITransferPath(CGXNETCore, String, String)
Transfers file path to new file name.
Public methodStatic memberITransferPath(CGXNETCore, String, String, Int32)
Transfers file path to new file name.
Public methodStatic memberiValidFileName
Check to see if a file name valid
Public methodStatic memberiWriteInDir
Can I create files in this directory ?
Public methodStatic memberLoadParm
Reads parameters from a file.
Public methodStatic memberLogBackgroundTask
This method logs that a background task was run
Public methodStatic memberLogScriptRun
This method logs that a script was run
Public methodStatic memberProgName
This method allows you to name the current process being displayed by the progress bar. This method has no affect if no progress bar exists.
Public methodStatic memberProgress
This method allows you to turn on the Progress BAR ON/OFF. Once the progress bar is on, use the UpdateProg method to drive it.
Public methodStatic memberProgUpdate
This method drives the Progress Bar. It is passed a percentage and will update the bar to reflect that percentage.
Public methodStatic memberProgUpdateL
Updates progress bar based on count and maxcount.
Public methodStatic memberPublishDatasetsToCentral(CGXNETCore, String, String, String, String, Int32, Int32, String, String)
Publish datasets to Central
Public methodStatic memberPublishDatasetsToCentral(CGXNETCore, String, String, String, String, Int32, Int32, Int32, String, String)
Publish datasets to Central
Public methodStatic memberrDate
Returns the current date in decimal years.
Public methodStatic memberRegistrySetVal
Set/create a registry value
Public methodStatic memberRemoveLineageOutput
Remove an output from the current lineage object
Public methodStatic memberRemoveLineageParameter
Remove a parameter in the current lineage object
Public methodStatic memberRemoveLineageSource
Remove a source from the current lineage object
Public methodStatic memberResetSettings
Resets the GX_HELP settings in the geosoft.ini file after changes have been made.
Public methodStatic memberRestoreGeoFile
Backup a Geosoft data file and all associated files to original location
Public methodStatic memberrFileDate
File creation date in decimal years.
Public methodStatic memberrFileTime
File creation time in decimal hours.
Public methodStatic memberrGetReal
This method returns a real from the parameter block.
Public methodStatic memberrLongtoDate
Converts a value representing total days elapsed since day 0 of year 0 to a geosoft date. This uses the Numerical Receipies Julian function.
Public methodStatic memberrLongtoTime
Converts seconds to decimal hours.
Public methodStatic memberrMakeDate
Returns the decimal date given the year, month and day.
Public methodStatic memberrSecondstoTime
Converts fractional seconds to decimal hours.
Public methodStatic memberrTime
Returns the current time in decimal hours.
Public methodStatic memberrTimetoSeconds
Converts decimal hours to seconds in a day fractional
Public methodStatic memberRunMultiUserScript
Execute a script using multithreaded users
Public methodStatic memberrUTCDate
Returns the current UTC date in decimal years.
Public methodStatic memberrUTCFileDate
File creation UTC date in decimal years.
Public methodStatic memberrUTCFileTime
File creation UTC time in decimal hours.
Public methodStatic memberrUTCTime
Returns the current UTC time in decimal hours.
Public methodStatic memberSaveLog
Saves the main log file to another file.
Public methodStatic memberSaveParm
Writes out one group (or all groups) to a file.
Public methodStatic memberSavePTMP
Save a temporary copy of the parameter block.
Public methodStatic memberSendGeneralMessage
Send a general information message to all listners
Public methodStatic memberSetBackgroundRun
Sets the environment as running in the background.
Public methodStatic memberSetCursor
Set the cursor on the display.
Public methodStatic memberSetEnv
Set an environment setting.
Public methodStatic memberSetInfoLine
Display a message on the information line at the left bottom corner of the OAISIS montaj application.
Public methodStatic memberSetInt
This method sets an int in the parameter block.
Public methodStatic memberSetInteractive
Sets the interactive mode.
Public methodStatic memberSetLineageDescription
Set the description for the current lineage object
Public methodStatic memberSetLineageDisplayName
Set the display name for the current lineage object
Public methodStatic memberSetLineageName
Set the name for the current lineage object
Public methodStatic memberSetLoadedMenus
Load a list of menus
Public methodStatic memberSetPattern
Sets pattern parameters in the parameter block.
Public methodStatic memberSetReal
This method Sets a real in the parameter block.
Public methodStatic memberSetREG
Copy contents of a REG to current parameters.
Public methodStatic memberSetServerMessagesAP
Control the server message handling.
Public methodStatic memberSetSettingsMETA
Set the settings metadata object.
Public methodStatic memberSetString
This method sets a string in the parameter block.
Public methodStatic memberSetWorkspaceREG
Set the workspace REG;
Public methodStatic memberShowError
Display any errors to the user.
Public methodStatic memberSignIn
Sign in via Geosoft Connect
Public methodStatic memberTerminate
DLL error termination
Public methodStatic memberWriteDebugLog
This method writes out information to the output debugging log file (in temp folder) or output window.
Top
See Also