GXDATALINKD class

class GXDATALINKD(handle=0)

GXDATALINKD class.

DATALINK Display object.

classmethod create_arc_lyr(arc_lyr_file)

Create an GXDATALINKD object from a ArcGIS LYR file

Parameters:arc_lyr_file (str) – Arc LYR file name
Returns:GXDATALINKD handle, terminates if creation fails
Return type:GXDATALINKD

New in version 6.4.

License: Geosoft End-User License

Note: Needs ArcEngine licence.

classmethod create_arc_lyr_ex(arc_lyr_file, o3d_group)

Create an GXDATALINKD object from a ArcGIS LYR file

Parameters:
  • arc_lyr_file (str) – Arc LYR file name
  • o3d_group (int) – Display as 3D Group? (as opposed to bitmap on plane)
Returns:

GXDATALINKD handle, terminates if creation fails

Return type:

GXDATALINKD

New in version 9.0.

License: Geosoft End-User License

Note: Needs ArcEngine licence.

classmethod create_arc_lyr_from_tmp(arc_lyr_file)

Create an GXDATALINKD object from a temporary ArcGIS LYR file

Parameters:arc_lyr_file (str) – Arc LYR file name
Returns:GXDATALINKD handle, terminates if creation fails
Return type:GXDATALINKD

New in version 7.0.

License: Geosoft Open License

Note: Needs ArcEngine licence.

classmethod create_arc_lyr_from_tmp_ex(arc_lyr_file, o3d_group)

Create an GXDATALINKD object from a temporary ArcGIS LYR file

Parameters:
  • arc_lyr_file (str) – Arc LYR file name
  • o3d_group (int) – Display as 3D Group? (as opposed to bitmap on plane)
Returns:

GXDATALINKD handle, terminates if creation fails

Return type:

GXDATALINKD

New in version 9.0.

License: Geosoft Open License

Note: Needs ArcEngine licence.

classmethod create_bing(layer)

Create an GXDATALINKD object for a BING dataset

Parameters:layer (int) – 0 = Aerial, 1 = Road
Returns:GXDATALINKD handle, terminates if creation fails
Return type:GXDATALINKD

New in version 8.0.

License: Geosoft End-User License

get_extents(min_x, max_x, min_y, max_y)

Get the data extents of the DATALINK Display object.

Parameters:

New in version 6.4.

License: Geosoft Open License

get_ipj(ipj)

Get the projection of the DATALINK Display object.

Parameters:ipj (GXIPJ) – GXIPJ object to set the projection to

New in version 6.4.

License: Geosoft Open License

is_null()

Check if this is a null (undefined) instance

Returns:True if this is a null (undefined) instance, False otherwise.
Return type:bool
classmethod null()

A null (undefined) instance of GXDATALINKD

Returns:A null GXDATALINKD
Return type:GXDATALINKD