Source code for geosoft.gxapi.GXGMSYS

#  Copyright (c) 2024 Bentley Systems, Incorporated. All rights reserved.
#  Copyright (c) 2024 Bentley Systems, Incorporated. All rights reserved.
#  Copyright (c) 2024 Bentley Systems, Incorporated. All rights reserved.
### extends 'class_empty.py'
### block ClassImports
# NOTICE: Do not edit anything here, it is generated code
from . import gxapi_cy
from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref


### endblock ClassImports

### block Header
# NOTICE: The code generator will not replace the code in this block
### endblock Header

### block ClassImplementation
# NOTICE: Do not edit anything here, it is generated code
[docs] class GXGMSYS(gxapi_cy.WrapGMSYS): """ GXGMSYS class. The `GXGMSYS <geosoft.gxapi.GXGMSYS>` Methods """
[docs] def __init__(self, handle=0): super(GXGMSYS, self).__init__(GXContext._get_tls_geo(), handle)
[docs] @classmethod def null(cls): """ A null (undefined) instance of `GXGMSYS <geosoft.gxapi.GXGMSYS>` :returns: A null `GXGMSYS <geosoft.gxapi.GXGMSYS>` :rtype: GXGMSYS """ return GXGMSYS()
[docs] def is_null(self): """ Check if this is a null (undefined) instance :returns: True if this is a null (undefined) instance, False otherwise. :rtype: bool """ return self._internal_handle() == 0
# Miscellaneous
[docs] @classmethod def launch(cls, model): """ Launch `GXGMSYS <geosoft.gxapi.GXGMSYS>` with extension :param model: Model name :type model: str .. versionadded:: 5.0.1 **License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_ """ gxapi_cy.WrapGMSYS._launch(GXContext._get_tls_geo(), model.encode())
[docs] @classmethod def remove_legacy_gms(cls, model): """ Completely remove a legacy GSMSYS-2D GMS model file and folders :param model: Model name :type model: str .. versionadded:: 2023.2 **License:** `Geosoft Open License <https://geosoftgxdev.atlassian.net/wiki/spaces/GD/pages/2359406/License#License-open-lic>`_ """ gxapi_cy.WrapGMSYS._remove_legacy_gms(GXContext._get_tls_geo(), model.encode())
### endblock ClassImplementation ### block ClassExtend # NOTICE: The code generator will not replace the code in this block ### endblock ClassExtend ### block Footer # NOTICE: The code generator will not replace the code in this block ### endblock Footer