GX3DV class¶
-
class
geosoft.gxapi.
GX3DV
¶ TODO...
-
copy_to_map
((GXMAP)arg1, (str)arg2, (float)arg3, (float)arg4, (float)arg5, (float)arg6, (int)arg7, (str_ref)arg8, (str_ref)arg9) → None:¶ Copy the 3DV's 3D MVIEW into a map.
Parameters: - arg1 (
geosoft.gxapi.GXMAP
) – MAP Object - arg2 (str) – Desired new view name
- arg3 (float) – X minimum in mm
- arg4 (float) – Y minimun in mm
- arg5 (float) – X maximum in mm
- arg6 (float) – Y maximum in mm
- arg7 (int) – (0 - Produce errors for conflicting unpacked files, 1 - Force overwrites of conflicting unpacked files)
- arg8 (
geosoft.gxapi.str_ref
) – New view name created - arg9 (
geosoft.gxapi.str_ref
) – List of files that are problematic returned
Returns: nothing
Return type: None
New in version 8.0.0.
Note:
A 3DV packs all source files. This functions creates an unpacked map and unpacks the packed files in the same way that UnPackFilesEx in the MAP class does.
- arg1 (
-
crc_3dv
((int_ref)arg1, (str)arg2) → None:¶ Generate an XML CRC of a 3DV
Parameters: - arg1 (
geosoft.gxapi.int_ref
) – CRC returned - arg2 (str) – Name of xml to generate (.zip added)
Returns: Nothing
Return type: None
New in version 8.0.0.
- arg1 (
-
static
create_new
((str)arg1, (GXMVIEW)arg2) → GX3DV:¶ Create a new 3DV.
Parameters: - arg1 (str) – 3DV file name
- arg2 (
geosoft.gxapi.GXMVIEW
) – 3D MVIEW to create new 3DV from
Returns: 3DV Object
Return type: New in version 8.0.0.
-
static
from_map
((GXMAP)arg1) → GX3DV:¶ Get an 3DV from MAP handle (e.g. from
geosoft.gxapi.GXEMAP.lock()
on open geosoft_3dv document in project)Parameters: arg1 ( geosoft.gxapi.GXMAP
) – MAP ObjectReturns: 3DV Object Return type: geosoft.gxapi.GX3DV
New in version 9.2.0.
-
is_null
() → bool¶ Check if the instance of
geosoft.gxapi.GX3DV is null (undefined)
Returns: True if this is a null instance of geosoft.gxapi.GX3DV
, False otherwise.Return type: bool`
-
static
null
() → GX3DV¶ A null (undefined) instance of
geosoft.gxapi.GX3DV
Returns: A null geosoft.gxapi.GX3DV
Return type: geosoft.gxapi.GX3DV
-
static
open
((str)arg1) → GX3DV:¶ Open an existing 3DV.
Parameters: arg1 (str) – 3DV file name Returns: 3DV Object Return type: geosoft.gxapi.GX3DV
New in version 8.0.0.
-
open_mview
((int)arg1) → GXMVIEW:¶ Open 3DV's 3D MVIEW
Parameters: arg1 (int) – GEO3DV_OPEN constants Returns: MVIEW, aborts on failure Return type: geosoft.gxapi.GXMVIEW
New in version 8.0.0.
-