Knowledge Base - Version 26.2
Recent Changes

Specific JS Examples

This page gives a list to some basic examples of functions part of the Orbit 3DM Viewer SDK.
Click the “Show Source” button below each example to see and copy the JS code between the <script> tag.

Examples marked with NEW are newly added since the last release.

  • Example: Open a viewer instance
  • Example: Autologin to 3DM Cloud as Guest
  • Example: Autologin to 3DM Cloud with Bentley IMS
  • Example: Autologin to Publisher Viewer using Credentials
  • Example: Autologin to Publisher Publication using Credentials
  • Example: Autologin to Publisher as Guest
  • Example: Autologin to Publisher with Access Provider
  • Example: Autologin to Publisher with Bentley IMS
  • Example: Using setFocusPosition
  • Example: Using addView
  • Example: Adding an Area Overlay Object
  • Example: Adding a point Overlay Object
  • addoverlayobjects_point_custom
  • overlay_symbol_names
  • Example: Using doAction
  • Example: Open a photo by identifier
  • addslice_simple
  • addslice_horizontal
  • addslice_vertical
  • getfootprints
  • getviewvector
  • setfocusposition_startup
  • resourcemetadata
  • close_session
  • toggle_fullscreen
  • getsnapshot
  • setfocusposition_limit_view
  • get_opened_photos
  • cross_domain
  • pick_position_mapobject
  • get_workspace_reference
  • keep_original_crs
  • workspace_state_get
  • workspace_state_set
  • tooltip
  • Example: Add camera metadata to map objects NEW
 
Last modified:: 2026/07/16 17:53