GX3DV class¶
-
class
GX3DV
(handle=0)¶ GX3DV class.
TODO...
-
copy_to_map
(map, mview, min_x, min_y, max_x, max_y, force_overwrite, new_view, problem_files)¶ Copy the
GX3DV
‘s 3DGXMVIEW
into a map.Parameters: - map (GXMAP) –
GXMAP
Object - mview (str) – Desired new view name
- min_x (float) – X minimum in mm
- min_y (float) – Y minimun in mm
- max_x (float) – X maximum in mm
- max_y (float) – Y maximum in mm
- force_overwrite (int) – (0 - Produce errors for conflicting unpacked files, 1 - Force overwrites of conflicting unpacked files)
- new_view (str_ref) – New view name created
- problem_files (str_ref) – List of files that are problematic returned
New in version 8.0.
License: Geosoft Open License
Note: A
GX3DV
packs all source files. This functions creates an unpacked map and unpacks the packed files in the same way that UnPackFilesEx in theGXMAP
class does.- map (GXMAP) –
-
crc_3dv
(crc, file)¶ Generate an XML CRC of a
GX3DV
Parameters: - crc (int_ref) – CRC returned
- file (str) – Name of xml to generate (.zip added)
New in version 8.0.
License: Geosoft Open License
-
classmethod
create_new
(file_name, mview)¶ Create a new
GX3DV
.Parameters: Returns: GX3DV
ObjectReturn type: New in version 8.0.
License: Geosoft Open License
-
classmethod
from_map
(map)¶ Get an
GX3DV
fromGXMAP
handle (e.g. fromGXEMAP.lock
on open geosoft_3dv document in project)Parameters: map (GXMAP) – GXMAP
ObjectReturns: GX3DV
ObjectReturn type: GX3DV New in version 9.2.
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
open
(file_name)¶ Open an existing
GX3DV
.Parameters: file_name (str) – GX3DV
file nameReturns: GX3DV
ObjectReturn type: GX3DV New in version 8.0.
License: Geosoft Open License
-
open_mview
(mode)¶ -
Parameters: mode (int) – GEO3DV_OPEN constants Returns: GXMVIEW
, aborts on failureReturn type: GXMVIEW New in version 8.0.
License: Geosoft Open License
-