GXARCSYS class

class GXARCSYS(handle=0)[source]

GXARCSYS class.

This library is not a class. It contains various general system utilities used by the Geosoft extensions for ArcGIS.

__init__(handle=0)[source]

Initialize self. See help(type(self)) for accurate signature.

classmethod get_browse_loc(path)[source]

Get the current catalog browser location in ArcGIS

Parameters

path (str_ref) – Path String

New in version 8.0.

License: Geosoft Open License

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.

classmethod get_current_doc(path)[source]

Get the current Mx Document file name

Parameters

path (str_ref) – Path String

New in version 8.0.

License: Geosoft Open License

Note: If the current document is not yet saved, this will return an empty string.

is_null()[source]

Check if this is a null (undefined) instance

Returns

True if this is a null (undefined) instance, False otherwise.

Return type

bool

classmethod null()[source]

A null (undefined) instance of GXARCSYS

Returns

A null GXARCSYS

Return type

GXARCSYS

classmethod set_browse_loc(path)[source]

Set the current catalog browser location in ArcGIS

Parameters

path (str) – Path String

New in version 8.0.

License: Geosoft Open License

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.