GXARCPY class

class GXARCPY(handle=0)[source]

GXARCPY class.

This library allows legacy GX code to call back into arcpy methods in the Geosoft AddIn for ArcGIS Pro.

__init__(handle=0)[source]

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

classmethod add_error(message)[source]

Add error message to output of current script

Parameters

message (str) – Message

New in version 9.6.

License: Geosoft Open License

classmethod add_message(message)[source]

Add informational message to output of current script

Parameters

message (str) – Message

New in version 9.6.

License: Geosoft Open License

classmethod add_warning(message)[source]

Add warning message to output of current script

Parameters

message (str) – Message

New in version 9.6.

License: Geosoft Open License

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 GXARCPY

Returns

A null GXARCPY

Return type

GXARCPY