Click or drag to resize

CSYSiRunPython Method (CGXNETCore, IWin32Window, String, String)

Run a Python GX script with initialization information.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int iRunPython(
	CGXNETCore gxNetShared,
	IWin32Window owner,
	string gx,
	string init_info
)

public static int iRunPython(
	CGXNETCore gxNetShared,
	IWin32Window owner,
	string gx,
	string init_info
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
owner
Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of.
gx
Type: SystemString
Name of Python GX to run.
init_info
Type: SystemString
Initialization information (usually JSON). Available withon Python script as a global variable named gx_init_info.

Return Value

Type: Int32
Exit status of the GX: -1 cancelled 0 success 1 ended with an error.
See Also