GXARCSYS class¶
-
class
geosoft.gx.
GXARCSYS
¶ This library is not a class. It contains various general system utilities used by the Geosoft extensions for ArcGIS.
-
static
get_browse_loc
((GXContext)ctx, (str_ref)arg1) → None:¶ Get the current catalog browser location in ArcGIS
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.str_ref
) – Path String
Returns: Nothing
Return type: None
New in version 8.0.0.
Note:
Gets the "local" directory (current catalog browser location in ArcGIS if map has not been saved, otherwise MxD path). We cannot mess with the CWD in ArcGIS because there MxD settings for relative/absolute paths depends on it.
- ctx (
-
static
get_current_doc
((GXContext)ctx, (str_ref)arg1) → None:¶ Get the current Mx Document file name
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.str_ref
) – Path String
Returns: Nothing
Return type: None
New in version 8.0.0.
Note:
If the current document is not yet saved, this will return an empty string.
- ctx (
-
static
set_browse_loc
((GXContext)ctx, (str)arg1) → None:¶ Set the current catalog browser location in ArcGIS
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Path String
Returns: Nothing
Return type: None
New in version 8.0.0.
Note:
Will also set the current working directory (CWD) if the MxD has not been saved. We cannot mess with the CWD in ArcGIS because their MxD settings for relative/absolute paths depends on it.
- ctx (
-
static