GXPDF3D class

class GXPDF3D(handle=0)[source]

GXPDF3D class.

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

__init__(handle=0)[source]

Initialize self. See help(type(self)) for accurate signature.

classmethod export_2d(input_map, output_file, create_layersin_pdf, geospatial_pdf, open_pdf)[source]

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()[source]

Check if this is a null (undefined) instance

Returns

True if this is a null (undefined) instance, False otherwise.

Return type

bool

classmethod null()[source]

A null (undefined) instance of GXPDF3D

Returns

A null GXPDF3D

Return type

GXPDF3D

classmethod render(mview, file_name, resolution, no_clipping)[source]

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)[source]

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