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:
Returns:

DXFI Object

Return type:

geosoft.gx.GXDXFI

New in version 5.0.0.

static dxf2_ply((GXContext)ctx, (GXPLY)arg1, (GXDXFI)arg2) → None:
Convert a DXF file to a PLY object
Parameters:
Returns:

Nothing

Return type:

None

New in version 5.1.6.

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.

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:
Returns:

Nothing

Return type:

None

New in version 6.2.0.

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