GXVULCAN class¶
-
class
geosoft.gx.
GXVULCAN
¶ The VULCAN class is used for importing Maptek® Vulcan block and triangulation files.
-
static
block_model_to_voxel
((GXContext)ctx, (str)arg1, (GXIPJ)arg2, (str)arg3, (str)arg4, (bool)arg5, (str)arg6) → None:¶ Create a Geosoft voxel file from a Vulcan block model file.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Block model file
- arg2 (
geosoft.gx.GXIPJ
) – Block model projection - arg3 (str) – Variable to import
- arg4 (str) – Ouput voxel filename
- arg5 (bool) – Remove default values from input? bool
- arg6 (str) – Rock code file for string variable imports. Optional, unused for numeric variable imports.
Returns: Nothing
Return type: None
New in version 8.4.0.
- ctx (
-
static
get_block_model_string_variable_values
((GXContext)ctx, (str)arg1, (str)arg2, (GXLST)arg3) → None:¶ Query a block model for the values a string variable can assume.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Block model file
- arg2 (str) – Variable name
- arg3 (
geosoft.gx.GXLST
) – List used to return variable names
Returns: Nothing
Return type: None
New in version 8.4.0.
- ctx (
-
static
get_block_model_variable_info
((GXContext)ctx, (str)arg1, (int)arg2, (GXLST)arg3) → None:¶ Query a block model for the variable names and descriptions.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Block model file
- arg2 (int) – BLOCK_MODEL_VARIABLE_TYPE constants Which variables to return.
- arg3 (
geosoft.gx.GXLST
) – List used to return variable names/descriptions.
Returns: Nothing
Return type: None
New in version 8.4.0.
- ctx (
-
static
is_valid_block_model_file
((GXContext)ctx, (str)arg1) → int:¶ Check if the given file can be opened as a Vulcan block model file.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Block model file
Returns: 0 - No 1 - Yes
Return type: int
New in version 8.4.0.
- ctx (
-
static
is_valid_triangulation_file
((GXContext)ctx, (str)arg1) → int:¶ Check if the given file can be opened as a Vulcan triangulation file.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Triangulation file
Returns: 0 - No 1 - Yes
Return type: int
New in version 8.4.0.
- ctx (
-
static
triangulation_to_view
((GXContext)ctx, (str)arg1, (GXIPJ)arg2, (GXMVIEW)arg3, (str)arg4) → None:¶ Draw triangle edges in a Vulcan triangulation file to a 3D view in a map.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – Triangulation file
- arg2 (
geosoft.gx.GXIPJ
) – Triangulation projection - arg3 (
geosoft.gx.GXMVIEW
) – Destination MVIEW - arg4 (str) – New group name
Returns: Nothing
Return type: None
New in version 8.4.0.
- ctx (
-
static