SetView3D

globalmapper.SetView3D([GM_LayerHandle_t32] aLayerList, GM_DrawFlags_t32 aDrawFlags, GM_Rectangle_t aWorldBounds, GM_PixelRect_t aPixelRect, uint32 aReserved=0) GM_Error_t32[source]

Sets what to display in the currently open 3D view window. The 3D view window will be opened if necessary. 3DSetView must be called from the GUI thread.

Note

As of release 25.1, this Python function will always return GM_Error_NotImplemented and fail to complete. Stay tuned for future releases for a fix.

Parameters:
  • aLayerList ([GM_LayerHandle_t32]) – List of layers to drape on top of terrain or None for all

  • aDrawFlags (GM_DrawFlags_t32) – Flags controlling how the draw is performed

  • aWorldBounds (GM_Rectangle_t) – World bounds to convert from or None for last drawn

  • aPixelRect (GM_PixelRect_t) – Pixel bounds to convert from or None for last drawn

  • aReserved (uint32) – Reserved for future use, defaults to 0

Returns:

Error Code

Return type:

GM_Error_t32