GXDXFI class¶
-
class
geosoft.gx.
GXDXFI
¶ The DXFI class is used for importing AutoCAD® dxf files into Geosoft maps.
-
static
create
((GXContext)ctx, (str)arg1) → GXDXFI:¶ Create DXFI.
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (str) – DXF file name
Returns: DXFI Object
Return type: New in version 5.0.0.
- ctx (
-
static
dxf2_ply
((GXContext)ctx, (GXPLY)arg1, (GXDXFI)arg2) → None:¶ Convert a DXF file to a PLY object
Parameters: - ctx (
geosoft.gx.GXContext
) – The GX execution context - arg1 (
geosoft.gx.GXPLY
) – PLY handle - arg2 (
geosoft.gx.GXDXFI
) – DXFI handle
Returns: Nothing
Return type: None
New in version 5.1.6.
- ctx (
-
dxf2_view_ex
((GXMVIEW)arg1, (int)arg2, (int)arg3, (str)arg4, (int)arg5, (int)arg6) → None:¶ Draw entities in a DXF file to a view in a map
Parameters: - arg1 (
geosoft.gx.GXMVIEW
) – MVIEW - arg2 (int) – User defined number of pens to use (can be iDUMMY)
- arg3 (int) – TRUE to place entire DXF in one group
- arg4 (str) – group name for one group (can be “” if above is FALSE)
- arg5 (int) – TRUE to force one colour
- arg6 (int) – MVIEW_COLOR constants (ignored if above is FALSE)
Returns: Nothing
Return type: None
New in version 6.2.0.
- arg1 (
-
get_range
((float_ref)arg1, (float_ref)arg2, (float_ref)arg3, (float_ref)arg4, (float_ref)arg5, (float_ref)arg6) → None:¶ Get DXF data range
Parameters: - arg1 (
geosoft.gx.float_ref
) – X min - arg2 (
geosoft.gx.float_ref
) – X max - arg3 (
geosoft.gx.float_ref
) – Y min - arg4 (
geosoft.gx.float_ref
) – Y max - arg5 (
geosoft.gx.float_ref
) – Z min - arg6 (
geosoft.gx.float_ref
) – Z max
Returns: Nothing
Return type: None
New in version 6.2.0.
- arg1 (
-
is_null
() → bool¶ Check if the instance of
geosoft.gx.GXDXFI is null (undefined)
Returns: True if this is a null instance of geosoft.gx.GXDXFI
, False otherwise.Return type: bool`
-
static
null
() → GXDXFI¶ A null (undefined) instance of
geosoft.gx.GXDXFI
Returns: A null geosoft.gx.GXDXFI
Return type: geosoft.gx.GXDXFI
-
static