 | CSYSiRunPython Method (CGXNETCore, 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
Syntaxpublic static int iRunPython(
CGXNETCore gxNetShared,
string gx,
string init_info
)
public static int iRunPython(
CGXNETCore gxNetShared,
string gx,
string init_info
)
Public Shared Function iRunPython (
gxNetShared As CGXNETCore,
gx As String,
init_info As String
) As Integer
Public Shared Function iRunPython (
gxNetShared As CGXNETCore,
gx As String,
init_info As String
) As Integer
public:
static int iRunPython(
CGXNETCore^ gxNetShared,
String^ gx,
String^ init_info
)
public:
static int iRunPython(
CGXNETCore^ gxNetShared,
String^ gx,
String^ init_info
)
static member iRunPython :
gxNetShared : CGXNETCore *
gx : string *
init_info : string -> int
static member iRunPython :
gxNetShared : CGXNETCore *
gx : string *
init_info : string -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - 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