GXPDF3D class

class GXPDF3D(handle=0)

GXPDF3D class.

The GXPDF3D class provides the ability to create 3D PDFs.

classmethod export_2d(input_map, output_file, create_layersin_pdf, geospatial_pdf, open_pdf)

Export a 2D map to a PDF file.

Parameters:
  • input_map (str) – Input map file
  • output_file (str) – Output PDF file
  • create_layersin_pdf (int) – Create layers in PDF
  • geospatial_pdf (int) – Geospatial PDF
  • open_pdf (int) – Open PDF after export

New in version 8.5.

License: Geosoft Open License

is_null()

Check if this is a null (undefined) instance

Returns:True if this is a null (undefined) instance, False otherwise.
Return type:bool
classmethod null()

A null (undefined) instance of GXPDF3D

Returns:A null GXPDF3D
Return type:GXPDF3D
classmethod render(mview, file_name, resolution, no_clipping)

Render a voxel, voxsurf and/or gensurf to pdf

Parameters:
  • mview (GXMVIEW) – GXMVIEW handle
  • file_name (str) – Filename
  • resolution (int) – Resolution
  • no_clipping (int) – Noclipping

New in version 6.4.2.

License: Geosoft Open License

classmethod render_to_page(mview, file_name, page_number, resolution, no_clip)

Render a voxel, voxsurf and/or gensurf to a specified page on a pdf

Parameters:
  • mview (GXMVIEW) – GXMVIEW handle
  • file_name (str) – Filename
  • page_number (int) – Page number
  • resolution (int) – Resolution
  • no_clip (int) – Noclipping

New in version 7.1.

License: Geosoft Open License