GXDATALINKD class

class geosoft.gxapi.GXDATALINKD
DATALINK Display object.
static create_arc_lyr((str)arg1) → GXDATALINKD:
Create an DATALINKD object from a ArcGIS LYR file
Parameters:arg1 (str) – Arc LYR file name
Returns:DATALINKD handle, terminates if creation fails
Return type:geosoft.gxapi.GXDATALINKD

New in version 6.4.0.

Note:

Needs ArcEngine licence.
static create_arc_lyr_ex((str)arg1, (int)arg2) → GXDATALINKD:
Create an DATALINKD object from a ArcGIS LYR file
Parameters:
  • arg1 (str) – Arc LYR file name
  • arg2 (int) – Display as 3D Group? (as opposed to bitmap on plane)
Returns:

DATALINKD handle, terminates if creation fails

Return type:

geosoft.gxapi.GXDATALINKD

New in version 9.0.0.

Note:

Needs ArcEngine licence.
static create_arc_lyr_from_tmp((str)arg1) → GXDATALINKD:
Create an DATALINKD object from a temporary ArcGIS LYR file
Parameters:arg1 (str) – Arc LYR file name
Returns:DATALINKD handle, terminates if creation fails
Return type:geosoft.gxapi.GXDATALINKD

New in version 7.0.0.

Note:

Needs ArcEngine licence.
static create_arc_lyr_from_tmp_ex((str)arg1, (int)arg2) → GXDATALINKD:
Create an DATALINKD object from a temporary ArcGIS LYR file
Parameters:
  • arg1 (str) – Arc LYR file name
  • arg2 (int) – Display as 3D Group? (as opposed to bitmap on plane)
Returns:

DATALINKD handle, terminates if creation fails

Return type:

geosoft.gxapi.GXDATALINKD

New in version 9.0.0.

Note:

Needs ArcEngine licence.
static create_bing((int)arg1) → GXDATALINKD:
Create an DATALINKD object for a BING dataset
Parameters:arg1 (int) – 0 = Aerial, 1 = Road
Returns:DATALINKD handle, terminates if creation fails
Return type:geosoft.gxapi.GXDATALINKD

New in version 8.0.0.

get_extents((float_ref)arg1, (float_ref)arg2, (float_ref)arg3, (float_ref)arg4) → None:
Get the data extents of the DATALINK Display object.
Parameters:
Returns:

Nothing

Return type:

None

New in version 6.4.0.

get_ipj((GXIPJ)arg1) → None:
Get the projection of the DATALINK Display object.
Parameters:arg1 (geosoft.gxapi.GXIPJ) – IPJ object to set the projection to
Returns:Nothing
Return type:None

New in version 6.4.0.

is_null() → bool

Check if the instance of geosoft.gxapi.GXDATALINKD is null (undefined)

Returns:True if this is a null instance of geosoft.gxapi.GXDATALINKD, False otherwise.
Return type:bool`
static null() → GXDATALINKD

A null (undefined) instance of geosoft.gxapi.GXDATALINKD

Returns:A null geosoft.gxapi.GXDATALINKD
Return type:geosoft.gxapi.GXDATALINKD