GXDXFI class¶
- class GXDXFI(handle=0)[source]¶
GXDXFI class.
The
GXDXFI
class is used for importing AutoCAD® dxf files into Geosoft maps.- classmethod create(name)[source]¶
Create
GXDXFI
.New in version 5.0.
License: Geosoft Open License
- classmethod dxf2_ply(ply, dxfi)[source]¶
Convert a DXF file to a
GXPLY
objectNew in version 5.1.6.
License: Geosoft Open License
- dxf2_view_ex(view, max_pen, pb_group, group, pb_one_color, color)[source]¶
Draw entities in a DXF file to a view in a map
- Parameters:
max_pen (int) – User defined number of pens to use (can be
iDUMMY
)pb_group (int) – TRUE to place entire DXF in one group
group (str) – Group name for one group (can be “” if above is FALSE)
pb_one_color (int) – TRUE to force one color
color (int) – MVIEW_COLOR constants (ignored if above is FALSE)
New in version 6.2.
License: Geosoft Open License
- dxf2_view_no_surfaces(view, max_pen, pb_group, group, pb_one_color, color)[source]¶
Draw entities in a DXF file to a view in a map, but for 3D views skips all surfaces
- Parameters:
max_pen (int) – User defined number of pens to use (can be
iDUMMY
)pb_group (int) – TRUE to place entire DXF in one group
group (str) – Group name for one group (can be “” if above is FALSE)
pb_one_color (int) – TRUE to force one color
color (int) – MVIEW_COLOR constants (ignored if above is FALSE)
New in version 9.7.1.
License: Geosoft Open License
- get_range(min_x, max_x, min_y, max_y, min_z, max_z)[source]¶
Get DXF data range
- Parameters:
New in version 6.2.
License: Geosoft Open License