GXARCDH class¶
-
class
geosoft.gx.
GXARCDH
¶ This library is not a class. It contains various utilities used in the Target extension for ArcGIS.
-
static
close_project
((GXContext)ctx) → None:¶ Closes the current DH project in the Target extension
Parameters: ctx ( geosoft.gx.GXContext
) – The GX execution contextReturns: Nothing Return type: None New in version 8.0.0.
-
static
geostrings_extension_available
((GXContext)ctx) → int:¶ Verifies if the geostrings extension in TfA is available. Return 1 if true, 0 otherwise
Parameters: ctx ( geosoft.gx.GXContext
) – The GX execution contextReturns: Nothing Return type: int New in version 8.0.1.
-
static
get_current_string_file_gdb
((GXContext)ctx, (str_ref)arg1) → None:¶ Gets the current Geostring File Geodatabase.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.str_ref
) – name returned
Returns: Nothing
Return type: None
New in version 8.0.1.
- ctx (
-
static
has_string_file_gdb_edits
((GXContext)ctx) → int:¶ Is a Geostring File Geodatabase loaded and contain edits?
Parameters: ctx ( geosoft.gx.GXContext
) – The GX execution contextReturns: Nothing Return type: int New in version 8.0.1.
-
static
is_valid_feature_class_name
((GXContext)ctx, (str)arg1) → int:¶ Is this a valid featureclass name?
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – featureclass name
Returns: Nothing
Return type: int
New in version 8.0.1.
- ctx (
-
static
is_valid_fgdb_file_name
((GXContext)ctx, (str)arg1) → int:¶ Is this a valid FGDB filename?
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – FGDB filename
Returns: Nothing
Return type: int
New in version 8.0.1.
- ctx (
-
static
s_prompt_for_esri_symbol
((GXContext)ctx, (int)arg1, (str)arg2, (int)arg3, (str_ref)arg4, (int_ref)arg5, (int_ref)arg6) → None:¶ Prompt the user to select an ESRI symbol and return it as an XML string. The output string will be empty if the user cancels the dialog.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (int) – Window handle
- arg2 (str) – Initial symbol that you want displayed when the dialog is launched (use “” if none)
- arg3 (int) – (This parameter is ignored if an initial symbol was specified) Initial symbol type that you want displayed when the dialog is launched (0 for Fill, 1 for Line)
- arg4 (
geosoft.gx.str_ref
) – Returned XML string representing the symbol that was chosen by the user - arg5 (
geosoft.gx.int_ref
) – RGBA representation of fill color to be set - arg6 (
geosoft.gx.int_ref
) – RGBA representation of edge color to be set
Returns: Nothing
Return type: None
New in version 8.2.0.
- ctx (
-
static
set_project
((GXContext)ctx, (str)arg1, (str)arg2) → None:¶ Sets the current DH project in the Target extension
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Path String
- arg2 (str) – Project Name
Returns: Nothing
Return type: None
New in version 8.0.0.
- ctx (
-
static
set_string_file_gdb
((GXContext)ctx, (str)arg1) → None:¶ Sets the current Geostring File Geodatabase in the Target extension
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – File Geodatabase
Returns: Nothing
Return type: None
New in version 8.0.0.
- ctx (
-
static
stop_editing_string_file_gdb
((GXContext)ctx) → None:¶ Stops editing session for current string fGDB
Parameters: ctx ( geosoft.gx.GXContext
) – The GX execution contextReturns: Nothing Return type: None New in version 8.0.1.
-
static