 | 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
Syntaxpublic 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
)
Public Shared Function iRunPython (
gxNetShared As CGXNETCore,
owner As IWin32Window,
gx As String,
init_info As String
) As Integer
Public Shared Function iRunPython (
gxNetShared As CGXNETCore,
owner As IWin32Window,
gx As String,
init_info As String
) As Integer
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
)
static member iRunPython :
gxNetShared : CGXNETCore *
owner : IWin32Window *
gx : string *
init_info : string -> int
static member iRunPython :
gxNetShared : CGXNETCore *
owner : IWin32Window *
gx : string *
init_info : string -> int
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