 | CSYSiRunPython Method (IWin32Window, String, String) |
Run a Python GX script with initialization information.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iRunPython(
IWin32Window owner,
string gx,
string init_info
)
public static int iRunPython(
IWin32Window owner,
string gx,
string init_info
)
Public Shared Function iRunPython (
owner As IWin32Window,
gx As String,
init_info As String
) As Integer
Public Shared Function iRunPython (
owner As IWin32Window,
gx As String,
init_info As String
) As Integer
public:
static int iRunPython(
IWin32Window^ owner,
String^ gx,
String^ init_info
)
public:
static int iRunPython(
IWin32Window^ owner,
String^ gx,
String^ init_info
)
static member iRunPython :
owner : IWin32Window *
gx : string *
init_info : string -> int
static member iRunPython :
owner : IWin32Window *
gx : string *
init_info : string -> int
Parameters
- 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