GXEMXD class

class geosoft.gx.GXEMXD
             The EMXD class provides access to a ArcGIS MXD as displayed within
Oasis montaj, but does not change data within the MXD itself.

Note:

             To obtain access to the ArcGIS MXD itself, it is recommended practice
to begin with an EMXD object, and use the Lock function to
lock the underlying MXD to prevent external changes. The returned
MXD object may then be safely used to make changes to the template itself.

VIRTUAL EMXD SUPPORT

These methods are only available when running in an external application.
They allow the GX to open a ArcGIS MXD and then create a Virtual EMXD from that
ArcGIS MXD. The GX can then call MakeCurrent and set the current EMXD so
that code that follows sees this ArcGIS MXD as the current MXD.

Supported methods on Virtual EMXDs are:

  geosoft.gx.GXEMXD.current()
  geosoft.gx.GXEMXD.make_current()
  geosoft.gx.GXEMXD.have_current()
  geosoft.gx.GXEMXD.current_if_exists()

  geosoft.gx.GXEMXD.lock()
  geosoft.gx.GXEMXD.un_lock()

  geosoft.gx.GXEMXD.get_name()

  geosoft.gx.GXEMXD.loaded()
  geosoft.gx.GXEMXD.load()
  geosoft.gx.GXEMXD.un_load_verify()
  geosoft.gx.GXEMXD.un_load()

  geosoft.gx.GXEMXD.create_virtual()
is_null() → bool

Check if the instance of geosoft.gx.GXEMXD is null (undefined)

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

A null (undefined) instance of geosoft.gx.GXEMXD

Returns:A null geosoft.gx.GXEMXD
Return type:geosoft.gx.GXEMXD

EMXD_PATH constants

Four forms
gx.EMXD_PATH_FULL = 0
d:\directory\file.gdb
gx.EMXD_PATH_DIR = 1
\directory\file.gdb
gx.EMXD_PATH_NAME_EXT = 2
file.gdb
gx.EMXD_PATH_NAME = 3
file

EMXD_WINDOW_STATE constants

Window State Options
gx.EMXD_WINDOW_RESTORE = 0
gx.EMXD_WINDOW_MINIMIZE = 1
gx.EMXD_WINDOW_MAXIMIZE = 2